[INFO] cloning repository https://github.com/zfyre/rusty-torch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zfyre/rusty-torch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/pre-merge-commit.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch/hooks/pre-merge-commit.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/zfyre/rusty-torch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zfyre/rusty-torch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/zfyre/rusty-torch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zfyre/rusty-torch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/zfyre/rusty-torch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zfyre/rusty-torch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/zfyre/rusty-torch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zfyre/rusty-torch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/zfyre/rusty-torch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zfyre/rusty-torch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/zfyre/rusty-torch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zfyre/rusty-torch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/zfyre/rusty-torch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zfyre/rusty-torch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/zfyre/rusty-torch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zfyre/rusty-torch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/zfyre/rusty-torch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zfyre/rusty-torch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/zfyre/rusty-torch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zfyre/rusty-torch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 96fd41e0f80fd020ff8741e64c7728b287e9d174 [INFO] checking zfyre/rusty-torch against master#092a284ba0421695f2032c947765429fd7095796 for pr-139763 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzfyre%2Frusty-torch" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zfyre/rusty-torch on toolchain 092a284ba0421695f2032c947765429fd7095796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zfyre/rusty-torch [INFO] finished tweaking git repo https://github.com/zfyre/rusty-torch [INFO] tweaked toml for git repo https://github.com/zfyre/rusty-torch written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zfyre/rusty-torch 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" "+092a284ba0421695f2032c947765429fd7095796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92c6edf751e852a8db261df520ce709191bff172054aca569294d324a1b478fa [INFO] running `Command { std: "docker" "start" "-a" "92c6edf751e852a8db261df520ce709191bff172054aca569294d324a1b478fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92c6edf751e852a8db261df520ce709191bff172054aca569294d324a1b478fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92c6edf751e852a8db261df520ce709191bff172054aca569294d324a1b478fa", kill_on_drop: false }` [INFO] [stdout] 92c6edf751e852a8db261df520ce709191bff172054aca569294d324a1b478fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f964cf9b65de0a6083be11b856a8c9ec72c4c0f2faeab992d2b71ea56a7f2686 [INFO] running `Command { std: "docker" "start" "-a" "f964cf9b65de0a6083be11b856a8c9ec72c4c0f2faeab992d2b71ea56a7f2686", kill_on_drop: false }` [INFO] [stderr] Checking rustytorch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated type `dtype` should have an upper camel case name [INFO] [stdout] --> src/backend/mod.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | type dtype; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Dtype` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `clone` and `iter` [INFO] [stdout] --> src/backend/mod.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | use std::{clone, iter, rc::Rc}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated type `dtype` should have an upper camel case name [INFO] [stdout] --> src/backend/mod.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | type dtype; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Dtype` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `clone` and `iter` [INFO] [stdout] --> src/backend/mod.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | use std::{clone, iter, rc::Rc}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim` [INFO] [stdout] --> src/backend/mod.rs:177:23 [INFO] [stdout] | [INFO] [stdout] 177 | fn abs(&self, dim: Option<&[usize]>) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/backend/mod.rs:181:23 [INFO] [stdout] | [INFO] [stdout] 181 | fn add(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/backend/mod.rs:184:23 [INFO] [stdout] | [INFO] [stdout] 184 | fn sub(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/backend/mod.rs:187:23 [INFO] [stdout] | [INFO] [stdout] 187 | fn mul(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/backend/mod.rs:190:23 [INFO] [stdout] | [INFO] [stdout] 190 | fn div(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim` [INFO] [stdout] --> src/backend/mod.rs:194:24 [INFO] [stdout] | [INFO] [stdout] 194 | fn crop(&self, dim : &[usize]) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> src/backend/mod.rs:197:26 [INFO] [stdout] | [INFO] [stdout] 197 | fn expand(&self, shape: &[usize]) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim` [INFO] [stdout] --> src/backend/mod.rs:200:23 [INFO] [stdout] | [INFO] [stdout] 200 | fn max(&self, dim: &[usize]) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim` [INFO] [stdout] --> src/backend/mod.rs:203:23 [INFO] [stdout] | [INFO] [stdout] 203 | fn min(&self, dim: &[usize]) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/backend/mod.rs:206:23 [INFO] [stdout] | [INFO] [stdout] 206 | fn pow(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim` [INFO] [stdout] --> src/backend/mod.rs:209:23 [INFO] [stdout] | [INFO] [stdout] 209 | fn pad(&self, dim : &[usize]) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim` [INFO] [stdout] --> src/backend/mod.rs:215:27 [INFO] [stdout] | [INFO] [stdout] 215 | fn permute(&self, dim: &[usize]) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/backend/mod.rs:218:30 [INFO] [stdout] | [INFO] [stdout] 218 | fn apply_cond(&self, f: impl Fn(Self::dtype) -> Self::dtype) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/backend/mod.rs:221:22 [INFO] [stdout] | [INFO] [stdout] 221 | fn eq(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim` [INFO] [stdout] --> src/backend/mod.rs:224:27 [INFO] [stdout] | [INFO] [stdout] 224 | fn reshape(&self, dim: &[usize]) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim` [INFO] [stdout] --> src/backend/mod.rs:226:24 [INFO] [stdout] | [INFO] [stdout] 226 | }fn sum(&self, dim: &[usize]) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim` [INFO] [stdout] --> src/backend/mod.rs:229:29 [INFO] [stdout] | [INFO] [stdout] 229 | fn unsqueeze(&self, dim: &[usize]) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim` [INFO] [stdout] --> src/backend/mod.rs:177:23 [INFO] [stdout] | [INFO] [stdout] 177 | fn abs(&self, dim: Option<&[usize]>) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `iterate_display` is never used [INFO] [stdout] --> src/main.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn iterate_display (itr: T) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/backend/mod.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait TensorBackend{ [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 44 | fn exp(&self) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 45 | fn log(&self) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 46 | fn abs(&self, dim: Option<&[usize]>) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn add(&self, other: &Self) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 50 | fn sub(&self, other: &Self) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 51 | fn mul(&self, other: &Self) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 52 | fn div(&self, other: &Self) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | fn pow(&self, other: &Self) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 54 | fn eq(&self, other: &Self) -> Self; [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn apply_cond(&self, f: impl Fn(Self::dtype) -> Self::dtype) -> Self; // yohoo static dispatch over a function [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn sum(&self, dim: &[usize]) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 61 | fn max(&self, dim: &[usize]) -> Self; // we cannot use dim as an iterator beacuse somethings like tuples have not 'em implemented [INFO] [stdout] | ^^^ [INFO] [stdout] 62 | fn min(&self, dim: &[usize]) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn permute(&self, dim: &[usize]) -> Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 66 | fn reshape(&self, dim: &[usize]) -> Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 67 | fn expand(&self, shape: &[usize]) -> Self; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 68 | fn unsqueeze(&self, dim: &[usize]) -> Self; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn pad(&self, dim : &[usize]) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 72 | fn crop(&self, dim : &[usize]) -> Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn ravel(&self) -> Vec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn to_Cpu(&self) -> CpuTensorBackend where Self::dtype: DataType; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> src/backend/mod.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub trait Shape { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 359 | fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Cpu_backend` should have a snake case name [INFO] [stdout] --> src/backend/mod.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub mod Cpu_backend { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `cpu_backend` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `to_Cpu` should have a snake case name [INFO] [stdout] --> src/backend/mod.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | fn to_Cpu(&self) -> CpuTensorBackend where Self::dtype: DataType; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `to_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/backend/mod.rs:181:23 [INFO] [stdout] | [INFO] [stdout] 181 | fn add(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/backend/mod.rs:184:23 [INFO] [stdout] | [INFO] [stdout] 184 | fn sub(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/backend/mod.rs:187:23 [INFO] [stdout] | [INFO] [stdout] 187 | fn mul(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/backend/mod.rs:190:23 [INFO] [stdout] | [INFO] [stdout] 190 | fn div(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim` [INFO] [stdout] --> src/backend/mod.rs:194:24 [INFO] [stdout] | [INFO] [stdout] 194 | fn crop(&self, dim : &[usize]) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> src/backend/mod.rs:197:26 [INFO] [stdout] | [INFO] [stdout] 197 | fn expand(&self, shape: &[usize]) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim` [INFO] [stdout] --> src/backend/mod.rs:200:23 [INFO] [stdout] | [INFO] [stdout] 200 | fn max(&self, dim: &[usize]) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim` [INFO] [stdout] --> src/backend/mod.rs:203:23 [INFO] [stdout] | [INFO] [stdout] 203 | fn min(&self, dim: &[usize]) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/backend/mod.rs:206:23 [INFO] [stdout] | [INFO] [stdout] 206 | fn pow(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim` [INFO] [stdout] --> src/backend/mod.rs:209:23 [INFO] [stdout] | [INFO] [stdout] 209 | fn pad(&self, dim : &[usize]) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim` [INFO] [stdout] --> src/backend/mod.rs:215:27 [INFO] [stdout] | [INFO] [stdout] 215 | fn permute(&self, dim: &[usize]) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/backend/mod.rs:218:30 [INFO] [stdout] | [INFO] [stdout] 218 | fn apply_cond(&self, f: impl Fn(Self::dtype) -> Self::dtype) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/backend/mod.rs:221:22 [INFO] [stdout] | [INFO] [stdout] 221 | fn eq(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim` [INFO] [stdout] --> src/backend/mod.rs:224:27 [INFO] [stdout] | [INFO] [stdout] 224 | fn reshape(&self, dim: &[usize]) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim` [INFO] [stdout] --> src/backend/mod.rs:226:24 [INFO] [stdout] | [INFO] [stdout] 226 | }fn sum(&self, dim: &[usize]) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim` [INFO] [stdout] --> src/backend/mod.rs:229:29 [INFO] [stdout] | [INFO] [stdout] 229 | fn unsqueeze(&self, dim: &[usize]) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let a = (1, 2, 3); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/backend/mod.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait TensorBackend{ [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 44 | fn exp(&self) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 45 | fn log(&self) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 46 | fn abs(&self, dim: Option<&[usize]>) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn add(&self, other: &Self) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 50 | fn sub(&self, other: &Self) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 51 | fn mul(&self, other: &Self) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 52 | fn div(&self, other: &Self) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | fn pow(&self, other: &Self) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 54 | fn eq(&self, other: &Self) -> Self; [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn apply_cond(&self, f: impl Fn(Self::dtype) -> Self::dtype) -> Self; // yohoo static dispatch over a function [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn sum(&self, dim: &[usize]) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 61 | fn max(&self, dim: &[usize]) -> Self; // we cannot use dim as an iterator beacuse somethings like tuples have not 'em implemented [INFO] [stdout] | ^^^ [INFO] [stdout] 62 | fn min(&self, dim: &[usize]) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn permute(&self, dim: &[usize]) -> Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 66 | fn reshape(&self, dim: &[usize]) -> Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 67 | fn expand(&self, shape: &[usize]) -> Self; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 68 | fn unsqueeze(&self, dim: &[usize]) -> Self; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn pad(&self, dim : &[usize]) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 72 | fn crop(&self, dim : &[usize]) -> Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn ravel(&self) -> Vec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn to_Cpu(&self) -> CpuTensorBackend where Self::dtype: DataType; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> src/backend/mod.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub trait Shape { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 359 | fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Cpu_backend` should have a snake case name [INFO] [stdout] --> src/backend/mod.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub mod Cpu_backend { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `cpu_backend` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `to_Cpu` should have a snake case name [INFO] [stdout] --> src/backend/mod.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | fn to_Cpu(&self) -> CpuTensorBackend where Self::dtype: DataType; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `to_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] running `Command { std: "docker" "inspect" "f964cf9b65de0a6083be11b856a8c9ec72c4c0f2faeab992d2b71ea56a7f2686", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f964cf9b65de0a6083be11b856a8c9ec72c4c0f2faeab992d2b71ea56a7f2686", kill_on_drop: false }` [INFO] [stdout] f964cf9b65de0a6083be11b856a8c9ec72c4c0f2faeab992d2b71ea56a7f2686