[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#b32fc44666c052e7cf07ab471bfb6f9ec571902f for pr-138676 [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 b32fc44666c052e7cf07ab471bfb6f9ec571902f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "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" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "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 JoeruCodes/ic-grad against try#b32fc44666c052e7cf07ab471bfb6f9ec571902f for pr-138676 [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 b32fc44666c052e7cf07ab471bfb6f9ec571902f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "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" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded portable-atomic-util v0.2.2 [INFO] [stderr] Downloaded ndarray v0.16.1 [INFO] [stderr] Downloaded ndarray-rand v0.15.0 [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9b4b3514648126c43081f8ffe5ede01755f9f631b8a2bee637158b87dfc5c46 [INFO] running `Command { std: "docker" "start" "-a" "f9b4b3514648126c43081f8ffe5ede01755f9f631b8a2bee637158b87dfc5c46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9b4b3514648126c43081f8ffe5ede01755f9f631b8a2bee637158b87dfc5c46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9b4b3514648126c43081f8ffe5ede01755f9f631b8a2bee637158b87dfc5c46", kill_on_drop: false }` [INFO] [stdout] f9b4b3514648126c43081f8ffe5ede01755f9f631b8a2bee637158b87dfc5c46 [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fa74fd667064ade206ad5cffe44ee076435181a7e599b42e19ddda9c2db47d8 [INFO] running `Command { std: "docker" "start" "-a" "3fa74fd667064ade206ad5cffe44ee076435181a7e599b42e19ddda9c2db47d8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [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] 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 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>){ [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>){ [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" "3fa74fd667064ade206ad5cffe44ee076435181a7e599b42e19ddda9c2db47d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fa74fd667064ade206ad5cffe44ee076435181a7e599b42e19ddda9c2db47d8", kill_on_drop: false }` [INFO] [stdout] 3fa74fd667064ade206ad5cffe44ee076435181a7e599b42e19ddda9c2db47d8