[INFO] cloning repository https://github.com/had2020/RC-ML-RS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/had2020/RC-ML-RS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhad2020%2FRC-ML-RS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhad2020%2FRC-ML-RS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] deaba3cde610600047663621bcd99b08caa44cc0 [INFO] checking had2020/RC-ML-RS against master#f7b43542838f0a4a6cfdb17fbeadf45002042a77 for pr-138499 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhad2020%2FRC-ML-RS" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/had2020/RC-ML-RS on toolchain f7b43542838f0a4a6cfdb17fbeadf45002042a77 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f7b43542838f0a4a6cfdb17fbeadf45002042a77" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/had2020/RC-ML-RS [INFO] finished tweaking git repo https://github.com/had2020/RC-ML-RS [INFO] tweaked toml for git repo https://github.com/had2020/RC-ML-RS written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/had2020/RC-ML-RS already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f7b43542838f0a4a6cfdb17fbeadf45002042a77" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+f7b43542838f0a4a6cfdb17fbeadf45002042a77" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a287b1a6662bda23faac0f243f8c7af46400bd4e92d0fce1b072dd5840bd693c [INFO] running `Command { std: "docker" "start" "-a" "a287b1a6662bda23faac0f243f8c7af46400bd4e92d0fce1b072dd5840bd693c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a287b1a6662bda23faac0f243f8c7af46400bd4e92d0fce1b072dd5840bd693c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a287b1a6662bda23faac0f243f8c7af46400bd4e92d0fce1b072dd5840bd693c", kill_on_drop: false }` [INFO] [stdout] a287b1a6662bda23faac0f243f8c7af46400bd4e92d0fce1b072dd5840bd693c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+f7b43542838f0a4a6cfdb17fbeadf45002042a77" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0f249b508a7cf000999e4a43af489051bced4fbde4cc4b86295225f1e9010aa [INFO] running `Command { std: "docker" "start" "-a" "a0f249b508a7cf000999e4a43af489051bced4fbde4cc4b86295225f1e9010aa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling zerocopy v0.8.20 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking rand_core v0.9.2 [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.9.0 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking rcmlrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::f32::consts::E` [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::f32::consts::E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `string` [INFO] [stdout] --> src/lib.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | use std::{fs, string}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::FpCategory` [INFO] [stdout] --> src/lib.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | use std::num::FpCategory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::fs::MetadataExt` [INFO] [stdout] --> src/lib.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | use std::os::unix::fs::MetadataExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SubAssign` [INFO] [stdout] --> src/lib.rs:480:52 [INFO] [stdout] | [INFO] [stdout] 480 | use std::ops::{Add, AddAssign, Div, Mul, Neg, Sub, SubAssign}; // for rust's operations to work on RamTensors [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::E` [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::f32::consts::E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `string` [INFO] [stdout] --> src/lib.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | use std::{fs, string}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::FpCategory` [INFO] [stdout] --> src/lib.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | use std::num::FpCategory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::fs::MetadataExt` [INFO] [stdout] --> src/lib.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | use std::os::unix::fs::MetadataExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SubAssign` [INFO] [stdout] --> src/lib.rs:480:52 [INFO] [stdout] | [INFO] [stdout] 480 | use std::ops::{Add, AddAssign, Div, Mul, Neg, Sub, SubAssign}; // for rust's operations to work on RamTensors [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `index_string_value` is never read [INFO] [stdout] --> src/lib.rs:224:21 [INFO] [stdout] | [INFO] [stdout] 224 | index_string_value = "".to_string(); // TODO multiply and temp [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `index_f64_value` is never read [INFO] [stdout] --> src/lib.rs:238:21 [INFO] [stdout] | [INFO] [stdout] 238 | index_f64_value = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/lib.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | for layer in 0..layer_length { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/lib.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 322 | for row in 0..shape.y { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `index_string_value` is never read [INFO] [stdout] --> src/lib.rs:224:21 [INFO] [stdout] | [INFO] [stdout] 224 | index_string_value = "".to_string(); // TODO multiply and temp [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `index_f64_value` is never read [INFO] [stdout] --> src/lib.rs:238:21 [INFO] [stdout] | [INFO] [stdout] 238 | index_f64_value = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/lib.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | for layer in 0..layer_length { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/lib.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 322 | for row in 0..shape.y { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bias` is never read [INFO] [stdout] --> src/lib.rs:400:17 [INFO] [stdout] | [INFO] [stdout] 400 | let mut bias: RamTensor = RamTensor::new_layer_zeros(Shape { x: 3, y: 3 }, 2); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/lib.rs:812:13 [INFO] [stdout] | [INFO] [stdout] 812 | for row in 0..shape.x { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/lib.rs:814:17 [INFO] [stdout] | [INFO] [stdout] 814 | for col in 0..shape.y { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matrice` [INFO] [stdout] --> src/lib.rs:821:13 [INFO] [stdout] | [INFO] [stdout] 821 | for matrice in 0..layer_length { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/lib.rs:841:13 [INFO] [stdout] | [INFO] [stdout] 841 | for row in 0..shape.x { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/lib.rs:843:17 [INFO] [stdout] | [INFO] [stdout] 843 | for col in 0..shape.y { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matrice` [INFO] [stdout] --> src/lib.rs:849:13 [INFO] [stdout] | [INFO] [stdout] 849 | for matrice in 0..layer_length { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/lib.rs:871:33 [INFO] [stdout] | [INFO] [stdout] 871 | for (row_index, row) in matrix.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/lib.rs:812:13 [INFO] [stdout] | [INFO] [stdout] 812 | for row in 0..shape.x { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/lib.rs:814:17 [INFO] [stdout] | [INFO] [stdout] 814 | for col in 0..shape.y { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matrice` [INFO] [stdout] --> src/lib.rs:821:13 [INFO] [stdout] | [INFO] [stdout] 821 | for matrice in 0..layer_length { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/lib.rs:841:13 [INFO] [stdout] | [INFO] [stdout] 841 | for row in 0..shape.x { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/lib.rs:843:17 [INFO] [stdout] | [INFO] [stdout] 843 | for col in 0..shape.y { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matrice` [INFO] [stdout] --> src/lib.rs:849:13 [INFO] [stdout] | [INFO] [stdout] 849 | for matrice in 0..layer_length { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/lib.rs:871:33 [INFO] [stdout] | [INFO] [stdout] 871 | for (row_index, row) in matrix.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_data` [INFO] [stdout] --> src/lib.rs:955:17 [INFO] [stdout] | [INFO] [stdout] 955 | let mut new_data: Vec>> = vec![]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:955:13 [INFO] [stdout] | [INFO] [stdout] 955 | let mut new_data: Vec>> = vec![]; [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: unused variable: `new_data` [INFO] [stdout] --> src/lib.rs:955:17 [INFO] [stdout] | [INFO] [stdout] 955 | let mut new_data: Vec>> = vec![]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:955:13 [INFO] [stdout] | [INFO] [stdout] 955 | let mut new_data: Vec>> = vec![]; [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: unused variable: `col` [INFO] [stdout] --> src/lib.rs:1155:25 [INFO] [stdout] | [INFO] [stdout] 1155 | for col in 0..to_shape.y { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/lib.rs:1155:25 [INFO] [stdout] | [INFO] [stdout] 1155 | for col in 0..to_shape.y { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.75s [INFO] running `Command { std: "docker" "inspect" "a0f249b508a7cf000999e4a43af489051bced4fbde4cc4b86295225f1e9010aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0f249b508a7cf000999e4a43af489051bced4fbde4cc4b86295225f1e9010aa", kill_on_drop: false }` [INFO] [stdout] a0f249b508a7cf000999e4a43af489051bced4fbde4cc4b86295225f1e9010aa