[INFO] fetching crate QPalRust 0.1.3...
[INFO] checking QPalRust-0.1.3 against 36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6 for pr-160581
[INFO] extracting crate QPalRust 0.1.3 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate QPalRust 0.1.3
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate QPalRust 0.1.3
[INFO] tweaked toml for crates.io crate QPalRust 0.1.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate QPalRust 0.1.3 on toolchain 36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate QPalRust 0.1.3 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" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2d7588da4f51fc329ac698e52dd381754882c586dcfe5ac3e0117dcb24fffbd1
[INFO] running `Command { std: "docker" "start" "2d7588da4f51fc329ac698e52dd381754882c586dcfe5ac3e0117dcb24fffbd1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2d7588da4f51fc329ac698e52dd381754882c586dcfe5ac3e0117dcb24fffbd1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2d7588da4f51fc329ac698e52dd381754882c586dcfe5ac3e0117dcb24fffbd1" "/opt/rustwide/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2d7588da4f51fc329ac698e52dd381754882c586dcfe5ac3e0117dcb24fffbd1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2d7588da4f51fc329ac698e52dd381754882c586dcfe5ac3e0117dcb24fffbd1" "/opt/rustwide/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling semver v1.0.28
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling dashu-int v0.4.3
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]    Compiling matrixmultiply v0.3.10
[INFO] [stderr]    Compiling either v1.16.0
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]    Compiling dashu-base v0.4.3
[INFO] [stderr]     Checking num-modular v0.6.4
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling winnow v1.0.3
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling ena v0.14.4
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling toml_datetime v1.1.1+spec-1.1.0
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]     Checking bytemuck v1.25.0
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]     Checking num-order v1.2.0
[INFO] [stderr]     Checking safe_arch v0.7.4
[INFO] [stderr]    Compiling rstest_macros v0.23.0
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]    Compiling beef v0.5.2
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]     Checking clap_builder v4.6.0
[INFO] [stderr]     Checking wide v0.7.33
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]    Compiling string_cache v0.8.9
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]    Compiling toml_parser v1.1.2+spec-1.1.0
[INFO] [stderr]    Compiling is-terminal v0.4.17
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking num v0.4.3
[INFO] [stderr]     Checking rayon-core v1.13.0
[INFO] [stderr]     Checking bitflags v2.13.0
[INFO] [stderr]    Compiling relative-path v1.9.3
[INFO] [stderr]    Compiling portable-atomic v1.13.1
[INFO] [stderr]     Checking jiff v0.2.31
[INFO] [stderr]     Checking rustix v1.1.4
[INFO] [stderr]    Compiling toml_edit v0.25.12+spec-1.1.0
[INFO] [stderr]     Checking simba v0.9.1
[INFO] [stderr]     Checking rayon v1.12.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking futures-timer v3.0.4
[INFO] [stderr]     Checking lalrpop-util v0.19.12
[INFO] [stderr]     Checking dashu-float v0.4.5
[INFO] [stderr]    Compiling peg-runtime v0.8.6
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking console v0.15.11
[INFO] [stderr]     Checking serde_json v1.0.150
[INFO] [stderr]    Compiling dashu-ratio v0.4.3
[INFO] [stderr]    Compiling peg-macros v0.8.6
[INFO] [stderr]     Checking rand v0.8.6
[INFO] [stderr]     Checking env_filter v2.0.0
[INFO] [stderr]    Compiling proc-macro-crate v3.5.0
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking itertools v0.13.0
[INFO] [stderr]     Checking number_prefix v0.4.0
[INFO] [stderr]     Checking rustc-hash v2.1.2
[INFO] [stderr]     Checking roots v0.0.8
[INFO] [stderr]     Checking vf2 v1.0.1
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]    Compiling dashu-macros v0.4.2
[INFO] [stderr]     Checking indicatif v0.17.11
[INFO] [stderr]     Checking peg v0.8.6
[INFO] [stderr]    Compiling lalrpop v0.19.12
[INFO] [stderr]    Compiling logos-derive v0.12.1
[INFO] [stderr]     Checking ndarray v0.16.1
[INFO] [stderr]     Checking dashu v0.4.4
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling nalgebra-macros v0.2.2
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling derive_more-impl v1.0.0
[INFO] [stderr]    Compiling strum_macros v0.25.3
[INFO] [stderr]     Checking env_logger v0.11.11
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking logos v0.12.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking clap v4.6.1
[INFO] [stderr]     Checking derive_more v1.0.0
[INFO] [stderr]     Checking nalgebra v0.33.3
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]     Checking rstest v0.23.0
[INFO] [stderr]    Compiling openqasm v0.1.2
[INFO] [stderr]     Checking quizx v0.3.0
[INFO] [stderr]     Checking rsgridsynth v0.2.0
[INFO] [stderr]     Checking QPalRust v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `VData`
[INFO] [stdout]  --> src/lib.rs:7:31
[INFO] [stdout]   |
[INFO] [stdout] 7 | use quizx::graph::{GraphLike, VData, VType};
[INFO] [stdout]   |                               ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `quizx::params::Parity`
[INFO] [stdout]  --> src/lib.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use quizx::params::Parity;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `quizx::phase::Phase`
[INFO] [stdout]  --> src/lib.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use quizx::phase::Phase;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `common::GateList::CompactGateData`
[INFO] [stdout]   --> src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use common::GateList::CompactGateData;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Display`
[INFO] [stdout]  --> src/common/GateList.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fmt::Display;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]  --> src/zx_diagram/zxdiagram.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cmp::max;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/zx_diagram/zxdiagram.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num::rational::Rational64`
[INFO] [stdout]  --> src/zx_diagram/zxdiagram.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use num::rational::Rational64;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `petgraph::prelude::*`
[INFO] [stdout]  --> src/zx_diagram/zxdiagram.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use petgraph::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `petgraph::prelude::StableGraph`
[INFO] [stdout]  --> src/zx_diagram/zxdiagram.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use petgraph::prelude::StableGraph;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Expr`
[INFO] [stdout]   --> src/zx_diagram/zxdiagram.rs:12:21
[INFO] [stdout]    |
[INFO] [stdout] 12 | use quizx::params::{Expr, Parity};
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `quizx::tensor::ToTensor`
[INFO] [stdout]   --> src/zx_diagram/zxdiagram.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use quizx::tensor::ToTensor;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error` and `info`
[INFO] [stdout]   --> src/zx_diagram/zxdiagram.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 15 | use tracing::{error, info, warn};
[INFO] [stdout]    |               ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vf2::induced_subgraph_isomorphisms`
[INFO] [stdout]   --> src/zx_diagram/zxdiagram.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use vf2::induced_subgraph_isomorphisms;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GridSynthConfig`
[INFO] [stdout]   --> src/zx_diagram/zxdiagram.rs:22:27
[INFO] [stdout]    |
[INFO] [stdout] 22 | use rsgridsynth::config::{GridSynthConfig, config_from_theta_epsilon};
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:358:78
[INFO] [stdout]     |
[INFO] [stdout] 358 |         let (_, gphase5 ) = self.clifford_t_approximation(VType::Z, &target, (-(delta+beta)/2.0), position.clone());
[INFO] [stdout]     |                                                                              ^                 ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 358 -         let (_, gphase5 ) = self.clifford_t_approximation(VType::Z, &target, (-(delta+beta)/2.0), position.clone());
[INFO] [stdout] 358 +         let (_, gphase5 ) = self.clifford_t_approximation(VType::Z, &target, -(delta+beta)/2.0, position.clone());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:362:78
[INFO] [stdout]     |
[INFO] [stdout] 362 |         let (_, gphase6 ) = self.clifford_t_approximation(VType::Z, &target, ((delta-beta)/2.0), position.clone());
[INFO] [stdout]     |                                                                              ^                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 362 -         let (_, gphase6 ) = self.clifford_t_approximation(VType::Z, &target, ((delta-beta)/2.0), position.clone());
[INFO] [stdout] 362 +         let (_, gphase6 ) = self.clifford_t_approximation(VType::Z, &target, (delta-beta)/2.0, position.clone());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:386:78
[INFO] [stdout]     |
[INFO] [stdout] 386 |         let (_, gphase5 ) = self.clifford_t_approximation(VType::Z, &target, (-(delta+beta)/2.0), position.clone());
[INFO] [stdout]     |                                                                              ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 386 -         let (_, gphase5 ) = self.clifford_t_approximation(VType::Z, &target, (-(delta+beta)/2.0), position.clone());
[INFO] [stdout] 386 +         let (_, gphase5 ) = self.clifford_t_approximation(VType::Z, &target, -(delta+beta)/2.0, position.clone());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:392:78
[INFO] [stdout]     |
[INFO] [stdout] 392 |         let (_, gphase6 ) = self.clifford_t_approximation(VType::Z, &target, ((delta-beta)/2.0), position.clone());
[INFO] [stdout]     |                                                                              ^                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 392 -         let (_, gphase6 ) = self.clifford_t_approximation(VType::Z, &target, ((delta-beta)/2.0), position.clone());
[INFO] [stdout] 392 +         let (_, gphase6 ) = self.clifford_t_approximation(VType::Z, &target, (delta-beta)/2.0, position.clone());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:429:78
[INFO] [stdout]     |
[INFO] [stdout] 429 |         let (_, gphase_5) = self.clifford_t_approximation(VType::Z, &target, (-(delta+beta)/2.0), position.clone());
[INFO] [stdout]     |                                                                              ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 429 -         let (_, gphase_5) = self.clifford_t_approximation(VType::Z, &target, (-(delta+beta)/2.0), position.clone());
[INFO] [stdout] 429 +         let (_, gphase_5) = self.clifford_t_approximation(VType::Z, &target, -(delta+beta)/2.0, position.clone());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:434:78
[INFO] [stdout]     |
[INFO] [stdout] 434 |         let (_, gphase_7) = self.clifford_t_approximation(VType::Z, &target, ((delta-beta)/2.0), position.clone());
[INFO] [stdout]     |                                                                              ^                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 434 -         let (_, gphase_7) = self.clifford_t_approximation(VType::Z, &target, ((delta-beta)/2.0), position.clone());
[INFO] [stdout] 434 +         let (_, gphase_7) = self.clifford_t_approximation(VType::Z, &target, (delta-beta)/2.0, position.clone());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::common::expr::Expr::Version`
[INFO] [stdout]  --> src/zx_diagram/ast2zx.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::common::expr::Expr::Version;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::math::classical_dtype::ClassicalDType`
[INFO] [stdout]  --> src/zx_diagram/phase.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::math::classical_dtype::ClassicalDType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/zx_diagram/phase.rs:49:18
[INFO] [stdout]    |
[INFO] [stdout] 49 |             f -= (2.0 *pi);
[INFO] [stdout]    |                  ^       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 49 -             f -= (2.0 *pi);
[INFO] [stdout] 49 +             f -= 2.0 *pi;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/math/classical_dtype.rs:457:13
[INFO] [stdout]     |
[INFO] [stdout] 457 |             ((pi_value*std::f64::consts::PI)+remainder_value)
[INFO] [stdout]     |             ^                                               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 457 -             ((pi_value*std::f64::consts::PI)+remainder_value)
[INFO] [stdout] 457 +             (pi_value*std::f64::consts::PI)+remainder_value
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/math/operations.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::task::Context`
[INFO] [stdout]  --> src/math/operations.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::task::Context;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/code_clone_detection/CodeCloneDetection.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use tracing::{info, warn};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `VData`
[INFO] [stdout]  --> src/lib.rs:7:31
[INFO] [stdout]   |
[INFO] [stdout] 7 | use quizx::graph::{GraphLike, VData, VType};
[INFO] [stdout]   |                               ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `quizx::params::Parity`
[INFO] [stdout]  --> src/lib.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use quizx::params::Parity;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `quizx::phase::Phase`
[INFO] [stdout]  --> src/lib.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use quizx::phase::Phase;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `common::GateList::CompactGateData`
[INFO] [stdout]   --> src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use common::GateList::CompactGateData;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Display`
[INFO] [stdout]  --> src/common/GateList.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fmt::Display;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]  --> src/zx_diagram/zxdiagram.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cmp::max;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/zx_diagram/zxdiagram.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num::rational::Rational64`
[INFO] [stdout]  --> src/zx_diagram/zxdiagram.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use num::rational::Rational64;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `petgraph::prelude::*`
[INFO] [stdout]  --> src/zx_diagram/zxdiagram.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use petgraph::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `petgraph::prelude::StableGraph`
[INFO] [stdout]  --> src/zx_diagram/zxdiagram.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use petgraph::prelude::StableGraph;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Expr`
[INFO] [stdout]   --> src/zx_diagram/zxdiagram.rs:12:21
[INFO] [stdout]    |
[INFO] [stdout] 12 | use quizx::params::{Expr, Parity};
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `quizx::tensor::ToTensor`
[INFO] [stdout]   --> src/zx_diagram/zxdiagram.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use quizx::tensor::ToTensor;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error` and `info`
[INFO] [stdout]   --> src/zx_diagram/zxdiagram.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 15 | use tracing::{error, info, warn};
[INFO] [stdout]    |               ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vf2::induced_subgraph_isomorphisms`
[INFO] [stdout]   --> src/zx_diagram/zxdiagram.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use vf2::induced_subgraph_isomorphisms;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GridSynthConfig`
[INFO] [stdout]   --> src/zx_diagram/zxdiagram.rs:22:27
[INFO] [stdout]    |
[INFO] [stdout] 22 | use rsgridsynth::config::{GridSynthConfig, config_from_theta_epsilon};
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:358:78
[INFO] [stdout]     |
[INFO] [stdout] 358 |         let (_, gphase5 ) = self.clifford_t_approximation(VType::Z, &target, (-(delta+beta)/2.0), position.clone());
[INFO] [stdout]     |                                                                              ^                 ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 358 -         let (_, gphase5 ) = self.clifford_t_approximation(VType::Z, &target, (-(delta+beta)/2.0), position.clone());
[INFO] [stdout] 358 +         let (_, gphase5 ) = self.clifford_t_approximation(VType::Z, &target, -(delta+beta)/2.0, position.clone());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:362:78
[INFO] [stdout]     |
[INFO] [stdout] 362 |         let (_, gphase6 ) = self.clifford_t_approximation(VType::Z, &target, ((delta-beta)/2.0), position.clone());
[INFO] [stdout]     |                                                                              ^                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 362 -         let (_, gphase6 ) = self.clifford_t_approximation(VType::Z, &target, ((delta-beta)/2.0), position.clone());
[INFO] [stdout] 362 +         let (_, gphase6 ) = self.clifford_t_approximation(VType::Z, &target, (delta-beta)/2.0, position.clone());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:386:78
[INFO] [stdout]     |
[INFO] [stdout] 386 |         let (_, gphase5 ) = self.clifford_t_approximation(VType::Z, &target, (-(delta+beta)/2.0), position.clone());
[INFO] [stdout]     |                                                                              ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 386 -         let (_, gphase5 ) = self.clifford_t_approximation(VType::Z, &target, (-(delta+beta)/2.0), position.clone());
[INFO] [stdout] 386 +         let (_, gphase5 ) = self.clifford_t_approximation(VType::Z, &target, -(delta+beta)/2.0, position.clone());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:392:78
[INFO] [stdout]     |
[INFO] [stdout] 392 |         let (_, gphase6 ) = self.clifford_t_approximation(VType::Z, &target, ((delta-beta)/2.0), position.clone());
[INFO] [stdout]     |                                                                              ^                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 392 -         let (_, gphase6 ) = self.clifford_t_approximation(VType::Z, &target, ((delta-beta)/2.0), position.clone());
[INFO] [stdout] 392 +         let (_, gphase6 ) = self.clifford_t_approximation(VType::Z, &target, (delta-beta)/2.0, position.clone());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:429:78
[INFO] [stdout]     |
[INFO] [stdout] 429 |         let (_, gphase_5) = self.clifford_t_approximation(VType::Z, &target, (-(delta+beta)/2.0), position.clone());
[INFO] [stdout]     |                                                                              ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 429 -         let (_, gphase_5) = self.clifford_t_approximation(VType::Z, &target, (-(delta+beta)/2.0), position.clone());
[INFO] [stdout] 429 +         let (_, gphase_5) = self.clifford_t_approximation(VType::Z, &target, -(delta+beta)/2.0, position.clone());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:434:78
[INFO] [stdout]     |
[INFO] [stdout] 434 |         let (_, gphase_7) = self.clifford_t_approximation(VType::Z, &target, ((delta-beta)/2.0), position.clone());
[INFO] [stdout]     |                                                                              ^                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 434 -         let (_, gphase_7) = self.clifford_t_approximation(VType::Z, &target, ((delta-beta)/2.0), position.clone());
[INFO] [stdout] 434 +         let (_, gphase_7) = self.clifford_t_approximation(VType::Z, &target, (delta-beta)/2.0, position.clone());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::common::expr::Expr::Version`
[INFO] [stdout]  --> src/zx_diagram/ast2zx.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::common::expr::Expr::Version;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::math::classical_dtype::ClassicalDType`
[INFO] [stdout]  --> src/zx_diagram/phase.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::math::classical_dtype::ClassicalDType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/zx_diagram/phase.rs:49:18
[INFO] [stdout]    |
[INFO] [stdout] 49 |             f -= (2.0 *pi);
[INFO] [stdout]    |                  ^       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 49 -             f -= (2.0 *pi);
[INFO] [stdout] 49 +             f -= 2.0 *pi;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/math/classical_dtype.rs:457:13
[INFO] [stdout]     |
[INFO] [stdout] 457 |             ((pi_value*std::f64::consts::PI)+remainder_value)
[INFO] [stdout]     |             ^                                               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 457 -             ((pi_value*std::f64::consts::PI)+remainder_value)
[INFO] [stdout] 457 +             (pi_value*std::f64::consts::PI)+remainder_value
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/math/operations.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::task::Context`
[INFO] [stdout]  --> src/math/operations.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::task::Context;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/code_clone_detection/CodeCloneDetection.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use tracing::{info, warn};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num::ToPrimitive`
[INFO] [stdout]  --> src/zx_diagram/zxdiagram.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use num::ToPrimitive;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `petgraph::data::Build`
[INFO] [stdout]  --> src/zx_diagram/zxdiagram.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use petgraph::data::Build;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num::ToPrimitive`
[INFO] [stdout]  --> src/zx_diagram/zxdiagram.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use num::ToPrimitive;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `petgraph::data::Build`
[INFO] [stdout]  --> src/zx_diagram/zxdiagram.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use petgraph::data::Build;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expression`
[INFO] [stdout]   --> src/common/gate.rs:28:35
[INFO] [stdout]    |
[INFO] [stdout] 28 |         if let GateModifier{modi, expression} = expr {
[INFO] [stdout]    |                                   ^^^^^^^^^^ help: try ignoring the field: `expression: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:307:13
[INFO] [stdout]     |
[INFO] [stdout] 307 |         let mut a = self.graph.neighbor_vec(source_idx)[0];
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alpha`
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:324:34
[INFO] [stdout]     |
[INFO] [stdout] 324 |     pub fn add_U_gate(&mut self, alpha: f64, beta: f64, gamma: f64, delta: f64, target: String, position: Span) -> SpiderIdx {
[INFO] [stdout]     |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `idx_8`
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:381:13
[INFO] [stdout]     |
[INFO] [stdout] 381 |         let idx_8=self.connect(idx_5, idx_7);
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_idx_8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `idx_9`
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:382:13
[INFO] [stdout]     |
[INFO] [stdout] 382 |         let idx_9=self.connect(idx_6, idx_7);
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_idx_9`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `idx_16`
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:390:13
[INFO] [stdout]     |
[INFO] [stdout] 390 |         let idx_16=self.connect(idx_13, idx_15);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_idx_16`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `idx_17`
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:391:13
[INFO] [stdout]     |
[INFO] [stdout] 391 |         let idx_17=self.connect(idx_14, idx_15);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_idx_17`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:460:17
[INFO] [stdout]     |
[INFO] [stdout] 460 |             let mut x_idx = self.add_free_spider(Phase::PPI, VType::X, position, None);
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/zx_diagram/ast2zx.rs:175:23
[INFO] [stdout]     |
[INFO] [stdout] 175 |         Expr::Alias { name, alias } => {
[INFO] [stdout]     |                       ^^^^ help: try ignoring the field: `name: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alias`
[INFO] [stdout]    --> src/zx_diagram/ast2zx.rs:175:29
[INFO] [stdout]     |
[INFO] [stdout] 175 |         Expr::Alias { name, alias } => {
[INFO] [stdout]     |                             ^^^^^ help: try ignoring the field: `alias: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xprl`
[INFO] [stdout]    --> src/math/operations.rs:305:17
[INFO] [stdout]     |
[INFO] [stdout] 305 | pub fn popcount(xprl: &Vec<Expr>, context:&crate::zx_diagram::ast2zx::Context) -> ClassicalDType {
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_xprl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/math/operations.rs:305:35
[INFO] [stdout]     |
[INFO] [stdout] 305 | pub fn popcount(xprl: &Vec<Expr>, context:&crate::zx_diagram::ast2zx::Context) -> ClassicalDType {
[INFO] [stdout]     |                                   ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s1`
[INFO] [stdout]    --> src/math/operations.rs:323:45
[INFO] [stdout]     |
[INFO] [stdout] 323 |         (Ok(ClassicalDType::Complex { size: s1, real: r1, imag: i1 }), Ok(ClassicalDType::Complex { size: s2, real: r2, imag: i2 }))
[INFO] [stdout]     |                                             ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1`
[INFO] [stdout]    --> src/math/operations.rs:323:55
[INFO] [stdout]     |
[INFO] [stdout] 323 |         (Ok(ClassicalDType::Complex { size: s1, real: r1, imag: i1 }), Ok(ClassicalDType::Complex { size: s2, real: r2, imag: i2 }))
[INFO] [stdout]     |                                                       ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i1`
[INFO] [stdout]    --> src/math/operations.rs:323:65
[INFO] [stdout]     |
[INFO] [stdout] 323 |         (Ok(ClassicalDType::Complex { size: s1, real: r1, imag: i1 }), Ok(ClassicalDType::Complex { size: s2, real: r2, imag: i2 }))
[INFO] [stdout]     |                                                                 ^^ help: if this is intentional, prefix it with an underscore: `_i1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s2`
[INFO] [stdout]    --> src/math/operations.rs:323:107
[INFO] [stdout]     |
[INFO] [stdout] 323 |         (Ok(ClassicalDType::Complex { size: s1, real: r1, imag: i1 }), Ok(ClassicalDType::Complex { size: s2, real: r2, imag: i2 }))
[INFO] [stdout]     |                                                                                                           ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r2`
[INFO] [stdout]    --> src/math/operations.rs:323:117
[INFO] [stdout]     |
[INFO] [stdout] 323 |         (Ok(ClassicalDType::Complex { size: s1, real: r1, imag: i1 }), Ok(ClassicalDType::Complex { size: s2, real: r2, imag: i2 }))
[INFO] [stdout]     |                                                                                                                     ^^ help: if this is intentional, prefix it with an underscore: `_r2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i2`
[INFO] [stdout]    --> src/math/operations.rs:323:127
[INFO] [stdout]     |
[INFO] [stdout] 323 |         (Ok(ClassicalDType::Complex { size: s1, real: r1, imag: i1 }), Ok(ClassicalDType::Complex { size: s2, real: r2, imag: i2 }))
[INFO] [stdout]     |                                                                                                                               ^^ help: if this is intentional, prefix it with an underscore: `_i2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]    --> src/math/operations.rs:341:36
[INFO] [stdout]     |
[INFO] [stdout] 341 |         Ok(ClassicalDType::Complex{size, imag, real}) => {
[INFO] [stdout]     |                                    ^^^^ help: try ignoring the field: `size: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/math/operations.rs:341:42
[INFO] [stdout]     |
[INFO] [stdout] 341 |         Ok(ClassicalDType::Complex{size, imag, real}) => {
[INFO] [stdout]     |                                          ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `real`
[INFO] [stdout]    --> src/math/operations.rs:341:48
[INFO] [stdout]     |
[INFO] [stdout] 341 |         Ok(ClassicalDType::Complex{size, imag, real}) => {
[INFO] [stdout]     |                                                ^^^^ help: try ignoring the field: `real: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let mut zx = con.zx;
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_length`
[INFO] [stdout]   --> src/lib.rs:86:95
[INFO] [stdout]    |
[INFO] [stdout] 86 | ...>, min_length: usize, max_length:usize, epsilon:f64) -> (Context, Vec<Vec<Vec<usize>>>) {
[INFO] [stdout]    |                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expression`
[INFO] [stdout]   --> src/common/gate.rs:28:35
[INFO] [stdout]    |
[INFO] [stdout] 28 |         if let GateModifier{modi, expression} = expr {
[INFO] [stdout]    |                                   ^^^^^^^^^^ help: try ignoring the field: `expression: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pos_to_content` is never used
[INFO] [stdout]    --> src/lib.rs:149:4
[INFO] [stdout]     |
[INFO] [stdout] 149 | fn pos_to_content(start: &usize, end: &usize, input: &str) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `none` is never used
[INFO] [stdout]   --> src/common/expr.rs:20:19
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Span {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 20 |     pub(crate) fn none() -> Span {
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `clear_edges` is never used
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:590:8
[INFO] [stdout]     |
[INFO] [stdout] 137 | impl ZXDiagram {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 590 |     fn clear_edges(&mut self, v:SpiderIdx){
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `GateList` should have a snake case name
[INFO] [stdout]  --> src/common.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub mod GateList;
[INFO] [stdout]   |         ^^^^^^^^ help: convert the identifier to snake case: `gate_list`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_ClassicalDtype` should have a snake case name
[INFO] [stdout]   --> src/common/GateList.rs:83:12
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub fn to_ClassicalDtype(&self) -> ClassicalDType {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `to_classical_dtype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_U_gate` should have a snake case name
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:324:12
[INFO] [stdout]     |
[INFO] [stdout] 324 |     pub fn add_U_gate(&mut self, alpha: f64, beta: f64, gamma: f64, delta: f64, target: String, position: Span) -> SpiderIdx {
[INFO] [stdout]     |            ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `add_u_gate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_CU_gate` should have a snake case name
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:345:12
[INFO] [stdout]     |
[INFO] [stdout] 345 |     pub fn add_CU_gate(&mut self, alpha: f64, beta: f64, gamma: f64, delta: f64, control: String, target: String, position: Span) {
[INFO] [stdout]     |            ^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `add_cu_gate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_iCU_gate` should have a snake case name
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:372:12
[INFO] [stdout]     |
[INFO] [stdout] 372 |     pub fn add_iCU_gate(&mut self, alpha: f64, beta: f64, gamma: f64, delta: f64, control: String, target: String, position: Span) {
[INFO] [stdout]     |            ^^^^^^^^^^^^ help: convert the identifier to snake case: `add_i_cu_gate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_multiCU_gate` should have a snake case name
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:403:8
[INFO] [stdout]     |
[INFO] [stdout] 403 |     fn add_multiCU_gate(&mut self, alpha: f64, beta: f64, gamma: f64, delta: f64,
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_multi_cu_gate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_AND` should have a snake case name
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:491:8
[INFO] [stdout]     |
[INFO] [stdout] 491 |     fn add_AND(&mut self, a: SpiderIdx, b: SpiderIdx, position: Span) -> SpiderIdx {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case: `add_and`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `CodeCloneDetection` should have a snake case name
[INFO] [stdout]  --> src/code_clone_detection.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod CodeCloneDetection;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `code_clone_detection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:307:13
[INFO] [stdout]     |
[INFO] [stdout] 307 |         let mut a = self.graph.neighbor_vec(source_idx)[0];
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alpha`
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:324:34
[INFO] [stdout]     |
[INFO] [stdout] 324 |     pub fn add_U_gate(&mut self, alpha: f64, beta: f64, gamma: f64, delta: f64, target: String, position: Span) -> SpiderIdx {
[INFO] [stdout]     |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `idx_8`
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:381:13
[INFO] [stdout]     |
[INFO] [stdout] 381 |         let idx_8=self.connect(idx_5, idx_7);
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_idx_8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `idx_9`
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:382:13
[INFO] [stdout]     |
[INFO] [stdout] 382 |         let idx_9=self.connect(idx_6, idx_7);
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_idx_9`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `idx_16`
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:390:13
[INFO] [stdout]     |
[INFO] [stdout] 390 |         let idx_16=self.connect(idx_13, idx_15);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_idx_16`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `idx_17`
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:391:13
[INFO] [stdout]     |
[INFO] [stdout] 391 |         let idx_17=self.connect(idx_14, idx_15);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_idx_17`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:460:17
[INFO] [stdout]     |
[INFO] [stdout] 460 |             let mut x_idx = self.add_free_spider(Phase::PPI, VType::X, position, None);
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/zx_diagram/ast2zx.rs:175:23
[INFO] [stdout]     |
[INFO] [stdout] 175 |         Expr::Alias { name, alias } => {
[INFO] [stdout]     |                       ^^^^ help: try ignoring the field: `name: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alias`
[INFO] [stdout]    --> src/zx_diagram/ast2zx.rs:175:29
[INFO] [stdout]     |
[INFO] [stdout] 175 |         Expr::Alias { name, alias } => {
[INFO] [stdout]     |                             ^^^^^ help: try ignoring the field: `alias: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xprl`
[INFO] [stdout]    --> src/math/operations.rs:305:17
[INFO] [stdout]     |
[INFO] [stdout] 305 | pub fn popcount(xprl: &Vec<Expr>, context:&crate::zx_diagram::ast2zx::Context) -> ClassicalDType {
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_xprl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/math/operations.rs:305:35
[INFO] [stdout]     |
[INFO] [stdout] 305 | pub fn popcount(xprl: &Vec<Expr>, context:&crate::zx_diagram::ast2zx::Context) -> ClassicalDType {
[INFO] [stdout]     |                                   ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s1`
[INFO] [stdout]    --> src/math/operations.rs:323:45
[INFO] [stdout]     |
[INFO] [stdout] 323 |         (Ok(ClassicalDType::Complex { size: s1, real: r1, imag: i1 }), Ok(ClassicalDType::Complex { size: s2, real: r2, imag: i2 }))
[INFO] [stdout]     |                                             ^^ help: if this is intentional, prefix it with an underscore: `_s1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1`
[INFO] [stdout]    --> src/math/operations.rs:323:55
[INFO] [stdout]     |
[INFO] [stdout] 323 |         (Ok(ClassicalDType::Complex { size: s1, real: r1, imag: i1 }), Ok(ClassicalDType::Complex { size: s2, real: r2, imag: i2 }))
[INFO] [stdout]     |                                                       ^^ help: if this is intentional, prefix it with an underscore: `_r1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i1`
[INFO] [stdout]    --> src/math/operations.rs:323:65
[INFO] [stdout]     |
[INFO] [stdout] 323 |         (Ok(ClassicalDType::Complex { size: s1, real: r1, imag: i1 }), Ok(ClassicalDType::Complex { size: s2, real: r2, imag: i2 }))
[INFO] [stdout]     |                                                                 ^^ help: if this is intentional, prefix it with an underscore: `_i1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s2`
[INFO] [stdout]    --> src/math/operations.rs:323:107
[INFO] [stdout]     |
[INFO] [stdout] 323 |         (Ok(ClassicalDType::Complex { size: s1, real: r1, imag: i1 }), Ok(ClassicalDType::Complex { size: s2, real: r2, imag: i2 }))
[INFO] [stdout]     |                                                                                                           ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r2`
[INFO] [stdout]    --> src/math/operations.rs:323:117
[INFO] [stdout]     |
[INFO] [stdout] 323 |         (Ok(ClassicalDType::Complex { size: s1, real: r1, imag: i1 }), Ok(ClassicalDType::Complex { size: s2, real: r2, imag: i2 }))
[INFO] [stdout]     |                                                                                                                     ^^ help: if this is intentional, prefix it with an underscore: `_r2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i2`
[INFO] [stdout]    --> src/math/operations.rs:323:127
[INFO] [stdout]     |
[INFO] [stdout] 323 |         (Ok(ClassicalDType::Complex { size: s1, real: r1, imag: i1 }), Ok(ClassicalDType::Complex { size: s2, real: r2, imag: i2 }))
[INFO] [stdout]     |                                                                                                                               ^^ help: if this is intentional, prefix it with an underscore: `_i2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]    --> src/math/operations.rs:341:36
[INFO] [stdout]     |
[INFO] [stdout] 341 |         Ok(ClassicalDType::Complex{size, imag, real}) => {
[INFO] [stdout]     |                                    ^^^^ help: try ignoring the field: `size: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `imag`
[INFO] [stdout]    --> src/math/operations.rs:341:42
[INFO] [stdout]     |
[INFO] [stdout] 341 |         Ok(ClassicalDType::Complex{size, imag, real}) => {
[INFO] [stdout]     |                                          ^^^^ help: try ignoring the field: `imag: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `real`
[INFO] [stdout]    --> src/math/operations.rs:341:48
[INFO] [stdout]     |
[INFO] [stdout] 341 |         Ok(ClassicalDType::Complex{size, imag, real}) => {
[INFO] [stdout]     |                                                ^^^^ help: try ignoring the field: `real: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let mut zx = con.zx;
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_length`
[INFO] [stdout]   --> src/lib.rs:86:95
[INFO] [stdout]    |
[INFO] [stdout] 86 | ...>, min_length: usize, max_length:usize, epsilon:f64) -> (Context, Vec<Vec<Vec<usize>>>) {
[INFO] [stdout]    |                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pos_to_content` is never used
[INFO] [stdout]    --> src/lib.rs:149:4
[INFO] [stdout]     |
[INFO] [stdout] 149 | fn pos_to_content(start: &usize, end: &usize, input: &str) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `none` is never used
[INFO] [stdout]   --> src/common/expr.rs:20:19
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Span {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 20 |     pub(crate) fn none() -> Span {
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `clear_edges` is never used
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:590:8
[INFO] [stdout]     |
[INFO] [stdout] 137 | impl ZXDiagram {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 590 |     fn clear_edges(&mut self, v:SpiderIdx){
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `QPalRust` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `qpal_rust`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `GateList` should have a snake case name
[INFO] [stdout]  --> src/common.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub mod GateList;
[INFO] [stdout]   |         ^^^^^^^^ help: convert the identifier to snake case: `gate_list`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_ClassicalDtype` should have a snake case name
[INFO] [stdout]   --> src/common/GateList.rs:83:12
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub fn to_ClassicalDtype(&self) -> ClassicalDType {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `to_classical_dtype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_U_gate` should have a snake case name
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:324:12
[INFO] [stdout]     |
[INFO] [stdout] 324 |     pub fn add_U_gate(&mut self, alpha: f64, beta: f64, gamma: f64, delta: f64, target: String, position: Span) -> SpiderIdx {
[INFO] [stdout]     |            ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `add_u_gate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_CU_gate` should have a snake case name
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:345:12
[INFO] [stdout]     |
[INFO] [stdout] 345 |     pub fn add_CU_gate(&mut self, alpha: f64, beta: f64, gamma: f64, delta: f64, control: String, target: String, position: Span) {
[INFO] [stdout]     |            ^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `add_cu_gate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_iCU_gate` should have a snake case name
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:372:12
[INFO] [stdout]     |
[INFO] [stdout] 372 |     pub fn add_iCU_gate(&mut self, alpha: f64, beta: f64, gamma: f64, delta: f64, control: String, target: String, position: Span) {
[INFO] [stdout]     |            ^^^^^^^^^^^^ help: convert the identifier to snake case: `add_i_cu_gate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_multiCU_gate` should have a snake case name
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:403:8
[INFO] [stdout]     |
[INFO] [stdout] 403 |     fn add_multiCU_gate(&mut self, alpha: f64, beta: f64, gamma: f64, delta: f64,
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_multi_cu_gate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_AND` should have a snake case name
[INFO] [stdout]    --> src/zx_diagram/zxdiagram.rs:491:8
[INFO] [stdout]     |
[INFO] [stdout] 491 |     fn add_AND(&mut self, a: SpiderIdx, b: SpiderIdx, position: Span) -> SpiderIdx {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case: `add_and`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `CodeCloneDetection` should have a snake case name
[INFO] [stdout]  --> src/code_clone_detection.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod CodeCloneDetection;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `code_clone_detection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `quizx::extract::ToCircuit`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use quizx::extract::ToCircuit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `quizx::simplify::full_simp`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use quizx::simplify::full_simp;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing::info`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tracing::info;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `find_subcircut_duplicates` and `simplify_circuit_with_supergates`
[INFO] [stdout]  --> src/main.rs:8:16
[INFO] [stdout]   |
[INFO] [stdout] 8 | use QPalRust::{find_subcircut_duplicates, get_gate_list, parse_open_qasm_3, simplify_circuit_with_supergates};
[INFO] [stdout]   |                ^^^^^^^^^^^^^^^^^^^^^^^^^                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `QPalRust::zx_diagram::ast2zx::parse`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use QPalRust::zx_diagram::ast2zx::parse;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `QPalRust::zx_diagram::zxdiagram::ZXDiagram`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use QPalRust::zx_diagram::zxdiagram::ZXDiagram;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `quizx::extract::ToCircuit`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use quizx::extract::ToCircuit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `quizx::simplify::full_simp`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use quizx::simplify::full_simp;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing::info`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tracing::info;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `find_subcircut_duplicates` and `simplify_circuit_with_supergates`
[INFO] [stdout]  --> src/main.rs:8:16
[INFO] [stdout]   |
[INFO] [stdout] 8 | use QPalRust::{find_subcircut_duplicates, get_gate_list, parse_open_qasm_3, simplify_circuit_with_supergates};
[INFO] [stdout]   |                ^^^^^^^^^^^^^^^^^^^^^^^^^                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `QPalRust::zx_diagram::ast2zx::parse`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use QPalRust::zx_diagram::ast2zx::parse;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `QPalRust::zx_diagram::zxdiagram::ZXDiagram`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use QPalRust::zx_diagram::zxdiagram::ZXDiagram;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io`
[INFO] [stdout]  --> tests/code_clone_detection.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use std::{fs, io};
[INFO] [stdout]   |                   ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> tests/code_clone_detection.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     use std::io::Write;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ast`
[INFO] [stdout]   --> tests/arrays.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let ast = parse_open_qasm_3_string(
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_ast`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io`
[INFO] [stdout]  --> tests/parsing.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use std::{fs, io};
[INFO] [stdout]   |                   ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> tests/parsing.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     use std::io::Write;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PiStableFloat`
[INFO] [stdout]  --> tests/get_gate_list.rs:5:65
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use QPalRust::common::GateList::{CompactGateData, GateName, PiStableFloat};
[INFO] [stdout]   |                                                                 ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s
[INFO] running `Command { std: "docker" "inspect" "2d7588da4f51fc329ac698e52dd381754882c586dcfe5ac3e0117dcb24fffbd1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2d7588da4f51fc329ac698e52dd381754882c586dcfe5ac3e0117dcb24fffbd1", kill_on_drop: false }`
[INFO] [stdout] 2d7588da4f51fc329ac698e52dd381754882c586dcfe5ac3e0117dcb24fffbd1
