[INFO] cloning repository https://github.com/Corallus-Caninus/Rot_Net [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Corallus-Caninus/Rot_Net" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCorallus-Caninus%2FRot_Net", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCorallus-Caninus%2FRot_Net'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e912106f440f455cdee742a30bd27af1f79cd51 [INFO] checking Corallus-Caninus/Rot_Net against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCorallus-Caninus%2FRot_Net" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Corallus-Caninus/Rot_Net on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Corallus-Caninus/Rot_Net [INFO] finished tweaking git repo https://github.com/Corallus-Caninus/Rot_Net [INFO] tweaked toml for git repo https://github.com/Corallus-Caninus/Rot_Net written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/Corallus-Caninus/Rot_Net already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af35d5d9f6dedc0ccfc323bbadb3d91c4b1af667109d163f9f1f6164a6fb6cb8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "af35d5d9f6dedc0ccfc323bbadb3d91c4b1af667109d163f9f1f6164a6fb6cb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af35d5d9f6dedc0ccfc323bbadb3d91c4b1af667109d163f9f1f6164a6fb6cb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af35d5d9f6dedc0ccfc323bbadb3d91c4b1af667109d163f9f1f6164a6fb6cb8", kill_on_drop: false }` [INFO] [stdout] af35d5d9f6dedc0ccfc323bbadb3d91c4b1af667109d163f9f1f6164a6fb6cb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1178b0c5f6a8172e0433f62bb345f936513967abd0a9803be5c295e2b7cfe808 [INFO] running `Command { std: "docker" "start" "-a" "1178b0c5f6a8172e0433f62bb345f936513967abd0a9803be5c295e2b7cfe808", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking rot_net v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `net_index` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:405:16 [INFO] [stdout] | [INFO] [stdout] 405 | pub struct net_index { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `NetIndex` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `node_tensor_index` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:411:16 [INFO] [stdout] | [INFO] [stdout] 411 | pub struct node_tensor_index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NodeTensorIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `rot_net` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:446:16 [INFO] [stdout] | [INFO] [stdout] 446 | pub struct rot_net { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `RotNet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `net_index` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:405:16 [INFO] [stdout] | [INFO] [stdout] 405 | pub struct net_index { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `NetIndex` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `node_tensor_index` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:411:16 [INFO] [stdout] | [INFO] [stdout] 411 | pub struct node_tensor_index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NodeTensorIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `rot_net` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:446:16 [INFO] [stdout] | [INFO] [stdout] 446 | pub struct rot_net { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `RotNet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/lib.rs:596:26 [INFO] [stdout] | [INFO] [stdout] 596 | for (index, connection) in node.iter().enumerate() [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection` [INFO] [stdout] --> src/lib.rs:669:17 [INFO] [stdout] | [INFO] [stdout] 669 | for connection in 0..num_inputs * num_outputs { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer_length` [INFO] [stdout] --> src/lib.rs:728:21 [INFO] [stdout] | [INFO] [stdout] 728 | let layer_length = self [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layer_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection` [INFO] [stdout] --> src/lib.rs:900:30 [INFO] [stdout] | [INFO] [stdout] 900 | |(index, connection)| { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_connection` [INFO] [stdout] --> src/lib.rs:844:17 [INFO] [stdout] | [INFO] [stdout] 844 | let in_connection = rng.gen::() & 0b01111111; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out_connection` [INFO] [stdout] --> src/lib.rs:845:17 [INFO] [stdout] | [INFO] [stdout] 845 | let out_connection = rng.gen::() & 0b01111111; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:579:17 [INFO] [stdout] | [INFO] [stdout] 579 | let mut network = self.clone(); [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: comparison is useless due to type limits [INFO] [stdout] --> src/lib.rs:704:27 [INFO] [stdout] | [INFO] [stdout] 704 | debug_assert!(intermediate_layers >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `residual_connection` should have an upper case name [INFO] [stdout] --> src/lib.rs:719:19 [INFO] [stdout] | [INFO] [stdout] 719 | const residual_connection: u8 = 0b10000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `RESIDUAL_CONNECTION` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/lib.rs:596:26 [INFO] [stdout] | [INFO] [stdout] 596 | for (index, connection) in node.iter().enumerate() [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection` [INFO] [stdout] --> src/lib.rs:669:17 [INFO] [stdout] | [INFO] [stdout] 669 | for connection in 0..num_inputs * num_outputs { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer_length` [INFO] [stdout] --> src/lib.rs:728:21 [INFO] [stdout] | [INFO] [stdout] 728 | let layer_length = self [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layer_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection` [INFO] [stdout] --> src/lib.rs:900:30 [INFO] [stdout] | [INFO] [stdout] 900 | |(index, connection)| { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_connection` [INFO] [stdout] --> src/lib.rs:844:17 [INFO] [stdout] | [INFO] [stdout] 844 | let in_connection = rng.gen::() & 0b01111111; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out_connection` [INFO] [stdout] --> src/lib.rs:845:17 [INFO] [stdout] | [INFO] [stdout] 845 | let out_connection = rng.gen::() & 0b01111111; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:579:17 [INFO] [stdout] | [INFO] [stdout] 579 | let mut network = self.clone(); [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: comparison is useless due to type limits [INFO] [stdout] --> src/lib.rs:704:27 [INFO] [stdout] | [INFO] [stdout] 704 | debug_assert!(intermediate_layers >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `residual_connection` should have an upper case name [INFO] [stdout] --> src/lib.rs:719:19 [INFO] [stdout] | [INFO] [stdout] 719 | const residual_connection: u8 = 0b10000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `RESIDUAL_CONNECTION` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `slopes` should have an upper case name [INFO] [stdout] --> src/main.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | const slopes: [u8; 4] = [ [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `SLOPES` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.76s [INFO] running `Command { std: "docker" "inspect" "1178b0c5f6a8172e0433f62bb345f936513967abd0a9803be5c295e2b7cfe808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1178b0c5f6a8172e0433f62bb345f936513967abd0a9803be5c295e2b7cfe808", kill_on_drop: false }` [INFO] [stdout] 1178b0c5f6a8172e0433f62bb345f936513967abd0a9803be5c295e2b7cfe808