[INFO] fetching crate deep_q_network_bindings 0.1.0...
[INFO] testing deep_q_network_bindings-0.1.0 against 1.62.0 for beta-1.63-1
[INFO] extracting crate deep_q_network_bindings 0.1.0 into /workspace/builds/worker-2/source
[INFO] validating manifest of crates.io crate deep_q_network_bindings 0.1.0 on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate deep_q_network_bindings 0.1.0
[INFO] finished tweaking crates.io crate deep_q_network_bindings 0.1.0
[INFO] tweaked toml for crates.io crate deep_q_network_bindings 0.1.0 written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a73aca6494b9998aece06a74ed109f591fc241aca263995b28c120ec69da0ed2
[INFO] running `Command { std: "docker" "start" "-a" "a73aca6494b9998aece06a74ed109f591fc241aca263995b28c120ec69da0ed2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a73aca6494b9998aece06a74ed109f591fc241aca263995b28c120ec69da0ed2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a73aca6494b9998aece06a74ed109f591fc241aca263995b28c120ec69da0ed2", kill_on_drop: false }`
[INFO] [stdout] a73aca6494b9998aece06a74ed109f591fc241aca263995b28c120ec69da0ed2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6859704057bac4e162508f540fa020587e7fd0ba9d33d42f13aa81bb166cf0f0
[INFO] running `Command { std: "docker" "start" "-a" "6859704057bac4e162508f540fa020587e7fd0ba9d33d42f13aa81bb166cf0f0", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling deep_q_network_bindings v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: value assigned to `current_index` is never read
[INFO] [stdout]    --> src/dqn.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let mut current_index = 1;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `HyperTan`
[INFO] [stdout]  --> src/neuron.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     HyperTan,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] note: `ActivationFunction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/neuron.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Clone, Debug)]
[INFO] [stdout]   |          ^^^^^  ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Sigmoidal`
[INFO] [stdout]  --> src/neuron.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Sigmoidal,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `ActivationFunction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/neuron.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Clone, Debug)]
[INFO] [stdout]   |          ^^^^^  ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Step`
[INFO] [stdout]  --> src/neuron.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     Step,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `ActivationFunction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/neuron.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Clone, Debug)]
[INFO] [stdout]   |          ^^^^^  ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Linear`
[INFO] [stdout]  --> src/neuron.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     Linear,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `ActivationFunction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/neuron.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Clone, Debug)]
[INFO] [stdout]   |          ^^^^^  ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Relu`
[INFO] [stdout]   --> src/neuron.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     Relu
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `ActivationFunction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/neuron.rs:4:10
[INFO] [stdout]    |
[INFO] [stdout] 4  | #[derive(Clone, Debug)]
[INFO] [stdout]    |          ^^^^^  ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `bias`
[INFO] [stdout]   --> src/neuron.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     bias: f64,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Neuron` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/neuron.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Clone, Debug)]
[INFO] [stdout]    |          ^^^^^  ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `activation_function`
[INFO] [stdout]   --> src/neuron.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     activation_function: ActivationFunction,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Neuron` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/neuron.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Clone, Debug)]
[INFO] [stdout]    |          ^^^^^  ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `layer_number`
[INFO] [stdout]   --> src/neuron.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     layer_number: u64
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Neuron` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/neuron.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Clone, Debug)]
[INFO] [stdout]    |          ^^^^^  ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `initialize`
[INFO] [stdout]   --> src/neuron.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn initialize(layer_number: f64, activation_function: ActivationFunction, input_number: u64, use_rand: bool) -> Self{
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_weights`
[INFO] [stdout]   --> src/neuron.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn get_weights(self) -> Vec<f64>{
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `predict`
[INFO] [stdout]   --> src/neuron.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn predict(&self, inputs: &Vec<f64>) -> f64 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `adjust`
[INFO] [stdout]   --> src/neuron.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub fn adjust(&mut self, actual_q_value: f64, predicted_value: f64, reward: f64, inputs: &Vec<f64>, next_state: &Vec<f64>) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `activate`
[INFO] [stdout]   --> src/neuron.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 64 |     fn activate(&self, weighted_sum: f64) -> f64{
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Agent`
[INFO] [stdout]  --> src/agent.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Agent {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `BufferItem`
[INFO] [stdout]   --> src/agent.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct BufferItem {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `initialize_agent`
[INFO] [stdout]   --> src/agent.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn initialize_agent(structure: Vec<u64>, amount_of_states: u64, reward_policy: String, copy_amount: u64, range: Range<usize>) -> ...
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `act`
[INFO] [stdout]   --> src/agent.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub fn act(&mut self, current_state: Vec<f64>, action: usize, next_state: Vec<f64>, reward: f64){
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `exploit_explore`
[INFO] [stdout]   --> src/agent.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn exploit_explore(&mut self, current_state: &Vec<f64>) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `generate_network`
[INFO] [stdout]   --> src/dqn.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn generate_network(structure: Vec<u64>, input_layer_amount: u64) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `generate_q_value`
[INFO] [stdout]   --> src/dqn.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub fn generate_q_value(&mut self, input_state: &Vec<f64>) -> (Vec<f64>, f64){
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `backpropagate`
[INFO] [stdout]    --> src/dqn.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 104 |     pub fn backpropagate(&mut self, inputs: &Vec<f64>, actual_q_value: f64, reward: f64, next_state: &Vec<f64>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 22 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2.90s
[INFO] running `Command { std: "docker" "inspect" "6859704057bac4e162508f540fa020587e7fd0ba9d33d42f13aa81bb166cf0f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6859704057bac4e162508f540fa020587e7fd0ba9d33d42f13aa81bb166cf0f0", kill_on_drop: false }`
[INFO] [stdout] 6859704057bac4e162508f540fa020587e7fd0ba9d33d42f13aa81bb166cf0f0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eb9270b2747df9b163d40a26d60ec871c682cee6ef9e6ead4c40514983821f14
[INFO] running `Command { std: "docker" "start" "-a" "eb9270b2747df9b163d40a26d60ec871c682cee6ef9e6ead4c40514983821f14", kill_on_drop: false }`
[INFO] [stdout] warning: value assigned to `current_index` is never read
[INFO] [stdout]    --> src/dqn.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let mut current_index = 1;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `HyperTan`
[INFO] [stdout]  --> src/neuron.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     HyperTan,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] note: `ActivationFunction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/neuron.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Clone, Debug)]
[INFO] [stdout]   |          ^^^^^  ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Sigmoidal`
[INFO] [stdout]  --> src/neuron.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Sigmoidal,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `ActivationFunction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/neuron.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Clone, Debug)]
[INFO] [stdout]   |          ^^^^^  ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Step`
[INFO] [stdout]  --> src/neuron.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     Step,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `ActivationFunction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/neuron.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Clone, Debug)]
[INFO] [stdout]   |          ^^^^^  ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Linear`
[INFO] [stdout]  --> src/neuron.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     Linear,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `ActivationFunction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/neuron.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Clone, Debug)]
[INFO] [stdout]   |          ^^^^^  ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Relu`
[INFO] [stdout]   --> src/neuron.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     Relu
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `ActivationFunction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/neuron.rs:4:10
[INFO] [stdout]    |
[INFO] [stdout] 4  | #[derive(Clone, Debug)]
[INFO] [stdout]    |          ^^^^^  ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `bias`
[INFO] [stdout]   --> src/neuron.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     bias: f64,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Neuron` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/neuron.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Clone, Debug)]
[INFO] [stdout]    |          ^^^^^  ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `activation_function`
[INFO] [stdout]   --> src/neuron.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     activation_function: ActivationFunction,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Neuron` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/neuron.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Clone, Debug)]
[INFO] [stdout]    |          ^^^^^  ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `layer_number`
[INFO] [stdout]   --> src/neuron.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     layer_number: u64
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Neuron` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/neuron.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Clone, Debug)]
[INFO] [stdout]    |          ^^^^^  ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `initialize`
[INFO] [stdout]   --> src/neuron.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn initialize(layer_number: f64, activation_function: ActivationFunction, input_number: u64, use_rand: bool) -> Self{
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_weights`
[INFO] [stdout]   --> src/neuron.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn get_weights(self) -> Vec<f64>{
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `predict`
[INFO] [stdout]   --> src/neuron.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn predict(&self, inputs: &Vec<f64>) -> f64 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `adjust`
[INFO] [stdout]   --> src/neuron.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub fn adjust(&mut self, actual_q_value: f64, predicted_value: f64, reward: f64, inputs: &Vec<f64>, next_state: &Vec<f64>) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `activate`
[INFO] [stdout]   --> src/neuron.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 64 |     fn activate(&self, weighted_sum: f64) -> f64{
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Agent`
[INFO] [stdout]  --> src/agent.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Agent {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `BufferItem`
[INFO] [stdout]   --> src/agent.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct BufferItem {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `initialize_agent`
[INFO] [stdout]   --> src/agent.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn initialize_agent(structure: Vec<u64>, amount_of_states: u64, reward_policy: String, copy_amount: u64, range: Range<usize>) -> ...
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `act`
[INFO] [stdout]   --> src/agent.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub fn act(&mut self, current_state: Vec<f64>, action: usize, next_state: Vec<f64>, reward: f64){
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `exploit_explore`
[INFO] [stdout]   --> src/agent.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn exploit_explore(&mut self, current_state: &Vec<f64>) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `generate_network`
[INFO] [stdout]   --> src/dqn.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn generate_network(structure: Vec<u64>, input_layer_amount: u64) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `generate_q_value`
[INFO] [stdout]   --> src/dqn.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub fn generate_q_value(&mut self, input_state: &Vec<f64>) -> (Vec<f64>, f64){
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `backpropagate`
[INFO] [stdout]    --> src/dqn.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 104 |     pub fn backpropagate(&mut self, inputs: &Vec<f64>, actual_q_value: f64, reward: f64, next_state: &Vec<f64>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 22 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling deep_q_network_bindings v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::neuron`
[INFO] [stdout]  --> src/dqn.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     use crate::neuron;
[INFO] [stdout]   |         ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `current_index` is never read
[INFO] [stdout]    --> src/dqn.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let mut current_index = 1;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `HyperTan`
[INFO] [stdout]  --> src/neuron.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     HyperTan,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] note: `ActivationFunction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/neuron.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Clone, Debug)]
[INFO] [stdout]   |          ^^^^^  ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Sigmoidal`
[INFO] [stdout]  --> src/neuron.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Sigmoidal,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `ActivationFunction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/neuron.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Clone, Debug)]
[INFO] [stdout]   |          ^^^^^  ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Step`
[INFO] [stdout]  --> src/neuron.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     Step,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `ActivationFunction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/neuron.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Clone, Debug)]
[INFO] [stdout]   |          ^^^^^  ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Linear`
[INFO] [stdout]  --> src/neuron.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     Linear,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `ActivationFunction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/neuron.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Clone, Debug)]
[INFO] [stdout]   |          ^^^^^  ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `layer_number`
[INFO] [stdout]   --> src/neuron.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     layer_number: u64
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Neuron` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/neuron.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Clone, Debug)]
[INFO] [stdout]    |          ^^^^^  ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_weights`
[INFO] [stdout]   --> src/neuron.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn get_weights(self) -> Vec<f64>{
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Agent`
[INFO] [stdout]  --> src/agent.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Agent {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `BufferItem`
[INFO] [stdout]   --> src/agent.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct BufferItem {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `initialize_agent`
[INFO] [stdout]   --> src/agent.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn initialize_agent(structure: Vec<u64>, amount_of_states: u64, reward_policy: String, copy_amount: u64, range: Range<usize>) -> ...
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `act`
[INFO] [stdout]   --> src/agent.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub fn act(&mut self, current_state: Vec<f64>, action: usize, next_state: Vec<f64>, reward: f64){
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `exploit_explore`
[INFO] [stdout]   --> src/agent.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn exploit_explore(&mut self, current_state: &Vec<f64>) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.53s
[INFO] [stderr]   Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/deep_q_network_bindings-700ac38c0e6be832)
[INFO] running `Command { std: "docker" "inspect" "eb9270b2747df9b163d40a26d60ec871c682cee6ef9e6ead4c40514983821f14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb9270b2747df9b163d40a26d60ec871c682cee6ef9e6ead4c40514983821f14", kill_on_drop: false }`
[INFO] [stdout] eb9270b2747df9b163d40a26d60ec871c682cee6ef9e6ead4c40514983821f14
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] cfea14661d146fd6172dcda9e72e4bfe1d7b87970864c0cfebbd410342187ca9
[INFO] running `Command { std: "docker" "start" "-a" "cfea14661d146fd6172dcda9e72e4bfe1d7b87970864c0cfebbd410342187ca9", kill_on_drop: false }`
[INFO] [stderr] warning: value assigned to `current_index` is never read
[INFO] [stderr]    --> src/dqn.rs:109:17
[INFO] [stderr]     |
[INFO] [stderr] 109 |         let mut current_index = 1;
[INFO] [stderr]     |                 ^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `HyperTan`
[INFO] [stderr]  --> src/neuron.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 |     HyperTan,
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] note: `ActivationFunction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]  --> src/neuron.rs:4:10
[INFO] [stderr]   |
[INFO] [stderr] 4 | #[derive(Clone, Debug)]
[INFO] [stderr]   |          ^^^^^  ^^^^^
[INFO] [stderr]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `Sigmoidal`
[INFO] [stderr]  --> src/neuron.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 |     Sigmoidal,
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] note: `ActivationFunction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]  --> src/neuron.rs:4:10
[INFO] [stderr]   |
[INFO] [stderr] 4 | #[derive(Clone, Debug)]
[INFO] [stderr]   |          ^^^^^  ^^^^^
[INFO] [stderr]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `Step`
[INFO] [stderr]  --> src/neuron.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 |     Step,
[INFO] [stderr]   |     ^^^^
[INFO] [stderr]   |
[INFO] [stderr] note: `ActivationFunction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]  --> src/neuron.rs:4:10
[INFO] [stderr]   |
[INFO] [stderr] 4 | #[derive(Clone, Debug)]
[INFO] [stderr]   |          ^^^^^  ^^^^^
[INFO] [stderr]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `Linear`
[INFO] [stderr]  --> src/neuron.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 |     Linear,
[INFO] [stderr]   |     ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] note: `ActivationFunction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]  --> src/neuron.rs:4:10
[INFO] [stderr]   |
[INFO] [stderr] 4 | #[derive(Clone, Debug)]
[INFO] [stderr]   |          ^^^^^  ^^^^^
[INFO] [stderr]   = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `Relu`
[INFO] [stderr]   --> src/neuron.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 |     Relu
[INFO] [stderr]    |     ^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: `ActivationFunction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/neuron.rs:4:10
[INFO] [stderr]    |
[INFO] [stderr] 4  | #[derive(Clone, Debug)]
[INFO] [stderr]    |          ^^^^^  ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `bias`
[INFO] [stderr]   --> src/neuron.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 |     bias: f64,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: `Neuron` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/neuron.rs:13:10
[INFO] [stderr]    |
[INFO] [stderr] 13 | #[derive(Clone, Debug)]
[INFO] [stderr]    |          ^^^^^  ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `activation_function`
[INFO] [stderr]   --> src/neuron.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 |     activation_function: ActivationFunction,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: `Neuron` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/neuron.rs:13:10
[INFO] [stderr]    |
[INFO] [stderr] 13 | #[derive(Clone, Debug)]
[INFO] [stderr]    |          ^^^^^  ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `layer_number`
[INFO] [stderr]   --> src/neuron.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 |     layer_number: u64
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: `Neuron` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/neuron.rs:13:10
[INFO] [stderr]    |
[INFO] [stderr] 13 | #[derive(Clone, Debug)]
[INFO] [stderr]    |          ^^^^^  ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `initialize`
[INFO] [stderr]   --> src/neuron.rs:23:12
[INFO] [stderr]    |
[INFO] [stderr] 23 |     pub fn initialize(layer_number: f64, activation_function: ActivationFunction, input_number: u64, use_rand: bool) -> Self{
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `get_weights`
[INFO] [stderr]   --> src/neuron.rs:44:12
[INFO] [stderr]    |
[INFO] [stderr] 44 |     pub fn get_weights(self) -> Vec<f64>{
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `predict`
[INFO] [stderr]   --> src/neuron.rs:47:12
[INFO] [stderr]    |
[INFO] [stderr] 47 |     pub fn predict(&self, inputs: &Vec<f64>) -> f64 {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `adjust`
[INFO] [stderr]   --> src/neuron.rs:58:12
[INFO] [stderr]    |
[INFO] [stderr] 58 |     pub fn adjust(&mut self, actual_q_value: f64, predicted_value: f64, reward: f64, inputs: &Vec<f64>, next_state: &Vec<f64>) {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `activate`
[INFO] [stderr]   --> src/neuron.rs:64:8
[INFO] [stderr]    |
[INFO] [stderr] 64 |     fn activate(&self, weighted_sum: f64) -> f64{
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct is never constructed: `Agent`
[INFO] [stderr]  --> src/agent.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub struct Agent {
[INFO] [stderr]   |            ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct is never constructed: `BufferItem`
[INFO] [stderr]   --> src/agent.rs:16:8
[INFO] [stderr]    |
[INFO] [stderr] 16 | struct BufferItem {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `initialize_agent`
[INFO] [stderr]   --> src/agent.rs:24:12
[INFO] [stderr]    |
[INFO] [stderr] 24 |     pub fn initialize_agent(structure: Vec<u64>, amount_of_states: u64, reward_policy: String, copy_amount: u64, range: Range<usize>) -> ...
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `act`
[INFO] [stderr]   --> src/agent.rs:45:12
[INFO] [stderr]    |
[INFO] [stderr] 45 |     pub fn act(&mut self, current_state: Vec<f64>, action: usize, next_state: Vec<f64>, reward: f64){
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `exploit_explore`
[INFO] [stderr]   --> src/agent.rs:69:12
[INFO] [stderr]    |
[INFO] [stderr] 69 |     pub fn exploit_explore(&mut self, current_state: &Vec<f64>) -> usize {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `generate_network`
[INFO] [stderr]   --> src/dqn.rs:43:12
[INFO] [stderr]    |
[INFO] [stderr] 43 |     pub fn generate_network(structure: Vec<u64>, input_layer_amount: u64) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `generate_q_value`
[INFO] [stderr]   --> src/dqn.rs:75:12
[INFO] [stderr]    |
[INFO] [stderr] 75 |     pub fn generate_q_value(&mut self, input_state: &Vec<f64>) -> (Vec<f64>, f64){
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `backpropagate`
[INFO] [stderr]    --> src/dqn.rs:104:12
[INFO] [stderr]     |
[INFO] [stderr] 104 |     pub fn backpropagate(&mut self, inputs: &Vec<f64>, actual_q_value: f64, reward: f64, next_state: &Vec<f64>) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::neuron`
[INFO] [stderr]  --> src/dqn.rs:7:9
[INFO] [stderr]   |
[INFO] [stderr] 7 |     use crate::neuron;
[INFO] [stderr]   |         ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `deep_q_network_bindings` (lib) generated 22 warnings
[INFO] [stderr] warning: `deep_q_network_bindings` (lib test) generated 13 warnings (12 duplicates)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/deep_q_network_bindings-700ac38c0e6be832)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test dqn::tests::check_forward_propagate ... ok
[INFO] [stdout] test dqn::tests::check_back_propagate ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests deep_q_network_bindings
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "cfea14661d146fd6172dcda9e72e4bfe1d7b87970864c0cfebbd410342187ca9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cfea14661d146fd6172dcda9e72e4bfe1d7b87970864c0cfebbd410342187ca9", kill_on_drop: false }`
[INFO] [stdout] cfea14661d146fd6172dcda9e72e4bfe1d7b87970864c0cfebbd410342187ca9
