[INFO] cloning repository https://github.com/mo-mcnabb/simple_gates_neural_net
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mo-mcnabb/simple_gates_neural_net" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmo-mcnabb%2Fsimple_gates_neural_net", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmo-mcnabb%2Fsimple_gates_neural_net'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 21231ea00284771ebb1f2d32738ad81d3ff45240
[INFO] building mo-mcnabb/simple_gates_neural_net against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmo-mcnabb%2Fsimple_gates_neural_net" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mo-mcnabb/simple_gates_neural_net
[INFO] finished tweaking git repo https://github.com/mo-mcnabb/simple_gates_neural_net
[INFO] tweaked toml for git repo https://github.com/mo-mcnabb/simple_gates_neural_net written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mo-mcnabb/simple_gates_neural_net on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mo-mcnabb/simple_gates_neural_net 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7917a738b4ded90ca7b647d88a1fddb0e2ce70e6c7807c1cd85f0ee8aa971a1b
[INFO] running `Command { std: "docker" "start" "-a" "7917a738b4ded90ca7b647d88a1fddb0e2ce70e6c7807c1cd85f0ee8aa971a1b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7917a738b4ded90ca7b647d88a1fddb0e2ce70e6c7807c1cd85f0ee8aa971a1b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7917a738b4ded90ca7b647d88a1fddb0e2ce70e6c7807c1cd85f0ee8aa971a1b", kill_on_drop: false }`
[INFO] [stdout] 7917a738b4ded90ca7b647d88a1fddb0e2ce70e6c7807c1cd85f0ee8aa971a1b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9f6bce93ba489d129cd150586fbbbee76383b48e2c77e2a3d0881b3fa37e1478
[INFO] running `Command { std: "docker" "start" "-a" "9f6bce93ba489d129cd150586fbbbee76383b48e2c77e2a3d0881b3fa37e1478", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.152
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling simple_gates_neural_net v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::perceptron::Perceptron`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::perceptron::Perceptron;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `and_set`
[INFO] [stdout]  --> src/main.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let and_set = vec![
[INFO] [stdout]   |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_and_set`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `or_set`
[INFO] [stdout]   --> src/main.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let or_set = vec![
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_or_set`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nand_set`
[INFO] [stdout]   --> src/main.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let nand_set = vec![
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nand_set`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Perceptron` is never constructed
[INFO] [stdout]  --> src/perceptron.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Perceptron {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `train`, `test`, `sigmoid`, and `sigmoid_derivative` are never used
[INFO] [stdout]   --> src/perceptron.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Perceptron {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 11 |     pub fn new(learning_rate: f64) -> Perceptron {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn train(&mut self, set: &Vec<(i32, i32, i32)>, iterations: usize) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn test(&self, set: &Vec<(i32, i32, i32)>, set_name: &str) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     fn sigmoid(sum: f64) -> f64 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     fn sigmoid_derivative(output: f64) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.41s
[INFO] running `Command { std: "docker" "inspect" "9f6bce93ba489d129cd150586fbbbee76383b48e2c77e2a3d0881b3fa37e1478", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9f6bce93ba489d129cd150586fbbbee76383b48e2c77e2a3d0881b3fa37e1478", kill_on_drop: false }`
[INFO] [stdout] 9f6bce93ba489d129cd150586fbbbee76383b48e2c77e2a3d0881b3fa37e1478
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a101b28492df563a281abc63a7f558f22c9108388ebecc6a75dadfe1ae8e958e
[INFO] running `Command { std: "docker" "start" "-a" "a101b28492df563a281abc63a7f558f22c9108388ebecc6a75dadfe1ae8e958e", kill_on_drop: false }`
[INFO] [stderr]    Compiling simple_gates_neural_net v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::perceptron::Perceptron`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::perceptron::Perceptron;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `and_set`
[INFO] [stdout]  --> src/main.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let and_set = vec![
[INFO] [stdout]   |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_and_set`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `or_set`
[INFO] [stdout]   --> src/main.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let or_set = vec![
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_or_set`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nand_set`
[INFO] [stdout]   --> src/main.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let nand_set = vec![
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nand_set`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Perceptron` is never constructed
[INFO] [stdout]  --> src/perceptron.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Perceptron {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `train`, `test`, `sigmoid`, and `sigmoid_derivative` are never used
[INFO] [stdout]   --> src/perceptron.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Perceptron {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 11 |     pub fn new(learning_rate: f64) -> Perceptron {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn train(&mut self, set: &Vec<(i32, i32, i32)>, iterations: usize) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn test(&self, set: &Vec<(i32, i32, i32)>, set_name: &str) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     fn sigmoid(sum: f64) -> f64 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     fn sigmoid_derivative(output: f64) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s
[INFO] running `Command { std: "docker" "inspect" "a101b28492df563a281abc63a7f558f22c9108388ebecc6a75dadfe1ae8e958e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a101b28492df563a281abc63a7f558f22c9108388ebecc6a75dadfe1ae8e958e", kill_on_drop: false }`
[INFO] [stdout] a101b28492df563a281abc63a7f558f22c9108388ebecc6a75dadfe1ae8e958e
