[INFO] cloning repository https://github.com/zasekle/logical_cpu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zasekle/logical_cpu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzasekle%2Flogical_cpu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzasekle%2Flogical_cpu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 444acaee8f80a5ee4f66c20c76bb0a3e29fe962e [INFO] checking zasekle/logical_cpu against master#bbefc9837f4157cc09ed60e6d7b21e345d582dd9 for pr-114571-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzasekle%2Flogical_cpu" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zasekle/logical_cpu on toolchain bbefc9837f4157cc09ed60e6d7b21e345d582dd9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zasekle/logical_cpu [INFO] finished tweaking git repo https://github.com/zasekle/logical_cpu [INFO] tweaked toml for git repo https://github.com/zasekle/logical_cpu written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zasekle/logical_cpu 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" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "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 zasekle/logical_cpu against try#2399cef65c47f346b5fa9df51f48df0acd4a9d85 for pr-114571-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzasekle%2Flogical_cpu" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zasekle/logical_cpu on toolchain 2399cef65c47f346b5fa9df51f48df0acd4a9d85 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zasekle/logical_cpu [INFO] finished tweaking git repo https://github.com/zasekle/logical_cpu [INFO] tweaked toml for git repo https://github.com/zasekle/logical_cpu written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/zasekle/logical_cpu 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" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking zasekle/logical_cpu against try#2399cef65c47f346b5fa9df51f48df0acd4a9d85 for pr-114571-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzasekle%2Flogical_cpu" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zasekle/logical_cpu on toolchain 2399cef65c47f346b5fa9df51f48df0acd4a9d85 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zasekle/logical_cpu [INFO] finished tweaking git repo https://github.com/zasekle/logical_cpu [INFO] tweaked toml for git repo https://github.com/zasekle/logical_cpu written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/zasekle/logical_cpu 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" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "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] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.148 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d6db761ee75e6756165519c449d1d693c1bc8bce97807da1d78db88cbded652 [INFO] running `Command { std: "docker" "start" "-a" "2d6db761ee75e6756165519c449d1d693c1bc8bce97807da1d78db88cbded652", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d6db761ee75e6756165519c449d1d693c1bc8bce97807da1d78db88cbded652", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d6db761ee75e6756165519c449d1d693c1bc8bce97807da1d78db88cbded652", kill_on_drop: false }` [INFO] [stdout] 2d6db761ee75e6756165519c449d1d693c1bc8bce97807da1d78db88cbded652 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2740638c4dd705fc6fdfce5720b7290a3cd588af071f7ae720303875baa60fa [INFO] running `Command { std: "docker" "start" "-a" "b2740638c4dd705fc6fdfce5720b7290a3cd588af071f7ae720303875baa60fa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking logical_cpu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `LoggingMutexGuard`, `UsedMutex` [INFO] [stdout] --> src/logic/arithmetic_gates.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::shared_mutex::{LoggingMutexGuard, new_shared_mutex, SharedMutex, UsedMutex}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `extract_string_from_connected_output` [INFO] [stdout] --> src/run_circuit.rs:9:48 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::logic::foundations::{connect_gates, extract_string_from_connected_output, extract_string_from_gate_output_states, GateInput, G... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::logic::basic_gates::Or` [INFO] [stdout] --> src/run_circuit.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::logic::basic_gates::Or; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LoggingMutexGuard`, `UsedMutex` [INFO] [stdout] --> src/logic/arithmetic_gates.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::shared_mutex::{LoggingMutexGuard, new_shared_mutex, SharedMutex, UsedMutex}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `extract_string_from_connected_output` [INFO] [stdout] --> src/run_circuit.rs:9:48 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::logic::foundations::{connect_gates, extract_string_from_connected_output, extract_string_from_gate_output_states, GateInput, G... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::logic::basic_gates::Or` [INFO] [stdout] --> src/run_circuit.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::logic::basic_gates::Or; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signal_clone` [INFO] [stdout] --> src/run_circuit.rs:958:9 [INFO] [stdout] | [INFO] [stdout] 958 | signal_clone: &mut Arc, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signal_clone` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/run_circuit.rs:1253:13 [INFO] [stdout] | [INFO] [stdout] 1253 | let mut mutable_input_gate = input_gate.lock().unwrap(); [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: unused variable: `id` [INFO] [stdout] --> src/shared_mutex.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn new_used_mutex(id: i32, data: T) -> UsedMutex { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_string_from_gate_output_states` is never used [INFO] [stdout] --> src/logic/foundations.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn extract_string_from_gate_output_states(connected_output: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_string_from_connected_output` is never used [INFO] [stdout] --> src/logic/foundations.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn extract_string_from_connected_output( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `NUM_CHILDREN_GATES_FOR_LARGE_GATE` is never used [INFO] [stdout] --> src/run_circuit.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | static NUM_CHILDREN_GATES_FOR_LARGE_GATE: usize = 7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `wait_count` and `completed` are never read [INFO] [stdout] --> src/run_circuit.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct CondVarVariables { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 25 | wait_count: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | completed: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cond` and `mutex` are never read [INFO] [stdout] --> src/run_circuit.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CondvarWrapper { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 30 | cond: Condvar, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | mutex: UsedMutex, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `wait`, `notify_one`, `notify_all`, `get_wait_count`, and `set_to_completed` are never used [INFO] [stdout] --> src/run_circuit.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl CondvarWrapper { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 35 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn wait(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn notify_one(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn notify_all(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn get_wait_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn set_to_completed(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Running`, `Redo`, and `Cancel` are never constructed [INFO] [stdout] --> src/run_circuit.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 76 | enum ProcessingGateStatus { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] 77 | Running, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 78 | Redo, [INFO] [stdout] | ^^^^ [INFO] [stdout] 79 | Cancel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcessingGateStatus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Large` and `Small` are never constructed [INFO] [stdout] --> src/run_circuit.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 82 | enum ProcessingSizeOfGate { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] 83 | Large { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | Small, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Large` and `Small` are never constructed [INFO] [stdout] --> src/run_circuit.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 117 | enum WaitingSizeOfGate { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 118 | Large { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | Small, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WaitingSizeOfGate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `convert_from_processing` is never used [INFO] [stdout] --> src/run_circuit.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 125 | impl WaitingSizeOfGate { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 126 | fn convert_from_processing(size: &ProcessingSizeOfGate, initially_added: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parent_id`, `processing_type`, and `status` are never read [INFO] [stdout] --> src/run_circuit.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 138 | struct ProcessingGate { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 139 | parent_id: UniqueID, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 140 | processing_type: ProcessingSizeOfGate, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 141 | status: ProcessingGateStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcessingGate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parent_id` and `gate` are never read [INFO] [stdout] --> src/run_circuit.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 144 | struct ParentIdAndGate { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 145 | parent_id: UniqueID, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 146 | gate: SharedMutex, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parental_tree`, `processing_set`, `waiting_to_be_processed_set`, `gates`, and `input_gate_output_states` are never read [INFO] [stdout] --> src/run_circuit.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct ThreadPoolLists { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 150 | //The key is the parent ID and the set is the child IDs. [INFO] [stdout] 151 | parental_tree: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 152 | //The gates that are currently being run by a thread. These are not in the 'gates' Vec. [INFO] [stdout] 153 | processing_set: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | waiting_to_be_processed_set: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 157 | gates: VecDeque, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 158 | input_gate_output_states: Vec<(String, Vec)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/run_circuit.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 161 | impl ThreadPoolLists { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 162 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `thread_pool_lists`, `propagate_signal`, `condvar_wrapper`, `num_threads_running`, `processing_completed`, and `wait_for_completion` are never read [INFO] [stdout] --> src/run_circuit.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 176 | pub struct RunCircuitThreadPool { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 177 | thread_pool_lists: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | propagate_signal: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 182 | condvar_wrapper: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 183 | num_threads_running: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 184 | //todo: can delete this, condvar counts waiting threads now [INFO] [stdout] 185 | processing_completed: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 186 | wait_for_completion: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueueElement` is never constructed [INFO] [stdout] --> src/run_circuit.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | pub struct QueueElement { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/run_circuit.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 212 | impl RunCircuitThreadPool { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 213 | pub fn new(size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 833 | fn update_propagate_signal(&mut self, propagate_signal: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 840 | fn update_parent_gate( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 935 | fn internal_shutdown( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 947 | pub fn shutdown(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 955 | pub fn complete_queue( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 968 | pub fn join(&mut self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 988 | pub fn add_to_queue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1001 | pub fn get_input_gate_outputs(&self) -> Vec<(String, Vec)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1007 | fn add_to_queue_internal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_circuit_multi_thread` is never used [INFO] [stdout] --> src/run_circuit.rs:1239:8 [INFO] [stdout] | [INFO] [stdout] 1239 | pub fn run_circuit_multi_thread( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `take_guard` are never used [INFO] [stdout] --> src/shared_mutex.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'a, T: ?Sized> LoggingMutexGuard<'a, T> { [INFO] [stdout] | -------------------------------------------- associated items in this implementation [INFO] [stdout] 11 | // Constructor for the custom guard [INFO] [stdout] 12 | fn new(id: i32, guard: MutexGuard<'a, T>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn take_guard(&mut self) -> MutexGuard<'a, T> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoggingMutex` is never constructed [INFO] [stdout] --> src/shared_mutex.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct LoggingMutex { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `lock` are never used [INFO] [stdout] --> src/shared_mutex.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl LoggingMutex { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 48 | // Constructor for the custom mutex [INFO] [stdout] 49 | pub fn new(id: i32, data: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn lock(&self) -> LockResult> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signal_clone` [INFO] [stdout] --> src/run_circuit.rs:958:9 [INFO] [stdout] | [INFO] [stdout] 958 | signal_clone: &mut Arc, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signal_clone` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/run_circuit.rs:1253:13 [INFO] [stdout] | [INFO] [stdout] 1253 | let mut mutable_input_gate = input_gate.lock().unwrap(); [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: unused variable: `output_gate` [INFO] [stdout] --> src/run_circuit.rs:2363:25 [INFO] [stdout] | [INFO] [stdout] 2363 | for output_gate in output_gates { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_gate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mutex_guard_first` [INFO] [stdout] --> src/run_circuit.rs:2502:17 [INFO] [stdout] | [INFO] [stdout] 2502 | let mutex_guard_first = clone_one_one.lock(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mutex_guard_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mutex_guard_second` [INFO] [stdout] --> src/run_circuit.rs:2506:17 [INFO] [stdout] | [INFO] [stdout] 2506 | let mutex_guard_second = clone_two_one.lock(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mutex_guard_second` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mutex_guard_first` [INFO] [stdout] --> src/run_circuit.rs:2522:17 [INFO] [stdout] | [INFO] [stdout] 2522 | let mutex_guard_first = clone_two_two.lock(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mutex_guard_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mutex_guard_second` [INFO] [stdout] --> src/run_circuit.rs:2526:17 [INFO] [stdout] | [INFO] [stdout] 2526 | let mutex_guard_second = clone_one_two.lock(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mutex_guard_second` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/shared_mutex.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn new_used_mutex(id: i32, data: T) -> UsedMutex { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_large_gate` is never used [INFO] [stdout] --> src/run_circuit.rs:2232:8 [INFO] [stdout] | [INFO] [stdout] 2232 | fn create_large_gate() -> (usize, SharedMutex) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `oscillation_multi_thread` is never used [INFO] [stdout] --> src/run_circuit.rs:2402:12 [INFO] [stdout] | [INFO] [stdout] 2402 | fn oscillation_multi_thread() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `take_guard` are never used [INFO] [stdout] --> src/shared_mutex.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'a, T: ?Sized> LoggingMutexGuard<'a, T> { [INFO] [stdout] | -------------------------------------------- associated items in this implementation [INFO] [stdout] 11 | // Constructor for the custom guard [INFO] [stdout] 12 | fn new(id: i32, guard: MutexGuard<'a, T>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn take_guard(&mut self) -> MutexGuard<'a, T> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoggingMutex` is never constructed [INFO] [stdout] --> src/shared_mutex.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct LoggingMutex { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `lock` are never used [INFO] [stdout] --> src/shared_mutex.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl LoggingMutex { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 48 | // Constructor for the custom mutex [INFO] [stdout] 49 | pub fn new(id: i32, data: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn lock(&self) -> LockResult> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.63s [INFO] running `Command { std: "docker" "inspect" "b2740638c4dd705fc6fdfce5720b7290a3cd588af071f7ae720303875baa60fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2740638c4dd705fc6fdfce5720b7290a3cd588af071f7ae720303875baa60fa", kill_on_drop: false }` [INFO] [stdout] b2740638c4dd705fc6fdfce5720b7290a3cd588af071f7ae720303875baa60fa