[INFO] cloning repository https://github.com/JoeruCodes/ic-grad
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JoeruCodes/ic-grad" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoeruCodes%2Fic-grad", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoeruCodes%2Fic-grad'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a9bfa15d051ce7340edba5326f84cc69247b13d2
[INFO] checking JoeruCodes/ic-grad against try#a3dffdb3a32d0dedc198f9de7d43173f3eb6727b for pr-136303
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoeruCodes%2Fic-grad" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/JoeruCodes/ic-grad on toolchain a3dffdb3a32d0dedc198f9de7d43173f3eb6727b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/JoeruCodes/ic-grad
[INFO] finished tweaking git repo https://github.com/JoeruCodes/ic-grad
[INFO] tweaked toml for git repo https://github.com/JoeruCodes/ic-grad written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/JoeruCodes/ic-grad 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" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3c218aeb2f98b8cb23cec778680751f889a89a6c612611ee4ad373b5092c792e
[INFO] running `Command { std: "docker" "start" "-a" "3c218aeb2f98b8cb23cec778680751f889a89a6c612611ee4ad373b5092c792e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3c218aeb2f98b8cb23cec778680751f889a89a6c612611ee4ad373b5092c792e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c218aeb2f98b8cb23cec778680751f889a89a6c612611ee4ad373b5092c792e", kill_on_drop: false }`
[INFO] [stdout] 3c218aeb2f98b8cb23cec778680751f889a89a6c612611ee4ad373b5092c792e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9b33a72f5d2764a1f0fbf4b94a80df0c3ee5e20a989c2422d4131156ebc0ed03
[INFO] running `Command { std: "docker" "start" "-a" "9b33a72f5d2764a1f0fbf4b94a80df0c3ee5e20a989c2422d4131156ebc0ed03", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling matrixmultiply v0.3.9
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]    Compiling syn v2.0.77
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking ndarray v0.16.1
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking rand_distr v0.4.3
[INFO] [stderr]     Checking ndarray-rand v0.15.0
[INFO] [stderr]     Checking ic-grad v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `any::TypeId` and `fmt::Display`
[INFO] [stdout]  --> src/helpers.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{any::TypeId, collections::HashSet, env::var, fmt::Display, hash::Hash};
[INFO] [stdout]   |           ^^^^^^^^^^^                                  ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Num`
[INFO] [stdout]  --> src/helpers.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use num_traits::{Num, One, PrimInt, Zero};
[INFO] [stdout]   |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DataMut`, `RemoveAxis`, and `Slice`
[INFO] [stdout]  --> src/lazy.rs:3:35
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Array, ArrayBase, Axis, Data, DataMut, DataOwned, Dimension, IntoDimension, IxDyn, OwnedRepr, RawDataClone, RemoveAxis, Slice, SliceI...
[INFO] [stdout]   |                                   ^^^^^^^                                                                       ^^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::s`
[INFO] [stdout]  --> src/lazy.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use ndarray::s;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Device`
[INFO] [stdout]  --> src/lazy.rs:9:54
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::{helpers::dtypes::DType, ops::{BinaryOps, Device, LoadOps, Ops, ReduceOps, TernaryOps, UnaryOps}};
[INFO] [stdout]   |                                                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Data`, `IntoDimension`, and `RawDataClone`
[INFO] [stdout]  --> src/tensor.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray::{Array, Data, Dim, IntoDimension, IxDyn, IxDynImpl, OwnedRepr, RawDataClone};
[INFO] [stdout]   |                      ^^^^       ^^^^^^^^^^^^^                               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NumCast`
[INFO] [stdout]  --> src/tensor.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | use num_traits::{Float, NumCast, Zero};
[INFO] [stdout]   |                         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/tensor.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::PartialEq`
[INFO] [stdout]   --> src/tensor.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::cmp::PartialEq;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/tensor.rs:14:23
[INFO] [stdout]    |
[INFO] [stdout] 14 |     helpers::dtypes::{self, DType, FLOAT32}, 
[INFO] [stdout]    |                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `any::TypeId` and `fmt::Display`
[INFO] [stdout]  --> src/helpers.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{any::TypeId, collections::HashSet, env::var, fmt::Display, hash::Hash};
[INFO] [stdout]   |           ^^^^^^^^^^^                                  ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Num`
[INFO] [stdout]  --> src/helpers.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use num_traits::{Num, One, PrimInt, Zero};
[INFO] [stdout]   |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DataMut`, `RemoveAxis`, and `Slice`
[INFO] [stdout]  --> src/lazy.rs:3:35
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Array, ArrayBase, Axis, Data, DataMut, DataOwned, Dimension, IntoDimension, IxDyn, OwnedRepr, RawDataClone, RemoveAxis, Slice, SliceI...
[INFO] [stdout]   |                                   ^^^^^^^                                                                       ^^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::s`
[INFO] [stdout]  --> src/lazy.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use ndarray::s;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Device`
[INFO] [stdout]  --> src/lazy.rs:9:54
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::{helpers::dtypes::DType, ops::{BinaryOps, Device, LoadOps, Ops, ReduceOps, TernaryOps, UnaryOps}};
[INFO] [stdout]   |                                                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Data`, `IntoDimension`, and `RawDataClone`
[INFO] [stdout]  --> src/tensor.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray::{Array, Data, Dim, IntoDimension, IxDyn, IxDynImpl, OwnedRepr, RawDataClone};
[INFO] [stdout]   |                      ^^^^       ^^^^^^^^^^^^^                               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NumCast`
[INFO] [stdout]  --> src/tensor.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | use num_traits::{Float, NumCast, Zero};
[INFO] [stdout]   |                         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/tensor.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::PartialEq`
[INFO] [stdout]   --> src/tensor.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::cmp::PartialEq;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/tensor.rs:14:23
[INFO] [stdout]    |
[INFO] [stdout] 14 |     helpers::dtypes::{self, DType, FLOAT32}, 
[INFO] [stdout]    |                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `cast` found for struct `Tensor` in the current scope
[INFO] [stdout]    --> src/tensor.rs:247:30
[INFO] [stdout]     |
[INFO] [stdout] 20  | pub struct Tensor<'a, E>
[INFO] [stdout]     | ------------------------ method `cast` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 247 |         return self.detach().cast(DType::<'a>::from_ndarray())
[INFO] [stdout]     |                              ^^^^ method not found in `Tensor<'_, E>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DataOwned`
[INFO] [stdout]  --> src/lazy.rs:3:44
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Array, ArrayBase, Axis, Data, DataMut, DataOwned, Dimension, IntoDimension, IxDyn, OwnedRepr, RawDataClone, RemoveAxis, Slice, SliceI...
[INFO] [stdout]   |                                            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `cast` found for struct `Tensor` in the current scope
[INFO] [stdout]    --> src/tensor.rs:247:30
[INFO] [stdout]     |
[INFO] [stdout] 20  | pub struct Tensor<'a, E>
[INFO] [stdout]     | ------------------------ method `cast` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 247 |         return self.detach().cast(DType::<'a>::from_ndarray())
[INFO] [stdout]     |                              ^^^^ method not found in `Tensor<'_, E>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DataOwned`
[INFO] [stdout]  --> src/lazy.rs:3:44
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Array, ArrayBase, Axis, Data, DataMut, DataOwned, Dimension, IntoDimension, IxDyn, OwnedRepr, RawDataClone, RemoveAxis, Slice, SliceI...
[INFO] [stdout]   |                                            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `device`
[INFO] [stdout]   --> src/ops.rs:70:25
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub fn canonicalize(device: Option<&'a str>) -> &'a str{return "CPU"}
[INFO] [stdout]    |                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `device`
[INFO] [stdout]   --> src/ops.rs:70:25
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub fn canonicalize(device: Option<&'a str>) -> &'a str{return "CPU"}
[INFO] [stdout]    |                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lst`
[INFO] [stdout]    --> src/tensor.rs:185:22
[INFO] [stdout]     |
[INFO] [stdout] 185 |     pub fn corealize(lst: Vec<Tensor<'a, E>>){
[INFO] [stdout]     |                      ^^^ help: if this is intentional, prefix it with an underscore: `_lst`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lst`
[INFO] [stdout]    --> src/tensor.rs:185:22
[INFO] [stdout]     |
[INFO] [stdout] 185 |     pub fn corealize(lst: Vec<Tensor<'a, E>>){
[INFO] [stdout]     |                      ^^^ help: if this is intentional, prefix it with an underscore: `_lst`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ic-grad` (lib) due to 1 previous error; 13 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `ic-grad` (lib test) due to 1 previous error; 13 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "9b33a72f5d2764a1f0fbf4b94a80df0c3ee5e20a989c2422d4131156ebc0ed03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b33a72f5d2764a1f0fbf4b94a80df0c3ee5e20a989c2422d4131156ebc0ed03", kill_on_drop: false }`
[INFO] [stdout] 9b33a72f5d2764a1f0fbf4b94a80df0c3ee5e20a989c2422d4131156ebc0ed03
