[INFO] cloning repository https://github.com/forest1040/qust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/forest1040/qust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforest1040%2Fqust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforest1040%2Fqust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 45a4273de7927c8c574319bbb9a1ae5045ada231 [INFO] building forest1040/qust against try#8aaecdf5df68a6fbc126704e44d399ba2fe66bf2 for pr-94962 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforest1040%2Fqust" "/workspace/builds/worker-50/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-50/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/forest1040/qust on toolchain 8aaecdf5df68a6fbc126704e44d399ba2fe66bf2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/forest1040/qust [INFO] finished tweaking git repo https://github.com/forest1040/qust [INFO] tweaked toml for git repo https://github.com/forest1040/qust written to /workspace/builds/worker-50/source/Cargo.toml [INFO] crate git repo https://github.com/forest1040/qust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3783126c18c1520296639cb22d0679d411c662034c7eab01650634b80fa174b0 [INFO] running `Command { std: "docker" "start" "-a" "3783126c18c1520296639cb22d0679d411c662034c7eab01650634b80fa174b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3783126c18c1520296639cb22d0679d411c662034c7eab01650634b80fa174b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3783126c18c1520296639cb22d0679d411c662034c7eab01650634b80fa174b0", kill_on_drop: false }` [INFO] [stdout] 3783126c18c1520296639cb22d0679d411c662034c7eab01650634b80fa174b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b33c42c59f5ae018123ec36e2839b5755e41a339aa6d23edf4da1f761483a751 [INFO] running `Command { std: "docker" "start" "-a" "b33c42c59f5ae018123ec36e2839b5755e41a339aa6d23edf4da1f761483a751", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling srand v0.4.0 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling lapack-sys v0.12.1 [INFO] [stderr] Compiling cblas-sys v0.1.4 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling lapack v0.18.0 [INFO] [stderr] Compiling cauchy v0.4.0 [INFO] [stderr] Compiling ndarray v0.15.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling openblas-build v0.1.1 [INFO] [stderr] Compiling openblas-src v0.10.4 [INFO] [stderr] Compiling lax v0.2.0 [INFO] [stderr] Compiling ndarray-linalg v0.14.1 [INFO] [stderr] Compiling qust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `PAULI_ID_I` should have an upper camel case name [INFO] [stdout] --> src/gate.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | PAULI_ID_I, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `PauliIdI` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PAULI_ID_X` should have an upper camel case name [INFO] [stdout] --> src/gate.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | PAULI_ID_X, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `PauliIdX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PAULI_ID_Y` should have an upper camel case name [INFO] [stdout] --> src/gate.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | PAULI_ID_Y, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `PauliIdY` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.26s [INFO] [stdout] warning: variant `PAULI_ID_Z` should have an upper camel case name [INFO] [stdout] --> src/gate.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | PAULI_ID_Z, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `PauliIdZ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/state.rs:985:20 [INFO] [stdout] | [INFO] [stdout] 985 | let mask = (1 << pivot_qubit_index); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 985 - let mask = (1 << pivot_qubit_index); [INFO] [stdout] 985 + let mask = 1 << pivot_qubit_index; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/state.rs:679:13 [INFO] [stdout] | [INFO] [stdout] 679 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `array` [INFO] [stdout] --> src/state.rs:670:9 [INFO] [stdout] | [INFO] [stdout] 670 | array: &Vec, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/state.rs:700:13 [INFO] [stdout] | [INFO] [stdout] 700 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `array1` [INFO] [stdout] --> src/state.rs:690:9 [INFO] [stdout] | [INFO] [stdout] 690 | array1: &Vec, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_array1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `array2` [INFO] [stdout] --> src/state.rs:692:9 [INFO] [stdout] | [INFO] [stdout] 692 | array2: &Vec, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_array2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PauliMatrix` [INFO] [stdout] --> src/gate.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | PauliMatrix, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `GateMatrixType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gate.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `PauliID` [INFO] [stdout] --> src/gate.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | enum PauliID { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_usize` [INFO] [stdout] --> src/gate.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn from_usize(n: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `target_qubit_commutation` [INFO] [stdout] --> src/gate.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | target_qubit_commutation: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `QuantumGate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gate.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `DenseMatrixGate` should have a snake case name [INFO] [stdout] --> src/gate.rs:304:8 [INFO] [stdout] | [INFO] [stdout] 304 | fn DenseMatrixGate( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dense_matrix_gate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `PauliMatrixGate` should have a snake case name [INFO] [stdout] --> src/gate.rs:330:8 [INFO] [stdout] | [INFO] [stdout] 330 | fn PauliMatrixGate( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pauli_matrix_gate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `Identity` should have a snake case name [INFO] [stdout] --> src/gate.rs:366:8 [INFO] [stdout] | [INFO] [stdout] 366 | fn Identity(target_qubit: usize) -> QuantumGate { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `identity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `X` should have a snake case name [INFO] [stdout] --> src/gate.rs:380:8 [INFO] [stdout] | [INFO] [stdout] 380 | fn X(target_qubit: usize) -> QuantumGate { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `single_qubit_Pauli_gate` should have a snake case name [INFO] [stdout] --> src/state.rs:746:12 [INFO] [stdout] | [INFO] [stdout] 746 | pub fn single_qubit_Pauli_gate( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `single_qubit_pauli_gate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `X_gate` should have a snake case name [INFO] [stdout] --> src/state.rs:767:12 [INFO] [stdout] | [INFO] [stdout] 767 | pub fn X_gate(&mut self, target_qubit_index: usize, dim: u64) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `x_gate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Y_gate` should have a snake case name [INFO] [stdout] --> src/state.rs:792:12 [INFO] [stdout] | [INFO] [stdout] 792 | pub fn Y_gate(&mut self, target_qubit_index: usize, dim: u64) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `y_gate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Z_gate` should have a snake case name [INFO] [stdout] --> src/state.rs:818:12 [INFO] [stdout] | [INFO] [stdout] 818 | pub fn Z_gate(&mut self, target_qubit_index: usize, dim: u64) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `z_gate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `single_qubit_Pauli_rotation_gate` should have a snake case name [INFO] [stdout] --> src/state.rs:836:12 [INFO] [stdout] | [INFO] [stdout] 836 | pub fn single_qubit_Pauli_rotation_gate( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `single_qubit_pauli_rotation_gate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `RX_gate` should have a snake case name [INFO] [stdout] --> src/state.rs:853:12 [INFO] [stdout] | [INFO] [stdout] 853 | pub fn RX_gate(&mut self, target_qubit_index: usize, angle: f64, dim: u64) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `rx_gate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `RY_gate` should have a snake case name [INFO] [stdout] --> src/state.rs:864:12 [INFO] [stdout] | [INFO] [stdout] 864 | pub fn RY_gate(&mut self, target_qubit_index: usize, angle: f64, dim: u64) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `ry_gate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `RZ_gate` should have a snake case name [INFO] [stdout] --> src/state.rs:878:12 [INFO] [stdout] | [INFO] [stdout] 878 | pub fn RZ_gate(&mut self, target_qubit_index: usize, angle: f64, dim: u64) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `rz_gate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `multi_qubit_Pauli_gate_partial_list` should have a snake case name [INFO] [stdout] --> src/state.rs:887:12 [INFO] [stdout] | [INFO] [stdout] 887 | pub fn multi_qubit_Pauli_gate_partial_list( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `multi_qubit_pauli_gate_partial_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pauli_operator_type_list` should have a snake case name [INFO] [stdout] --> src/state.rs:890:9 [INFO] [stdout] | [INFO] [stdout] 890 | Pauli_operator_type_list: &Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pauli_operator_type_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `multi_qubit_Pauli_gate_Z_mask` should have a snake case name [INFO] [stdout] --> src/state.rs:961:12 [INFO] [stdout] | [INFO] [stdout] 961 | pub fn multi_qubit_Pauli_gate_Z_mask(&mut self, phase_flip_mask: u64, dim: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `multi_qubit_pauli_gate_z_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `multi_qubit_Pauli_gate_XZ_mask` should have a snake case name [INFO] [stdout] --> src/state.rs:975:12 [INFO] [stdout] | [INFO] [stdout] 975 | pub fn multi_qubit_Pauli_gate_XZ_mask( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `multi_qubit_pauli_gate_xz_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `multi_qubit_Pauli_rotation_gate_partial_list` should have a snake case name [INFO] [stdout] --> src/state.rs:1013:12 [INFO] [stdout] | [INFO] [stdout] 1013 | pub fn multi_qubit_Pauli_rotation_gate_partial_list( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `multi_qubit_pauli_rotation_gate_partial_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `multi_qubit_Pauli_rotation_gate_Z_mask` should have a snake case name [INFO] [stdout] --> src/state.rs:1049:12 [INFO] [stdout] | [INFO] [stdout] 1049 | pub fn multi_qubit_Pauli_rotation_gate_Z_mask( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `multi_qubit_pauli_rotation_gate_z_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `multi_qubit_Pauli_rotation_gate_XZ_mask` should have a snake case name [INFO] [stdout] --> src/state.rs:1071:12 [INFO] [stdout] | [INFO] [stdout] 1071 | pub fn multi_qubit_Pauli_rotation_gate_XZ_mask( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `multi_qubit_pauli_rotation_gate_xz_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b33c42c59f5ae018123ec36e2839b5755e41a339aa6d23edf4da1f761483a751", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b33c42c59f5ae018123ec36e2839b5755e41a339aa6d23edf4da1f761483a751", kill_on_drop: false }` [INFO] [stdout] b33c42c59f5ae018123ec36e2839b5755e41a339aa6d23edf4da1f761483a751 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fa69934464b8dd189392deb8fd60963e9edc78ed5d15736b1e3dc8f68d97478 [INFO] running `Command { std: "docker" "start" "-a" "2fa69934464b8dd189392deb8fd60963e9edc78ed5d15736b1e3dc8f68d97478", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: variant `PAULI_ID_I` should have an upper camel case name [INFO] [stdout] --> src/gate.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | PAULI_ID_I, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `PauliIdI` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PAULI_ID_X` should have an upper camel case name [INFO] [stdout] --> src/gate.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | PAULI_ID_X, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `PauliIdX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PAULI_ID_Y` should have an upper camel case name [INFO] [stdout] --> src/gate.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | PAULI_ID_Y, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `PauliIdY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PAULI_ID_Z` should have an upper camel case name [INFO] [stdout] --> src/gate.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | PAULI_ID_Z, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `PauliIdZ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/state.rs:985:20 [INFO] [stdout] | [INFO] [stdout] 985 | let mask = (1 << pivot_qubit_index); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 985 - let mask = (1 << pivot_qubit_index); [INFO] [stdout] 985 + let mask = 1 << pivot_qubit_index; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/state.rs:679:13 [INFO] [stdout] | [INFO] [stdout] 679 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `array` [INFO] [stdout] --> src/state.rs:670:9 [INFO] [stdout] | [INFO] [stdout] 670 | array: &Vec, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/state.rs:700:13 [INFO] [stdout] | [INFO] [stdout] 700 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `array1` [INFO] [stdout] --> src/state.rs:690:9 [INFO] [stdout] | [INFO] [stdout] 690 | array1: &Vec, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_array1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `array2` [INFO] [stdout] --> src/state.rs:692:9 [INFO] [stdout] | [INFO] [stdout] 692 | array2: &Vec, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_array2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PauliMatrix` [INFO] [stdout] --> src/gate.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | PauliMatrix, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `GateMatrixType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gate.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `PauliID` [INFO] [stdout] --> src/gate.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | enum PauliID { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_usize` [INFO] [stdout] --> src/gate.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn from_usize(n: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `target_qubit_commutation` [INFO] [stdout] --> src/gate.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | target_qubit_commutation: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `QuantumGate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gate.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `DenseMatrixGate` should have a snake case name [INFO] [stdout] --> src/gate.rs:304:8 [INFO] [stdout] | [INFO] [stdout] 304 | fn DenseMatrixGate( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dense_matrix_gate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `PauliMatrixGate` should have a snake case name [INFO] [stdout] --> src/gate.rs:330:8 [INFO] [stdout] | [INFO] [stdout] 330 | fn PauliMatrixGate( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pauli_matrix_gate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `Identity` should have a snake case name [INFO] [stdout] --> src/gate.rs:366:8 [INFO] [stdout] | [INFO] [stdout] 366 | fn Identity(target_qubit: usize) -> QuantumGate { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `identity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `X` should have a snake case name [INFO] [stdout] --> src/gate.rs:380:8 [INFO] [stdout] | [INFO] [stdout] 380 | fn X(target_qubit: usize) -> QuantumGate { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `single_qubit_Pauli_gate` should have a snake case name [INFO] [stdout] --> src/state.rs:746:12 [INFO] [stdout] | [INFO] [stdout] 746 | pub fn single_qubit_Pauli_gate( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `single_qubit_pauli_gate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `X_gate` should have a snake case name [INFO] [stdout] --> src/state.rs:767:12 [INFO] [stdout] | [INFO] [stdout] 767 | pub fn X_gate(&mut self, target_qubit_index: usize, dim: u64) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `x_gate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Y_gate` should have a snake case name [INFO] [stdout] --> src/state.rs:792:12 [INFO] [stdout] | [INFO] [stdout] 792 | pub fn Y_gate(&mut self, target_qubit_index: usize, dim: u64) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `y_gate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Z_gate` should have a snake case name [INFO] [stdout] --> src/state.rs:818:12 [INFO] [stdout] | [INFO] [stdout] 818 | pub fn Z_gate(&mut self, target_qubit_index: usize, dim: u64) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `z_gate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `single_qubit_Pauli_rotation_gate` should have a snake case name [INFO] [stdout] --> src/state.rs:836:12 [INFO] [stdout] | [INFO] [stdout] 836 | pub fn single_qubit_Pauli_rotation_gate( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `single_qubit_pauli_rotation_gate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `RX_gate` should have a snake case name [INFO] [stdout] --> src/state.rs:853:12 [INFO] [stdout] | [INFO] [stdout] 853 | pub fn RX_gate(&mut self, target_qubit_index: usize, angle: f64, dim: u64) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `rx_gate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `RY_gate` should have a snake case name [INFO] [stdout] --> src/state.rs:864:12 [INFO] [stdout] | [INFO] [stdout] 864 | pub fn RY_gate(&mut self, target_qubit_index: usize, angle: f64, dim: u64) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `ry_gate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `RZ_gate` should have a snake case name [INFO] [stdout] --> src/state.rs:878:12 [INFO] [stdout] | [INFO] [stdout] 878 | pub fn RZ_gate(&mut self, target_qubit_index: usize, angle: f64, dim: u64) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `rz_gate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `multi_qubit_Pauli_gate_partial_list` should have a snake case name [INFO] [stdout] --> src/state.rs:887:12 [INFO] [stdout] | [INFO] [stdout] 887 | pub fn multi_qubit_Pauli_gate_partial_list( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `multi_qubit_pauli_gate_partial_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pauli_operator_type_list` should have a snake case name [INFO] [stdout] --> src/state.rs:890:9 [INFO] [stdout] | [INFO] [stdout] 890 | Pauli_operator_type_list: &Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pauli_operator_type_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `multi_qubit_Pauli_gate_Z_mask` should have a snake case name [INFO] [stdout] --> src/state.rs:961:12 [INFO] [stdout] | [INFO] [stdout] 961 | pub fn multi_qubit_Pauli_gate_Z_mask(&mut self, phase_flip_mask: u64, dim: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `multi_qubit_pauli_gate_z_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `multi_qubit_Pauli_gate_XZ_mask` should have a snake case name [INFO] [stdout] --> src/state.rs:975:12 [INFO] [stdout] | [INFO] [stdout] 975 | pub fn multi_qubit_Pauli_gate_XZ_mask( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `multi_qubit_pauli_gate_xz_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `multi_qubit_Pauli_rotation_gate_partial_list` should have a snake case name [INFO] [stdout] --> src/state.rs:1013:12 [INFO] [stdout] | [INFO] [stdout] 1013 | pub fn multi_qubit_Pauli_rotation_gate_partial_list( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `multi_qubit_pauli_rotation_gate_partial_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `multi_qubit_Pauli_rotation_gate_Z_mask` should have a snake case name [INFO] [stdout] --> src/state.rs:1049:12 [INFO] [stdout] | [INFO] [stdout] 1049 | pub fn multi_qubit_Pauli_rotation_gate_Z_mask( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `multi_qubit_pauli_rotation_gate_z_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `multi_qubit_Pauli_rotation_gate_XZ_mask` should have a snake case name [INFO] [stdout] --> src/state.rs:1071:12 [INFO] [stdout] | [INFO] [stdout] 1071 | pub fn multi_qubit_Pauli_rotation_gate_XZ_mask( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `multi_qubit_pauli_rotation_gate_xz_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling qust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `PAULI_ID_I` should have an upper camel case name [INFO] [stdout] --> src/gate.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | PAULI_ID_I, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `PauliIdI` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PAULI_ID_X` should have an upper camel case name [INFO] [stdout] --> src/gate.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | PAULI_ID_X, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `PauliIdX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PAULI_ID_Y` should have an upper camel case name [INFO] [stdout] --> src/gate.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | PAULI_ID_Y, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `PauliIdY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PAULI_ID_Z` should have an upper camel case name [INFO] [stdout] --> src/gate.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | PAULI_ID_Z, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `PauliIdZ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/state.rs:985:20 [INFO] [stdout] | [INFO] [stdout] 985 | let mask = (1 << pivot_qubit_index); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 985 - let mask = (1 << pivot_qubit_index); [INFO] [stdout] 985 + let mask = 1 << pivot_qubit_index; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/state.rs:679:13 [INFO] [stdout] | [INFO] [stdout] 679 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `array` [INFO] [stdout] --> src/state.rs:670:9 [INFO] [stdout] | [INFO] [stdout] 670 | array: &Vec, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/state.rs:700:13 [INFO] [stdout] | [INFO] [stdout] 700 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `array1` [INFO] [stdout] --> src/state.rs:690:9 [INFO] [stdout] | [INFO] [stdout] 690 | array1: &Vec, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_array1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `array2` [INFO] [stdout] --> src/state.rs:692:9 [INFO] [stdout] | [INFO] [stdout] 692 | array2: &Vec, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_array2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PauliMatrix` [INFO] [stdout] --> src/gate.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | PauliMatrix, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `GateMatrixType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gate.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `PauliID` [INFO] [stdout] --> src/gate.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | enum PauliID { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_usize` [INFO] [stdout] --> src/gate.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn from_usize(n: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `target_qubit_commutation` [INFO] [stdout] --> src/gate.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | target_qubit_commutation: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `QuantumGate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gate.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `DenseMatrixGate` should have a snake case name [INFO] [stdout] --> src/gate.rs:304:8 [INFO] [stdout] | [INFO] [stdout] 304 | fn DenseMatrixGate( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dense_matrix_gate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `PauliMatrixGate` should have a snake case name [INFO] [stdout] --> src/gate.rs:330:8 [INFO] [stdout] | [INFO] [stdout] 330 | fn PauliMatrixGate( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pauli_matrix_gate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `Identity` should have a snake case name [INFO] [stdout] --> src/gate.rs:366:8 [INFO] [stdout] | [INFO] [stdout] 366 | fn Identity(target_qubit: usize) -> QuantumGate { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `identity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `X` should have a snake case name [INFO] [stdout] --> src/gate.rs:380:8 [INFO] [stdout] | [INFO] [stdout] 380 | fn X(target_qubit: usize) -> QuantumGate { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `single_qubit_Pauli_gate` should have a snake case name [INFO] [stdout] --> src/state.rs:746:12 [INFO] [stdout] | [INFO] [stdout] 746 | pub fn single_qubit_Pauli_gate( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `single_qubit_pauli_gate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `X_gate` should have a snake case name [INFO] [stdout] --> src/state.rs:767:12 [INFO] [stdout] | [INFO] [stdout] 767 | pub fn X_gate(&mut self, target_qubit_index: usize, dim: u64) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `x_gate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Y_gate` should have a snake case name [INFO] [stdout] --> src/state.rs:792:12 [INFO] [stdout] | [INFO] [stdout] 792 | pub fn Y_gate(&mut self, target_qubit_index: usize, dim: u64) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `y_gate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Z_gate` should have a snake case name [INFO] [stdout] --> src/state.rs:818:12 [INFO] [stdout] | [INFO] [stdout] 818 | pub fn Z_gate(&mut self, target_qubit_index: usize, dim: u64) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `z_gate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `single_qubit_Pauli_rotation_gate` should have a snake case name [INFO] [stdout] --> src/state.rs:836:12 [INFO] [stdout] | [INFO] [stdout] 836 | pub fn single_qubit_Pauli_rotation_gate( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `single_qubit_pauli_rotation_gate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `RX_gate` should have a snake case name [INFO] [stdout] --> src/state.rs:853:12 [INFO] [stdout] | [INFO] [stdout] 853 | pub fn RX_gate(&mut self, target_qubit_index: usize, angle: f64, dim: u64) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `rx_gate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `RY_gate` should have a snake case name [INFO] [stdout] --> src/state.rs:864:12 [INFO] [stdout] | [INFO] [stdout] 864 | pub fn RY_gate(&mut self, target_qubit_index: usize, angle: f64, dim: u64) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `ry_gate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `RZ_gate` should have a snake case name [INFO] [stdout] --> src/state.rs:878:12 [INFO] [stdout] | [INFO] [stdout] 878 | pub fn RZ_gate(&mut self, target_qubit_index: usize, angle: f64, dim: u64) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `rz_gate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `multi_qubit_Pauli_gate_partial_list` should have a snake case name [INFO] [stdout] --> src/state.rs:887:12 [INFO] [stdout] | [INFO] [stdout] 887 | pub fn multi_qubit_Pauli_gate_partial_list( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `multi_qubit_pauli_gate_partial_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pauli_operator_type_list` should have a snake case name [INFO] [stdout] --> src/state.rs:890:9 [INFO] [stdout] | [INFO] [stdout] 890 | Pauli_operator_type_list: &Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pauli_operator_type_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `multi_qubit_Pauli_gate_Z_mask` should have a snake case name [INFO] [stdout] --> src/state.rs:961:12 [INFO] [stdout] | [INFO] [stdout] 961 | pub fn multi_qubit_Pauli_gate_Z_mask(&mut self, phase_flip_mask: u64, dim: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `multi_qubit_pauli_gate_z_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `multi_qubit_Pauli_gate_XZ_mask` should have a snake case name [INFO] [stdout] --> src/state.rs:975:12 [INFO] [stdout] | [INFO] [stdout] 975 | pub fn multi_qubit_Pauli_gate_XZ_mask( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `multi_qubit_pauli_gate_xz_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `multi_qubit_Pauli_rotation_gate_partial_list` should have a snake case name [INFO] [stdout] --> src/state.rs:1013:12 [INFO] [stdout] | [INFO] [stdout] 1013 | pub fn multi_qubit_Pauli_rotation_gate_partial_list( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `multi_qubit_pauli_rotation_gate_partial_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `multi_qubit_Pauli_rotation_gate_Z_mask` should have a snake case name [INFO] [stdout] --> src/state.rs:1049:12 [INFO] [stdout] | [INFO] [stdout] 1049 | pub fn multi_qubit_Pauli_rotation_gate_Z_mask( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `multi_qubit_pauli_rotation_gate_z_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `multi_qubit_Pauli_rotation_gate_XZ_mask` should have a snake case name [INFO] [stdout] --> src/state.rs:1071:12 [INFO] [stdout] | [INFO] [stdout] 1071 | pub fn multi_qubit_Pauli_rotation_gate_XZ_mask( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `multi_qubit_pauli_rotation_gate_xz_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.41s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/qust-16411f7d98a79ef1) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/qust-fbd43ad66a0683d6) [INFO] running `Command { std: "docker" "inspect" "2fa69934464b8dd189392deb8fd60963e9edc78ed5d15736b1e3dc8f68d97478", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fa69934464b8dd189392deb8fd60963e9edc78ed5d15736b1e3dc8f68d97478", kill_on_drop: false }` [INFO] [stdout] 2fa69934464b8dd189392deb8fd60963e9edc78ed5d15736b1e3dc8f68d97478