[INFO] cloning repository https://github.com/ashishk15678/nn
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ashishk15678/nn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashishk15678%2Fnn", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashishk15678%2Fnn'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1b13ad868cc4bc62aa5f752f9153daa5316b6d90
[INFO] checking ashishk15678/nn against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashishk15678%2Fnn" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ashishk15678/nn
[INFO] finished tweaking git repo https://github.com/ashishk15678/nn
[INFO] tweaked toml for git repo https://github.com/ashishk15678/nn written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ashishk15678/nn on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ashishk15678/nn 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 89824aa60746d5222f147170f5c31be17e76c099d98712cdd25091b261a756ed
[INFO] running `Command { std: "docker" "start" "-a" "89824aa60746d5222f147170f5c31be17e76c099d98712cdd25091b261a756ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "89824aa60746d5222f147170f5c31be17e76c099d98712cdd25091b261a756ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "89824aa60746d5222f147170f5c31be17e76c099d98712cdd25091b261a756ed", kill_on_drop: false }`
[INFO] [stdout] 89824aa60746d5222f147170f5c31be17e76c099d98712cdd25091b261a756ed
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b0fb77c28f4cdfdd15ade64f9778486613a8b29c0750dd72418e8324a987710a
[INFO] running `Command { std: "docker" "start" "-a" "b0fb77c28f4cdfdd15ade64f9778486613a8b29c0750dd72418e8324a987710a", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling libc v0.2.164
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling matrixmultiply v0.3.9
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.89
[INFO] [stderr]     Checking getrandom v0.2.15
[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 nn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::tokenizer::tokenize`
[INFO] [stdout]  --> src/test/tokenizer.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::tokenizer::tokenize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ScaledDotProductAttention` is never constructed
[INFO] [stdout]  --> src/attention/mod.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct ScaledDotProductAttention {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `compute_attention`, `scaled_dot_product`, `softmax`, and `apply_attention` are never used
[INFO] [stdout]   --> src/attention/mod.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl ScaledDotProductAttention {
[INFO] [stdout]    | ------------------------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub fn new(d_k: f64) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn compute_attention(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     fn scaled_dot_product(&self, query: &Vec<Vec<f64>>, key: &Vec<Vec<f64>>) -> Vec<Vec<f64>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 |     fn softmax(&self, matrix: &Vec<Vec<f64>>) -> Vec<Vec<f64>> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 97 |     fn apply_attention(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]  --> src/node/mod.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Node {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/node/mod.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Node {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new(data: f32, weight: f32) -> Node {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn set_next(&mut self, next: Node) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn activate(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn deactivate(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn calculate_activation(&self) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn is_active(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn get_activation(&self) -> Option<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Token` is never constructed
[INFO] [stdout]  --> src/tokenizer/mod.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Token {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `tokenize` is never used
[INFO] [stdout]  --> src/tokenizer/mod.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn tokenize(input: &str) -> Vec<Token> {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ScaledDotProductAttention` is never constructed
[INFO] [stdout]  --> src/attention/mod.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct ScaledDotProductAttention {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `compute_attention`, `scaled_dot_product`, `softmax`, and `apply_attention` are never used
[INFO] [stdout]   --> src/attention/mod.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl ScaledDotProductAttention {
[INFO] [stdout]    | ------------------------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub fn new(d_k: f64) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn compute_attention(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     fn scaled_dot_product(&self, query: &Vec<Vec<f64>>, key: &Vec<Vec<f64>>) -> Vec<Vec<f64>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 |     fn softmax(&self, matrix: &Vec<Vec<f64>>) -> Vec<Vec<f64>> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 97 |     fn apply_attention(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `next` is never read
[INFO] [stdout]  --> src/node/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Node {
[INFO] [stdout]   |            ---- field in this struct
[INFO] [stdout] 2 |     pub data: f32,
[INFO] [stdout] 3 |     pub next: Option<Box<Node>>,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_next`, `activate`, `deactivate`, `calculate_activation`, `is_active`, and `get_activation` are never used
[INFO] [stdout]   --> src/node/mod.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Node {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn set_next(&mut self, next: Node) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn activate(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn deactivate(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn calculate_activation(&self) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn is_active(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn get_activation(&self) -> Option<i32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MIN_OCCURRENCES` is never used
[INFO] [stdout]   --> src/tokenizer/mod.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 |     const MIN_OCCURRENCES: usize = 2;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `Node_new` should have a snake case name
[INFO] [stdout]   --> src/test/mod.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn Node_new() {
[INFO] [stdout]    |    ^^^^^^^^ help: convert the identifier to snake case: `node_new`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::*`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::*;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokenizer::tokenize`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokenizer::tokenize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::*`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::*;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokenizer::tokenize`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokenizer::tokenize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Token` is never constructed
[INFO] [stdout]  --> src/tokenizer/mod.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Token {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `tokenize` is never used
[INFO] [stdout]  --> src/tokenizer/mod.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn tokenize(input: &str) -> Vec<Token> {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Token` is never constructed
[INFO] [stdout]  --> src/tokenizer/mod.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Token {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `tokenize` is never used
[INFO] [stdout]  --> src/tokenizer/mod.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn tokenize(input: &str) -> Vec<Token> {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.27s
[INFO] running `Command { std: "docker" "inspect" "b0fb77c28f4cdfdd15ade64f9778486613a8b29c0750dd72418e8324a987710a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b0fb77c28f4cdfdd15ade64f9778486613a8b29c0750dd72418e8324a987710a", kill_on_drop: false }`
[INFO] [stdout] b0fb77c28f4cdfdd15ade64f9778486613a8b29c0750dd72418e8324a987710a
