[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#30840c53f414b753cb08f14620906572f88dda4b for pr-123531 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxayon40-12%2Fneural_network" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xayon40-12/neural_network on toolchain 30840c53f414b753cb08f14620906572f88dda4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30840c53f414b753cb08f14620906572f88dda4b" "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-3-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" "+30840c53f414b753cb08f14620906572f88dda4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking xayon40-12/neural_network against try#18fb860b8a8e7ca508746882328061d0fe352543 for pr-123531 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxayon40-12%2Fneural_network" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xayon40-12/neural_network on toolchain 18fb860b8a8e7ca508746882328061d0fe352543 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18fb860b8a8e7ca508746882328061d0fe352543" "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-3-tc2/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" "+18fb860b8a8e7ca508746882328061d0fe352543" "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] Blocking waiting for file lock on package cache [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+18fb860b8a8e7ca508746882328061d0fe352543" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 949695e81d11b54cc1180b8b25cf17261deef513de9358f1215fcee0f242369b [INFO] running `Command { std: "docker" "start" "-a" "949695e81d11b54cc1180b8b25cf17261deef513de9358f1215fcee0f242369b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "949695e81d11b54cc1180b8b25cf17261deef513de9358f1215fcee0f242369b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "949695e81d11b54cc1180b8b25cf17261deef513de9358f1215fcee0f242369b", kill_on_drop: false }` [INFO] [stdout] 949695e81d11b54cc1180b8b25cf17261deef513de9358f1215fcee0f242369b [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+18fb860b8a8e7ca508746882328061d0fe352543" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce51d703e8c4d8c3a2d87591cd76add43b1c8ac5d94fd93c9f32bbc044427d64 [INFO] running `Command { std: "docker" "start" "-a" "ce51d703e8c4d8c3a2d87591cd76add43b1c8ac5d94fd93c9f32bbc044427d64", kill_on_drop: false }` [INFO] [stderr] Checking neural_network v0.1.0 (/opt/rustwide/workdir) [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 an object-safe 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 an object-safe 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: 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 an object-safe 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 an object-safe 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: 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: 7 warnings emitted [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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "ce51d703e8c4d8c3a2d87591cd76add43b1c8ac5d94fd93c9f32bbc044427d64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce51d703e8c4d8c3a2d87591cd76add43b1c8ac5d94fd93c9f32bbc044427d64", kill_on_drop: false }` [INFO] [stdout] ce51d703e8c4d8c3a2d87591cd76add43b1c8ac5d94fd93c9f32bbc044427d64