[INFO] cloning repository https://github.com/to24toro/diraq
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/to24toro/diraq" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fto24toro%2Fdiraq", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fto24toro%2Fdiraq'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1b15bd76efe667a4ce84b474ade2e07eeb48cd29
[INFO] checking to24toro/diraq against try#012cd62c9add58ab3910e44c137d87db3ab70f61 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fto24toro%2Fdiraq" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/to24toro/diraq
[INFO] finished tweaking git repo https://github.com/to24toro/diraq
[INFO] tweaked toml for git repo https://github.com/to24toro/diraq written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/to24toro/diraq on toolchain 012cd62c9add58ab3910e44c137d87db3ab70f61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/to24toro/diraq 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" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "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 getrandom v0.2.7
[INFO] [stderr]   Downloaded matrixmultiply v0.3.2
[INFO] [stderr]   Downloaded libc v0.2.134
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 371fe06afe67ac02bff0fb2bc3e304d8a1a30c99f604df6742c1a9a76064c28a
[INFO] running `Command { std: "docker" "start" "-a" "371fe06afe67ac02bff0fb2bc3e304d8a1a30c99f604df6742c1a9a76064c28a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "371fe06afe67ac02bff0fb2bc3e304d8a1a30c99f604df6742c1a9a76064c28a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "371fe06afe67ac02bff0fb2bc3e304d8a1a30c99f604df6742c1a9a76064c28a", kill_on_drop: false }`
[INFO] [stdout] 371fe06afe67ac02bff0fb2bc3e304d8a1a30c99f604df6742c1a9a76064c28a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d6f925449d8f046d65ba8a4227bb485126a0b04da6f9dfa123c4eaeafff6f7de
[INFO] running `Command { std: "docker" "start" "-a" "d6f925449d8f046d65ba8a4227bb485126a0b04da6f9dfa123c4eaeafff6f7de", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling libc v0.2.134
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]     Checking matrixmultiply v0.3.2
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking num-complex v0.4.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking ndarray v0.15.6
[INFO] [stderr]     Checking num v0.4.0
[INFO] [stderr]     Checking diraq v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::f64::consts::PI`
[INFO] [stdout]  --> src/algebra/complex.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::f64::consts::PI;
[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: `crate::circuit`
[INFO] [stdout]  --> src/circuit/circuit.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::circuit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f64::EPSILON`
[INFO] [stdout]   --> src/circuit/circuit.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::f64::EPSILON;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prelude::Array2`
[INFO] [stdout]  --> src/gate/base_gates.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray::{array, prelude::Array2};
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `array`
[INFO] [stdout]  --> src/state/state.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ndarray::{array, prelude::Array1};
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DoubleGate` and `SingleGate`
[INFO] [stdout]  --> src/main.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 | use gate::base_gates::{DoubleGate, SingleGate};
[INFO] [stdout]   |                        ^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f64::consts::PI`
[INFO] [stdout]  --> src/algebra/complex.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::f64::consts::PI;
[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: `crate::circuit`
[INFO] [stdout]  --> src/circuit/circuit.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::circuit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prelude::Array2`
[INFO] [stdout]  --> src/gate/base_gates.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray::{array, prelude::Array2};
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `array`
[INFO] [stdout]  --> src/state/state.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ndarray::{array, prelude::Array1};
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DoubleGate` and `SingleGate`
[INFO] [stdout]  --> src/main.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 | use gate::base_gates::{DoubleGate, SingleGate};
[INFO] [stdout]   |                        ^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Zero`
[INFO] [stdout]   --> src/circuit/circuit.rs:10:34
[INFO] [stdout]    |
[INFO] [stdout] 10 | use num::{complex::Complex, One, Zero};
[INFO] [stdout]    |                                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `One`
[INFO] [stdout]   --> src/circuit/circuit.rs:10:29
[INFO] [stdout]    |
[INFO] [stdout] 10 | use num::{complex::Complex, One, Zero};
[INFO] [stdout]    |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num::complex::ComplexFloat`
[INFO] [stdout]  --> src/circuit/circuit.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use num::complex::ComplexFloat;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Complex` is never constructed
[INFO] [stdout]   --> src/algebra/complex.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Complex {
[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 items `new`, `norm`, `real`, and `imaginary` are never used
[INFO] [stdout]   --> src/algebra/complex.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Complex {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 18 |     pub fn new(real: f64, imaginary: f64) -> Complex {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn norm(&self) -> f64 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn real(&self) -> f64 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn imaginary(&self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `masks` is never used
[INFO] [stdout]  --> src/algebra/matrix.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn masks(qubit: usize) -> (usize, usize) {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `indices` is never used
[INFO] [stdout]  --> src/algebra/matrix.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn indices(
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MeasurementResult` is never constructed
[INFO] [stdout]   --> src/circuit/circuit.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct MeasurementResult {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Basic` is never used
[INFO] [stdout]   --> src/circuit/circuit.rs:28:6
[INFO] [stdout]    |
[INFO] [stdout] 28 | enum Basic {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/circuit/circuit.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl MeasurementResult {
[INFO] [stdout]    | ---------------------- associated function in this implementation
[INFO] [stdout] 34 |     fn new(qubit: usize, shots: usize) -> MeasurementResult {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/circuit/circuit.rs:70:12
[INFO] [stdout]     |
[INFO] [stdout]  54 | impl QuantumCircuit {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  70 |     pub fn measure(&mut self, qubit: usize, shots: usize) -> MeasurementResult {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  99 |     pub fn H(&mut self, qubit: usize) {
[INFO] [stdout]     |            ^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn X(&mut self, qubit: usize) {
[INFO] [stdout]     |            ^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn Y(&mut self, qubit: usize) {
[INFO] [stdout]     |            ^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     pub fn Z(&mut self, qubit: usize) {
[INFO] [stdout]     |            ^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn P(&mut self, qubit: usize, theta: f64) {
[INFO] [stdout]     |            ^
[INFO] [stdout] ...
[INFO] [stdout] 124 |     pub fn I(&mut self, qubit: usize) {
[INFO] [stdout]     |            ^
[INFO] [stdout] ...
[INFO] [stdout] 129 |     pub fn CNOT(&mut self, ctrl_qubit: usize, target_qubit: usize) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub fn CZ(&mut self, ctrl_qubit: usize, target_qubit: usize) {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 157 |     pub fn Toffoli(&mut self, ctrl_qubit1: usize, ctrl_qubit2: usize, target_qubit: usize) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 169 |     pub fn CCSWAP(&mut self, ctrl_qubit1: usize, ctrl_qubit2: usize, target_qubit: usize) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated functions are never used
[INFO] [stdout]   --> src/gate/base_gates.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl SingleGate {
[INFO] [stdout]    | --------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn X() -> Gate {
[INFO] [stdout]    |            ^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn Y() -> Gate {
[INFO] [stdout]    |            ^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn Z() -> Gate {
[INFO] [stdout]    |            ^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn P(theta: f64) -> Gate {
[INFO] [stdout]    |            ^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn I() -> Gate {
[INFO] [stdout]    |            ^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub fn RX(theta: f64) -> Gate {
[INFO] [stdout]    |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn RY(theta: f64) -> Gate {
[INFO] [stdout]    |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub fn RZ(theta: f64) -> Gate {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `CNOT` and `CZ` are never used
[INFO] [stdout]    --> src/gate/base_gates.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 103 | impl DoubleGate {
[INFO] [stdout]     | --------------- associated functions in this implementation
[INFO] [stdout] 104 |     pub fn CNOT() -> Gate {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn CZ() -> Gate {
[INFO] [stdout]     |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TripleGate` is never constructed
[INFO] [stdout]    --> src/gate/base_gates.rs:165:12
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub struct TripleGate {}
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `Toffoli` and `CCSWAP` are never used
[INFO] [stdout]    --> src/gate/base_gates.rs:168:12
[INFO] [stdout]     |
[INFO] [stdout] 167 | impl TripleGate {
[INFO] [stdout]     | --------------- associated functions in this implementation
[INFO] [stdout] 168 |     pub fn Toffoli() -> Gate {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 187 |     pub fn CCSWAP() -> Gate {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `size` are never used
[INFO] [stdout]   --> src/gate/gate.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Gate {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 12 |     pub fn new(size: usize) -> Gate {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn size(&self) -> usize {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `H` should have a snake case name
[INFO] [stdout]   --> src/circuit/circuit.rs:99:12
[INFO] [stdout]    |
[INFO] [stdout] 99 |     pub fn H(&mut self, qubit: usize) {
[INFO] [stdout]    |            ^ help: convert the identifier to snake case: `h`
[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 `X` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 104 |     pub fn X(&mut self, qubit: usize) {
[INFO] [stdout]     |            ^ help: convert the identifier to snake case (notice the capitalization): `x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Y` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:109:12
[INFO] [stdout]     |
[INFO] [stdout] 109 |     pub fn Y(&mut self, qubit: usize) {
[INFO] [stdout]     |            ^ help: convert the identifier to snake case (notice the capitalization): `y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Z` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:114:12
[INFO] [stdout]     |
[INFO] [stdout] 114 |     pub fn Z(&mut self, qubit: usize) {
[INFO] [stdout]     |            ^ help: convert the identifier to snake case (notice the capitalization): `z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `P` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout] 119 |     pub fn P(&mut self, qubit: usize, theta: f64) {
[INFO] [stdout]     |            ^ help: convert the identifier to snake case: `p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `I` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:124:12
[INFO] [stdout]     |
[INFO] [stdout] 124 |     pub fn I(&mut self, qubit: usize) {
[INFO] [stdout]     |            ^ help: convert the identifier to snake case (notice the capitalization): `i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CNOT` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:129:12
[INFO] [stdout]     |
[INFO] [stdout] 129 |     pub fn CNOT(&mut self, ctrl_qubit: usize, target_qubit: usize) {
[INFO] [stdout]     |            ^^^^ help: convert the identifier to snake case: `cnot`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CZ` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:136:12
[INFO] [stdout]     |
[INFO] [stdout] 136 |     pub fn CZ(&mut self, ctrl_qubit: usize, target_qubit: usize) {
[INFO] [stdout]     |            ^^ help: convert the identifier to snake case (notice the capitalization): `cz`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `SWAP` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout] 143 |     pub fn SWAP(&mut self, ctrl_qubit: usize, target_qubit: usize) {
[INFO] [stdout]     |            ^^^^ help: convert the identifier to snake case: `swap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CP` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:150:12
[INFO] [stdout]     |
[INFO] [stdout] 150 |     pub fn CP(&mut self, ctrl_qubit: usize, target_qubit: usize, theta: f64) {
[INFO] [stdout]     |            ^^ help: convert the identifier to snake case: `cp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Toffoli` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:157:12
[INFO] [stdout]     |
[INFO] [stdout] 157 |     pub fn Toffoli(&mut self, ctrl_qubit1: usize, ctrl_qubit2: usize, target_qubit: usize) {
[INFO] [stdout]     |            ^^^^^^^ help: convert the identifier to snake case: `toffoli`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CCSWAP` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:169:12
[INFO] [stdout]     |
[INFO] [stdout] 169 |     pub fn CCSWAP(&mut self, ctrl_qubit1: usize, ctrl_qubit2: usize, target_qubit: usize) {
[INFO] [stdout]     |            ^^^^^^ help: convert the identifier to snake case: `ccswap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `QFT` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:181:12
[INFO] [stdout]     |
[INFO] [stdout] 181 |     pub fn QFT(&mut self, from_qubit: usize, to_qubit: usize) {
[INFO] [stdout]     |            ^^^ help: convert the identifier to snake case: `qft`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `H` should have a snake case name
[INFO] [stdout]  --> src/gate/base_gates.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn H() -> Gate {
[INFO] [stdout]   |            ^ help: convert the identifier to snake case: `h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `X` should have a snake case name
[INFO] [stdout]   --> src/gate/base_gates.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn X() -> Gate {
[INFO] [stdout]    |            ^ help: convert the identifier to snake case (notice the capitalization): `x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Y` should have a snake case name
[INFO] [stdout]   --> src/gate/base_gates.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn Y() -> Gate {
[INFO] [stdout]    |            ^ help: convert the identifier to snake case (notice the capitalization): `y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Z` should have a snake case name
[INFO] [stdout]   --> src/gate/base_gates.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn Z() -> Gate {
[INFO] [stdout]    |            ^ help: convert the identifier to snake case (notice the capitalization): `z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `P` should have a snake case name
[INFO] [stdout]   --> src/gate/base_gates.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn P(theta: f64) -> Gate {
[INFO] [stdout]    |            ^ help: convert the identifier to snake case: `p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `I` should have a snake case name
[INFO] [stdout]   --> src/gate/base_gates.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn I() -> Gate {
[INFO] [stdout]    |            ^ help: convert the identifier to snake case (notice the capitalization): `i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `RX` should have a snake case name
[INFO] [stdout]   --> src/gate/base_gates.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn RX(theta: f64) -> Gate {
[INFO] [stdout]    |            ^^ help: convert the identifier to snake case: `rx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `RY` should have a snake case name
[INFO] [stdout]   --> src/gate/base_gates.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn RY(theta: f64) -> Gate {
[INFO] [stdout]    |            ^^ help: convert the identifier to snake case: `ry`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `RZ` should have a snake case name
[INFO] [stdout]   --> src/gate/base_gates.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 87 |     pub fn RZ(theta: f64) -> Gate {
[INFO] [stdout]    |            ^^ help: convert the identifier to snake case: `rz`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CNOT` should have a snake case name
[INFO] [stdout]    --> src/gate/base_gates.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 104 |     pub fn CNOT() -> Gate {
[INFO] [stdout]     |            ^^^^ help: convert the identifier to snake case: `cnot`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CZ` should have a snake case name
[INFO] [stdout]    --> src/gate/base_gates.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout] 119 |     pub fn CZ() -> Gate {
[INFO] [stdout]     |            ^^ help: convert the identifier to snake case (notice the capitalization): `cz`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CP` should have a snake case name
[INFO] [stdout]    --> src/gate/base_gates.rs:134:12
[INFO] [stdout]     |
[INFO] [stdout] 134 |     pub fn CP(theta: f64) -> Gate {
[INFO] [stdout]     |            ^^ help: convert the identifier to snake case: `cp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `SWAP` should have a snake case name
[INFO] [stdout]    --> src/gate/base_gates.rs:149:12
[INFO] [stdout]     |
[INFO] [stdout] 149 |     pub fn SWAP() -> Gate {
[INFO] [stdout]     |            ^^^^ help: convert the identifier to snake case: `swap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Toffoli` should have a snake case name
[INFO] [stdout]    --> src/gate/base_gates.rs:168:12
[INFO] [stdout]     |
[INFO] [stdout] 168 |     pub fn Toffoli() -> Gate {
[INFO] [stdout]     |            ^^^^^^^ help: convert the identifier to snake case: `toffoli`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CCSWAP` should have a snake case name
[INFO] [stdout]    --> src/gate/base_gates.rs:187:12
[INFO] [stdout]     |
[INFO] [stdout] 187 |     pub fn CCSWAP() -> Gate {
[INFO] [stdout]     |            ^^^^^^ help: convert the identifier to snake case: `ccswap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/circuit/circuit.rs:209:9
[INFO] [stdout]     |
[INFO] [stdout] 209 |     let mut qc = QuantumCircuit::new(1);
[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: struct `Complex` is never constructed
[INFO] [stdout]   --> src/algebra/complex.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Complex {
[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 items `new`, `norm`, `real`, and `imaginary` are never used
[INFO] [stdout]   --> src/algebra/complex.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Complex {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 18 |     pub fn new(real: f64, imaginary: f64) -> Complex {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn norm(&self) -> f64 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn real(&self) -> f64 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn imaginary(&self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `masks` is never used
[INFO] [stdout]  --> src/algebra/matrix.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn masks(qubit: usize) -> (usize, usize) {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `indices` is never used
[INFO] [stdout]  --> src/algebra/matrix.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn indices(
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MeasurementResult` is never constructed
[INFO] [stdout]   --> src/circuit/circuit.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct MeasurementResult {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Basic` is never used
[INFO] [stdout]   --> src/circuit/circuit.rs:28:6
[INFO] [stdout]    |
[INFO] [stdout] 28 | enum Basic {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/circuit/circuit.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl MeasurementResult {
[INFO] [stdout]    | ---------------------- associated function in this implementation
[INFO] [stdout] 34 |     fn new(qubit: usize, shots: usize) -> MeasurementResult {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `measure` and `I` are never used
[INFO] [stdout]    --> src/circuit/circuit.rs:70:12
[INFO] [stdout]     |
[INFO] [stdout]  54 | impl QuantumCircuit {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  70 |     pub fn measure(&mut self, qubit: usize, shots: usize) -> MeasurementResult {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 124 |     pub fn I(&mut self, qubit: usize) {
[INFO] [stdout]     |            ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `I`, `RX`, `RY`, and `RZ` are never used
[INFO] [stdout]   --> src/gate/base_gates.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl SingleGate {
[INFO] [stdout]    | --------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn I() -> Gate {
[INFO] [stdout]    |            ^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub fn RX(theta: f64) -> Gate {
[INFO] [stdout]    |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn RY(theta: f64) -> Gate {
[INFO] [stdout]    |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub fn RZ(theta: f64) -> Gate {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `size` are never used
[INFO] [stdout]   --> src/gate/gate.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Gate {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 12 |     pub fn new(size: usize) -> Gate {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn size(&self) -> usize {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `H` should have a snake case name
[INFO] [stdout]   --> src/circuit/circuit.rs:99:12
[INFO] [stdout]    |
[INFO] [stdout] 99 |     pub fn H(&mut self, qubit: usize) {
[INFO] [stdout]    |            ^ help: convert the identifier to snake case: `h`
[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 `X` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 104 |     pub fn X(&mut self, qubit: usize) {
[INFO] [stdout]     |            ^ help: convert the identifier to snake case (notice the capitalization): `x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Y` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:109:12
[INFO] [stdout]     |
[INFO] [stdout] 109 |     pub fn Y(&mut self, qubit: usize) {
[INFO] [stdout]     |            ^ help: convert the identifier to snake case (notice the capitalization): `y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Z` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:114:12
[INFO] [stdout]     |
[INFO] [stdout] 114 |     pub fn Z(&mut self, qubit: usize) {
[INFO] [stdout]     |            ^ help: convert the identifier to snake case (notice the capitalization): `z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `P` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout] 119 |     pub fn P(&mut self, qubit: usize, theta: f64) {
[INFO] [stdout]     |            ^ help: convert the identifier to snake case: `p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `I` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:124:12
[INFO] [stdout]     |
[INFO] [stdout] 124 |     pub fn I(&mut self, qubit: usize) {
[INFO] [stdout]     |            ^ help: convert the identifier to snake case (notice the capitalization): `i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CNOT` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:129:12
[INFO] [stdout]     |
[INFO] [stdout] 129 |     pub fn CNOT(&mut self, ctrl_qubit: usize, target_qubit: usize) {
[INFO] [stdout]     |            ^^^^ help: convert the identifier to snake case: `cnot`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CZ` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:136:12
[INFO] [stdout]     |
[INFO] [stdout] 136 |     pub fn CZ(&mut self, ctrl_qubit: usize, target_qubit: usize) {
[INFO] [stdout]     |            ^^ help: convert the identifier to snake case (notice the capitalization): `cz`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `SWAP` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout] 143 |     pub fn SWAP(&mut self, ctrl_qubit: usize, target_qubit: usize) {
[INFO] [stdout]     |            ^^^^ help: convert the identifier to snake case: `swap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CP` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:150:12
[INFO] [stdout]     |
[INFO] [stdout] 150 |     pub fn CP(&mut self, ctrl_qubit: usize, target_qubit: usize, theta: f64) {
[INFO] [stdout]     |            ^^ help: convert the identifier to snake case: `cp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Toffoli` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:157:12
[INFO] [stdout]     |
[INFO] [stdout] 157 |     pub fn Toffoli(&mut self, ctrl_qubit1: usize, ctrl_qubit2: usize, target_qubit: usize) {
[INFO] [stdout]     |            ^^^^^^^ help: convert the identifier to snake case: `toffoli`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CCSWAP` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:169:12
[INFO] [stdout]     |
[INFO] [stdout] 169 |     pub fn CCSWAP(&mut self, ctrl_qubit1: usize, ctrl_qubit2: usize, target_qubit: usize) {
[INFO] [stdout]     |            ^^^^^^ help: convert the identifier to snake case: `ccswap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `QFT` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:181:12
[INFO] [stdout]     |
[INFO] [stdout] 181 |     pub fn QFT(&mut self, from_qubit: usize, to_qubit: usize) {
[INFO] [stdout]     |            ^^^ help: convert the identifier to snake case: `qft`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `X_test` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:203:4
[INFO] [stdout]     |
[INFO] [stdout] 203 | fn X_test() {
[INFO] [stdout]     |    ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `x_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `Y_test` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:215:4
[INFO] [stdout]     |
[INFO] [stdout] 215 | fn Y_test() {
[INFO] [stdout]     |    ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `y_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `Z_test` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:229:4
[INFO] [stdout]     |
[INFO] [stdout] 229 | fn Z_test() {
[INFO] [stdout]     |    ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `z_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `P_test` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:243:4
[INFO] [stdout]     |
[INFO] [stdout] 243 | fn P_test() {
[INFO] [stdout]     |    ^^^^^^ help: convert the identifier to snake case: `p_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `H_test` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:263:4
[INFO] [stdout]     |
[INFO] [stdout] 263 | fn H_test() {
[INFO] [stdout]     |    ^^^^^^ help: convert the identifier to snake case: `h_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `CNOT_test` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:278:4
[INFO] [stdout]     |
[INFO] [stdout] 278 | fn CNOT_test() {
[INFO] [stdout]     |    ^^^^^^^^^ help: convert the identifier to snake case: `cnot_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `CZ_test` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:294:4
[INFO] [stdout]     |
[INFO] [stdout] 294 | fn CZ_test() {
[INFO] [stdout]     |    ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `cz_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `CP_test` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:302:4
[INFO] [stdout]     |
[INFO] [stdout] 302 | fn CP_test() {
[INFO] [stdout]     |    ^^^^^^^ help: convert the identifier to snake case: `cp_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `SWAP_test` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:317:4
[INFO] [stdout]     |
[INFO] [stdout] 317 | fn SWAP_test() {
[INFO] [stdout]     |    ^^^^^^^^^ help: convert the identifier to snake case: `swap_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `Toffoli_test` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:332:4
[INFO] [stdout]     |
[INFO] [stdout] 332 | fn Toffoli_test() {
[INFO] [stdout]     |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `toffoli_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `CCSWAP_test` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:350:4
[INFO] [stdout]     |
[INFO] [stdout] 350 | fn CCSWAP_test() {
[INFO] [stdout]     |    ^^^^^^^^^^^ help: convert the identifier to snake case: `ccswap_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `QFT_test` should have a snake case name
[INFO] [stdout]    --> src/circuit/circuit.rs:367:4
[INFO] [stdout]     |
[INFO] [stdout] 367 | fn QFT_test() {
[INFO] [stdout]     |    ^^^^^^^^ help: convert the identifier to snake case: `qft_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `H` should have a snake case name
[INFO] [stdout]  --> src/gate/base_gates.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn H() -> Gate {
[INFO] [stdout]   |            ^ help: convert the identifier to snake case: `h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `X` should have a snake case name
[INFO] [stdout]   --> src/gate/base_gates.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn X() -> Gate {
[INFO] [stdout]    |            ^ help: convert the identifier to snake case (notice the capitalization): `x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Y` should have a snake case name
[INFO] [stdout]   --> src/gate/base_gates.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn Y() -> Gate {
[INFO] [stdout]    |            ^ help: convert the identifier to snake case (notice the capitalization): `y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Z` should have a snake case name
[INFO] [stdout]   --> src/gate/base_gates.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn Z() -> Gate {
[INFO] [stdout]    |            ^ help: convert the identifier to snake case (notice the capitalization): `z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `P` should have a snake case name
[INFO] [stdout]   --> src/gate/base_gates.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn P(theta: f64) -> Gate {
[INFO] [stdout]    |            ^ help: convert the identifier to snake case: `p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `I` should have a snake case name
[INFO] [stdout]   --> src/gate/base_gates.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn I() -> Gate {
[INFO] [stdout]    |            ^ help: convert the identifier to snake case (notice the capitalization): `i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `RX` should have a snake case name
[INFO] [stdout]   --> src/gate/base_gates.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn RX(theta: f64) -> Gate {
[INFO] [stdout]    |            ^^ help: convert the identifier to snake case: `rx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `RY` should have a snake case name
[INFO] [stdout]   --> src/gate/base_gates.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn RY(theta: f64) -> Gate {
[INFO] [stdout]    |            ^^ help: convert the identifier to snake case: `ry`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `RZ` should have a snake case name
[INFO] [stdout]   --> src/gate/base_gates.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 87 |     pub fn RZ(theta: f64) -> Gate {
[INFO] [stdout]    |            ^^ help: convert the identifier to snake case: `rz`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CNOT` should have a snake case name
[INFO] [stdout]    --> src/gate/base_gates.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 104 |     pub fn CNOT() -> Gate {
[INFO] [stdout]     |            ^^^^ help: convert the identifier to snake case: `cnot`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CZ` should have a snake case name
[INFO] [stdout]    --> src/gate/base_gates.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout] 119 |     pub fn CZ() -> Gate {
[INFO] [stdout]     |            ^^ help: convert the identifier to snake case (notice the capitalization): `cz`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CP` should have a snake case name
[INFO] [stdout]    --> src/gate/base_gates.rs:134:12
[INFO] [stdout]     |
[INFO] [stdout] 134 |     pub fn CP(theta: f64) -> Gate {
[INFO] [stdout]     |            ^^ help: convert the identifier to snake case: `cp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `SWAP` should have a snake case name
[INFO] [stdout]    --> src/gate/base_gates.rs:149:12
[INFO] [stdout]     |
[INFO] [stdout] 149 |     pub fn SWAP() -> Gate {
[INFO] [stdout]     |            ^^^^ help: convert the identifier to snake case: `swap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Toffoli` should have a snake case name
[INFO] [stdout]    --> src/gate/base_gates.rs:168:12
[INFO] [stdout]     |
[INFO] [stdout] 168 |     pub fn Toffoli() -> Gate {
[INFO] [stdout]     |            ^^^^^^^ help: convert the identifier to snake case: `toffoli`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `CCSWAP` should have a snake case name
[INFO] [stdout]    --> src/gate/base_gates.rs:187:12
[INFO] [stdout]     |
[INFO] [stdout] 187 |     pub fn CCSWAP() -> Gate {
[INFO] [stdout]     |            ^^^^^^ help: convert the identifier to snake case: `ccswap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.40s
[INFO] running `Command { std: "docker" "inspect" "d6f925449d8f046d65ba8a4227bb485126a0b04da6f9dfa123c4eaeafff6f7de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d6f925449d8f046d65ba8a4227bb485126a0b04da6f9dfa123c4eaeafff6f7de", kill_on_drop: false }`
[INFO] [stdout] d6f925449d8f046d65ba8a4227bb485126a0b04da6f9dfa123c4eaeafff6f7de
