[INFO] cloning repository https://github.com/xayon40-12/neural_network [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xayon40-12/neural_network" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxayon40-12%2Fneural_network", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxayon40-12%2Fneural_network'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 29943b08d4841c2ac72b10a0e59f3805f72d9e0e [INFO] checking xayon40-12/neural_network against master#b2728d5426bab1d8c39709768c7e22b7f66dde5d for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxayon40-12%2Fneural_network" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xayon40-12/neural_network on toolchain b2728d5426bab1d8c39709768c7e22b7f66dde5d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xayon40-12/neural_network [INFO] finished tweaking git repo https://github.com/xayon40-12/neural_network [INFO] tweaked toml for git repo https://github.com/xayon40-12/neural_network written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/xayon40-12/neural_network 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" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b94a1d8a6af5beb336377ba7fa851a0ade30187c0a6bf71c1481403b5ebba174 [INFO] running `Command { std: "docker" "start" "-a" "b94a1d8a6af5beb336377ba7fa851a0ade30187c0a6bf71c1481403b5ebba174", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b94a1d8a6af5beb336377ba7fa851a0ade30187c0a6bf71c1481403b5ebba174", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b94a1d8a6af5beb336377ba7fa851a0ade30187c0a6bf71c1481403b5ebba174", kill_on_drop: false }` [INFO] [stdout] b94a1d8a6af5beb336377ba7fa851a0ade30187c0a6bf71c1481403b5ebba174 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8192ec5ced05816a4627e5cfcaa0c285e6679311673c40fa1d992238e4705dc [INFO] running `Command { std: "docker" "start" "-a" "d8192ec5ced05816a4627e5cfcaa0c285e6679311673c40fa1d992238e4705dc", kill_on_drop: false }` [INFO] [stderr] Checking neural_network v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/neuron.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | transfer: Box f32> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | transfer: Box f32> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/neuron.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn new(transfer: Boxf32>, ntype: NeuronType) -> Neuron<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 | pub fn new(transfer: Boxf32>, ntype: NeuronType) -> Neuron<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `neuron::*` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use neuron::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/neuron.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | transfer: Box f32> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | transfer: Box f32> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/neuron.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn new(transfer: Boxf32>, ntype: NeuronType) -> Neuron<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 | pub fn new(transfer: Boxf32>, ntype: NeuronType) -> Neuron<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut n2 = Neuron::new(Box::new(threshold), NeuronType::Input); [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: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let mut n3 = Neuron::new(Box::new(threshold), NeuronType::Input); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut n4 = Neuron::new(Box::new(threshold), NeuronType::Input); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NeuralNet` is never constructed [INFO] [stdout] --> src/neural_net.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct NeuralNet { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `n` is never read [INFO] [stdout] --> src/neuron.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Scinapse<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 12 | n: &'a Neuron<'a>, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `n` and `w` are never read [INFO] [stdout] --> src/neuron.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | struct BScinapse<'a> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 29 | n: &'a Neuron<'a>, [INFO] [stdout] | ^ [INFO] [stdout] 30 | w: &'a f32 [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `linked_by`, `dist`, `old_value`, `ntype`, `computed`, and `transfer` are never read [INFO] [stdout] --> src/neuron.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Neuron<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 49 | linked_to: Vec>, [INFO] [stdout] 50 | linked_by: Vec>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 51 | dist: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | old_value: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 53 | ntype: NeuronType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | computed: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 55 | transfer: Box f32> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NeuralNet` is never constructed [INFO] [stdout] --> src/neural_net.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct NeuralNet { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `n` is never read [INFO] [stdout] --> src/neuron.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Scinapse<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 12 | n: &'a Neuron<'a>, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `n` and `w` are never read [INFO] [stdout] --> src/neuron.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | struct BScinapse<'a> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 29 | n: &'a Neuron<'a>, [INFO] [stdout] | ^ [INFO] [stdout] 30 | w: &'a f32 [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `linked_by`, `dist`, `old_value`, `ntype`, `computed`, and `transfer` are never read [INFO] [stdout] --> src/neuron.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Neuron<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 49 | linked_to: Vec>, [INFO] [stdout] 50 | linked_by: Vec>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 51 | dist: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | old_value: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 53 | ntype: NeuronType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | computed: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 55 | transfer: Box f32> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] running `Command { std: "docker" "inspect" "d8192ec5ced05816a4627e5cfcaa0c285e6679311673c40fa1d992238e4705dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8192ec5ced05816a4627e5cfcaa0c285e6679311673c40fa1d992238e4705dc", kill_on_drop: false }` [INFO] [stdout] d8192ec5ced05816a4627e5cfcaa0c285e6679311673c40fa1d992238e4705dc