[INFO] cloning repository https://github.com/smburdick/tqec-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/smburdick/tqec-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmburdick%2Ftqec-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmburdick%2Ftqec-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6dab02cda9418c8037690dd6d4a224c123fb3575
[INFO] checking smburdick/tqec-rs against e4d5758286bf2cf6f415802f2cf861747a7c6c8c for pr-152972
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmburdick%2Ftqec-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/smburdick/tqec-rs
[INFO] finished tweaking git repo https://github.com/smburdick/tqec-rs
[INFO] tweaked toml for git repo https://github.com/smburdick/tqec-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/smburdick/tqec-rs on toolchain e4d5758286bf2cf6f415802f2cf861747a7c6c8c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e4d5758286bf2cf6f415802f2cf861747a7c6c8c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/smburdick/tqec-rs 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" "+e4d5758286bf2cf6f415802f2cf861747a7c6c8c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5d170d643e09757990555b549007f22399b794166a8439f17ed777c7f7eec761
[INFO] running `Command { std: "docker" "start" "5d170d643e09757990555b549007f22399b794166a8439f17ed777c7f7eec761", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5d170d643e09757990555b549007f22399b794166a8439f17ed777c7f7eec761", 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" "5d170d643e09757990555b549007f22399b794166a8439f17ed777c7f7eec761" "/opt/rustwide/cargo-home/bin/cargo" "+e4d5758286bf2cf6f415802f2cf861747a7c6c8c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5d170d643e09757990555b549007f22399b794166a8439f17ed777c7f7eec761", 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" "5d170d643e09757990555b549007f22399b794166a8439f17ed777c7f7eec761" "/opt/rustwide/cargo-home/bin/cargo" "+e4d5758286bf2cf6f415802f2cf861747a7c6c8c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling memchr v2.8.3
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling regex-syntax v0.8.11
[INFO] [stderr]    Compiling smallvec v1.15.2
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]    Compiling zerocopy v0.8.54
[INFO] [stderr]     Checking futures-core v0.3.32
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling ena v0.14.4
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]     Checking hashbrown v0.17.1
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]     Checking futures-io v0.3.32
[INFO] [stderr]     Checking regex-automata v0.4.15
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling rstest_macros v0.23.0
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling matrixmultiply v0.3.10
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling beef v0.5.2
[INFO] [stderr]    Compiling relative-path v1.9.3
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking indexmap v2.14.0
[INFO] [stderr]     Checking linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]     Checking num-iter v0.1.46
[INFO] [stderr]     Checking num-bigint v0.4.8
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking getrandom v0.4.3
[INFO] [stderr]     Checking bitflags v2.13.1
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]     Checking fixedbitset v0.4.2
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling is-terminal v0.4.17
[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 clap_builder v4.6.0
[INFO] [stderr]     Checking lalrpop-util v0.19.12
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]    Compiling string_cache v0.8.9
[INFO] [stderr]     Checking regex v1.13.0
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking futures-timer v3.0.4
[INFO] [stderr]     Checking radium v0.3.0
[INFO] [stderr]     Checking jiff v0.2.32
[INFO] [stderr]     Checking serde_json v1.0.150
[INFO] [stderr]     Checking ndarray v0.16.1
[INFO] [stderr]     Checking bitvec v0.17.4
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]     Checking env_filter v2.0.0
[INFO] [stderr]     Checking itertools v0.13.0
[INFO] [stderr]     Checking fixedbitset v0.5.7
[INFO] [stderr]     Checking num v0.2.1
[INFO] [stderr]     Checking roots v0.0.8
[INFO] [stderr]     Checking rustc-hash v2.1.3
[INFO] [stderr]     Checking num v0.4.3
[INFO] [stderr]     Checking strum v0.25.0
[INFO] [stderr]     Checking petgraph v0.8.3
[INFO] [stderr]     Checking rand v0.10.2
[INFO] [stderr]     Checking itertools v0.15.0
[INFO] [stderr]     Checking frozenset v0.2.2
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]     Checking rust-3d v0.34.0
[INFO] [stderr]    Compiling logos-derive v0.12.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking logos v0.12.1
[INFO] [stderr]     Checking env_logger v0.11.11
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling derive_more-impl v1.0.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]    Compiling strum_macros v0.25.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.6
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling lalrpop v0.19.12
[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 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 tqec-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::num;
[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: `abstract_observable::compile_correlation_surface_to_abstract_observable`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     abstract_observable::compile_correlation_surface_to_abstract_observable,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Direction` and `UnGraph`
[INFO] [stdout]  --> src/block_graph.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Directed, Direction, Graph,
[INFO] [stdout]   |               ^^^^^^^^^
[INFO] [stdout] 4 |     graph::{DiGraph, EdgeIndex, NodeIndex, UnGraph},
[INFO] [stdout]   |                                            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `itertools::Position`
[INFO] [stdout]  --> src/cube.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use itertools::Position;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Peekable`
[INFO] [stdout]  --> src/positioned.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 |     iter::{Peekable, once},
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `coord` should have an upper camel case name
[INFO] [stdout]  --> src/types.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub type coord = i32;
[INFO] [stdout]   |          ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Coord`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::num;
[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: `abstract_observable::compile_correlation_surface_to_abstract_observable`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     abstract_observable::compile_correlation_surface_to_abstract_observable,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Direction` and `UnGraph`
[INFO] [stdout]  --> src/block_graph.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Directed, Direction, Graph,
[INFO] [stdout]   |               ^^^^^^^^^
[INFO] [stdout] 4 |     graph::{DiGraph, EdgeIndex, NodeIndex, UnGraph},
[INFO] [stdout]   |                                            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `itertools::Position`
[INFO] [stdout]  --> src/cube.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use itertools::Position;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Peekable`
[INFO] [stdout]  --> src/positioned.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 |     iter::{Peekable, once},
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `coord` should have an upper camel case name
[INFO] [stdout]  --> src/types.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub type coord = i32;
[INFO] [stdout]   |          ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Coord`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/abstract_observable.rs:232:9
[INFO] [stdout]     |
[INFO] [stdout] 232 |     let mut bottom_stabilizer_pipes: HashSet<PipeWithArms> = HashSet::new();
[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: `valid`
[INFO] [stdout]    --> src/abstract_observable.rs:219:9
[INFO] [stdout]     |
[INFO] [stdout] 219 |     let valid = pg.correlation_surface_is_valid(&correlation_surface); // TODO: make use of this result ...
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_valid`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ortho_dir`
[INFO] [stdout]    --> src/block_graph.rs:288:25
[INFO] [stdout]     |
[INFO] [stdout] 288 |                     for ortho_dir in direction.orthogonal_directions() {
[INFO] [stdout]     |                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ortho_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/correlation.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             u_pos => self.u.basis,
[INFO] [stdout]    |             ----- matches any value
[INFO] [stdout] 82 |             v_pos => self.v.basis,
[INFO] [stdout]    |             ^^^^^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings
[INFO] [stdout]   --> src/correlation.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let u_pos = self.u.position;
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/correlation.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             u_pos => self.u.basis,
[INFO] [stdout]    |             ----- matches any value
[INFO] [stdout] 82 |             v_pos => self.v.basis,
[INFO] [stdout] 83 |             _ => panic!("Invalid basis"),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings
[INFO] [stdout]   --> src/correlation.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let u_pos = self.u.position;
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u_pos`
[INFO] [stdout]   --> src/correlation.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let u_pos = self.u.position;
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_u_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v_pos`
[INFO] [stdout]   --> src/correlation.rs:79:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let v_pos = self.v.position;
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_v_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u_pos`
[INFO] [stdout]   --> src/correlation.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             u_pos => self.u.basis,
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_u_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v_pos`
[INFO] [stdout]   --> src/correlation.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             v_pos => self.v.basis,
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_v_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `result` is never read
[INFO] [stdout]    --> src/correlation.rs:449:39
[INFO] [stdout]     |
[INFO] [stdout] 449 |     let mut result: Vec<Vec<Pauli>> = Vec::new();
[INFO] [stdout]     |                                       ^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 457 |         result = passthru_nodes
[INFO] [stdout]     |         ------ `result` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/correlation.rs:573:9
[INFO] [stdout]     |
[INFO] [stdout] 573 |     let mut correlation_surfaces =
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/abstract_observable.rs:232:9
[INFO] [stdout]     |
[INFO] [stdout] 232 |     let mut bottom_stabilizer_pipes: HashSet<PipeWithArms> = HashSet::new();
[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: `valid`
[INFO] [stdout]    --> src/abstract_observable.rs:219:9
[INFO] [stdout]     |
[INFO] [stdout] 219 |     let valid = pg.correlation_surface_is_valid(&correlation_surface); // TODO: make use of this result ...
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_valid`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ortho_dir`
[INFO] [stdout]    --> src/block_graph.rs:288:25
[INFO] [stdout]     |
[INFO] [stdout] 288 |                     for ortho_dir in direction.orthogonal_directions() {
[INFO] [stdout]     |                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ortho_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/main.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |         for i in 0..num_iter {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `benchmark` is never used
[INFO] [stdout]   --> src/main.rs:56:4
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn benchmark(num_iter: usize) {
[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 `from_cube_in_graph`, `get_map_from_arm_shift`, `single_arms`, and `length` are never used
[INFO] [stdout]   --> src/abstract_observable.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl SpatialArms {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 24 |     pub fn from_cube_in_graph(cube: &Cube, block_graph: &BlockGraph) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn get_map_from_arm_shift() -> HashMap<SpatialArms, (coord, coord)> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn single_arms() -> Vec<Self> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn length(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CubeWithArms` is never constructed
[INFO] [stdout]   --> src/abstract_observable.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub struct CubeWithArms {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/abstract_observable.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | impl CubeWithArms {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 66 |     pub fn new(cube: Cube, arms: SpatialArms) -> Result<Self, String> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PipeWithArms` is never constructed
[INFO] [stdout]   --> src/abstract_observable.rs:82:12
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub struct PipeWithArms {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/abstract_observable.rs:88:12
[INFO] [stdout]    |
[INFO] [stdout] 87 | impl PipeWithArms {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 88 |     pub fn new(pipe: Pipe, cube_arms: (SpatialArms, SpatialArms)) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PipeWithObservableBasis` is never constructed
[INFO] [stdout]   --> src/abstract_observable.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub struct PipeWithObservableBasis {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/abstract_observable.rs:103:12
[INFO] [stdout]     |
[INFO] [stdout] 102 | impl PipeWithObservableBasis {
[INFO] [stdout]     | ---------------------------- associated function in this implementation
[INFO] [stdout] 103 |     pub fn new(pipe: Pipe, observable_basis: Basis) -> Result<Self, String> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AbstractObservable` is never constructed
[INFO] [stdout]    --> src/abstract_observable.rs:115:12
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub struct AbstractObservable {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `slice_at_z` are never used
[INFO] [stdout]    --> src/abstract_observable.rs:124:12
[INFO] [stdout]     |
[INFO] [stdout] 123 | impl AbstractObservable {
[INFO] [stdout]     | ----------------------- associated items in this implementation
[INFO] [stdout] 124 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 145 |     pub fn slice_at_z(&self, graph: BlockGraph, z: coord) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compile_correlation_surface_to_abstract_observable` is never used
[INFO] [stdout]    --> src/abstract_observable.rs:191:8
[INFO] [stdout]     |
[INFO] [stdout] 191 | pub fn compile_correlation_surface_to_abstract_observable(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_obs_include` is never used
[INFO] [stdout]    --> src/abstract_observable.rs:347:4
[INFO] [stdout]     |
[INFO] [stdout] 347 | fn has_obs_include(cube: &Cube, correlation: Basis, block_graph: &BlockGraph) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/block_graph.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct BlockGraph {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 23 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BlockGraph` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/block_graph.rs:132:12
[INFO] [stdout]     |
[INFO] [stdout]  34 | impl BlockGraph {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 132 |     pub fn num_cubes(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub fn num_pipes(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 |     pub fn get_pipe(&self, pos1: Position3D, pos2: Position3D) -> &Pipe {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |     pub fn num_y_half_cubes(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 187 |     pub fn set_name(&mut self, new_name: String) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 |     pub fn get_name(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 199 |     pub fn spacetime_volume(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 |     pub fn cube_at(&self, position: Position3D) -> &Cube {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 232 |     pub fn has_pipe_between(&self, pos1: Position3D, pos2: Position3D) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 239 |     pub fn validate(&self) -> Result<String, String> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 251 |     fn validate_locally_at(&self, cube: &Cube) -> Result<String, String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 313 |     fn pipe_at_head(&self, pipe: Pipe, position: Position3D) -> Result<bool, String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 324 |     pub fn pipes_at(&self, pos: &Position3D) -> Vec<Pipe> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `position` and `basis` are never used
[INFO] [stdout]   --> src/correlation.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl ZXNode {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn position(&self) -> &Position3D {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn basis(&self) -> Basis {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_self_loop`, `nodes`, and `get_basis` are never used
[INFO] [stdout]   --> src/correlation.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl ZXEdge {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn is_self_loop(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub fn nodes(&self) -> (&ZXNode, &ZXNode) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn get_basis(&self, position: Position3D) -> Basis {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/correlation.rs:112:12
[INFO] [stdout]     |
[INFO] [stdout] 103 | impl CorrelationSurface {
[INFO] [stdout]     | ----------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 112 |     pub fn span(&self) -> impl Iterator<Item = &ZXEdge> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn num_edges(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub fn is_single_node(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 124 |     pub fn bases_at(&self, position: Position3D) -> HashSet<Basis> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     pub fn positions(&self) -> HashSet<Position3D> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 168 |     pub fn edges_at(&self, pos: Position3D) -> HashSet<ZXEdge> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |     pub fn shift_by(&self, dx: coord, dy: coord, dz: coord) -> Self {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `flipped` and `to_string` are never used
[INFO] [stdout]   --> src/cube.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Basis {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] 25 |     pub fn flipped(&self) -> Basis {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn to_string(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `x`, `y`, `z`, and `shift_by` are never used
[INFO] [stdout]   --> src/cube.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl Position3D {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn x(&self) -> coord {
[INFO] [stdout]    |            ^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn y(&self) -> coord {
[INFO] [stdout]    |            ^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn z(&self) -> coord {
[INFO] [stdout]    |            ^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn shift_by(&self, dx: coord, dy: coord, dz: coord) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `eq` and `is_spatial` are never used
[INFO] [stdout]    --> src/cube.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout]  86 | impl Cube {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn eq(&self, other: &Cube) -> bool {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     pub fn is_spatial(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `as_tuple`, `is_spatial`, `normal_basis`, and `get_basis_along` are never used
[INFO] [stdout]    --> src/cube.rs:124:12
[INFO] [stdout]     |
[INFO] [stdout] 123 | impl ZXCube {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] 124 |     pub fn as_tuple(&self) -> (Basis, Basis, Basis) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub fn is_spatial(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     pub fn normal_basis(&self) -> Basis {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     pub fn get_basis_along(&self, direction: Direction3D) -> Basis {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PortCube` is never constructed
[INFO] [stdout]    --> src/cube.rs:177:12
[INFO] [stdout]     |
[INFO] [stdout] 177 | pub struct PortCube {}
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `to_string`, `direction`, `as_tuple`, `get_basis_along`, `is_temporal`, and `is_spatial` are never used
[INFO] [stdout]    --> src/cube.rs:228:12
[INFO] [stdout]     |
[INFO] [stdout] 227 | impl Pipe {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] 228 |     pub fn to_string(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 |     pub fn direction(&self) -> Direction3D {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 252 |     pub fn as_tuple(&self) -> (Option<Basis>, Option<Basis>, Option<Basis>) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 255 |     pub fn get_basis_along(&self, direction: Direction3D, at_head: bool) -> Result<Basis, String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 274 |     pub fn is_temporal(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 278 |     pub fn is_spatial(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Direction3D` is never used
[INFO] [stdout]    --> src/cube.rs:285:10
[INFO] [stdout]     |
[INFO] [stdout] 285 | pub enum Direction3D {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_int`, `all`, and `orthogonal_directions` are never used
[INFO] [stdout]    --> src/cube.rs:292:12
[INFO] [stdout]     |
[INFO] [stdout] 291 | impl Direction3D {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 292 |     pub fn from_int(idx: usize) -> Option<Self> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 300 |     pub fn all() -> Vec<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 303 |     pub fn orthogonal_directions(&self) -> [Self; 2] {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CubeSpec` is never constructed
[INFO] [stdout]  --> src/cube_spec.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct CubeSpec {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_cube` is never used
[INFO] [stdout]   --> src/cube_spec.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl CubeSpec {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 15 |     pub fn from_cube(
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LayoutPosition2D` is never constructed
[INFO] [stdout]  --> src/layout.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct LayoutPosition2D {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LayoutPosition3D` is never constructed
[INFO] [stdout]  --> src/layout.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct LayoutPosition3D {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `correlation_surface_is_valid` is never used
[INFO] [stdout]    --> src/positioned.rs:478:12
[INFO] [stdout]     |
[INFO] [stdout]  35 | impl PositionedZX {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 478 |     pub fn correlation_surface_is_valid(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `cubeIdToNodeIndex` should have a snake case name
[INFO] [stdout]   --> src/block_graph.rs:60:25
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 let mut cubeIdToNodeIndex: HashMap<String, NodeIndex> = HashMap::new();
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cube_id_to_node_index`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/correlation.rs:668:9
[INFO] [stdout]     |
[INFO] [stdout] 668 |         solve_linear_system(basis, func(cs), true);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 668 |         let _ = solve_linear_system(basis, func(cs), true);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/correlation.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             u_pos => self.u.basis,
[INFO] [stdout]    |             ----- matches any value
[INFO] [stdout] 82 |             v_pos => self.v.basis,
[INFO] [stdout]    |             ^^^^^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings
[INFO] [stdout]   --> src/correlation.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let u_pos = self.u.position;
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/correlation.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             u_pos => self.u.basis,
[INFO] [stdout]    |             ----- matches any value
[INFO] [stdout] 82 |             v_pos => self.v.basis,
[INFO] [stdout] 83 |             _ => panic!("Invalid basis"),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings
[INFO] [stdout]   --> src/correlation.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let u_pos = self.u.position;
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `toReturn` should have a snake case name
[INFO] [stdout]    --> src/positioned.rs:110:17
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let mut toReturn = Vec::new();
[INFO] [stdout]     |                 ^^^^^^^^ help: convert the identifier to snake case: `to_return`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u_pos`
[INFO] [stdout]   --> src/correlation.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let u_pos = self.u.position;
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_u_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v_pos`
[INFO] [stdout]   --> src/correlation.rs:79:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let v_pos = self.v.position;
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_v_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u_pos`
[INFO] [stdout]   --> src/correlation.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             u_pos => self.u.basis,
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_u_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v_pos`
[INFO] [stdout]   --> src/correlation.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             v_pos => self.v.basis,
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_v_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `result` is never read
[INFO] [stdout]    --> src/correlation.rs:449:39
[INFO] [stdout]     |
[INFO] [stdout] 449 |     let mut result: Vec<Vec<Pauli>> = Vec::new();
[INFO] [stdout]     |                                       ^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 457 |         result = passthru_nodes
[INFO] [stdout]     |         ------ `result` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/correlation.rs:573:9
[INFO] [stdout]     |
[INFO] [stdout] 573 |     let mut correlation_surfaces =
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/main.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |         for i in 0..num_iter {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `benchmark` is never used
[INFO] [stdout]   --> src/main.rs:56:4
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn benchmark(num_iter: usize) {
[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 `from_cube_in_graph`, `get_map_from_arm_shift`, `single_arms`, and `length` are never used
[INFO] [stdout]   --> src/abstract_observable.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl SpatialArms {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 24 |     pub fn from_cube_in_graph(cube: &Cube, block_graph: &BlockGraph) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn get_map_from_arm_shift() -> HashMap<SpatialArms, (coord, coord)> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn single_arms() -> Vec<Self> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn length(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CubeWithArms` is never constructed
[INFO] [stdout]   --> src/abstract_observable.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub struct CubeWithArms {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/abstract_observable.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | impl CubeWithArms {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 66 |     pub fn new(cube: Cube, arms: SpatialArms) -> Result<Self, String> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PipeWithArms` is never constructed
[INFO] [stdout]   --> src/abstract_observable.rs:82:12
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub struct PipeWithArms {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/abstract_observable.rs:88:12
[INFO] [stdout]    |
[INFO] [stdout] 87 | impl PipeWithArms {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 88 |     pub fn new(pipe: Pipe, cube_arms: (SpatialArms, SpatialArms)) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PipeWithObservableBasis` is never constructed
[INFO] [stdout]   --> src/abstract_observable.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub struct PipeWithObservableBasis {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/abstract_observable.rs:103:12
[INFO] [stdout]     |
[INFO] [stdout] 102 | impl PipeWithObservableBasis {
[INFO] [stdout]     | ---------------------------- associated function in this implementation
[INFO] [stdout] 103 |     pub fn new(pipe: Pipe, observable_basis: Basis) -> Result<Self, String> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AbstractObservable` is never constructed
[INFO] [stdout]    --> src/abstract_observable.rs:115:12
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub struct AbstractObservable {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `slice_at_z` are never used
[INFO] [stdout]    --> src/abstract_observable.rs:124:12
[INFO] [stdout]     |
[INFO] [stdout] 123 | impl AbstractObservable {
[INFO] [stdout]     | ----------------------- associated items in this implementation
[INFO] [stdout] 124 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 145 |     pub fn slice_at_z(&self, graph: BlockGraph, z: coord) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compile_correlation_surface_to_abstract_observable` is never used
[INFO] [stdout]    --> src/abstract_observable.rs:191:8
[INFO] [stdout]     |
[INFO] [stdout] 191 | pub fn compile_correlation_surface_to_abstract_observable(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_obs_include` is never used
[INFO] [stdout]    --> src/abstract_observable.rs:347:4
[INFO] [stdout]     |
[INFO] [stdout] 347 | fn has_obs_include(cube: &Cube, correlation: Basis, block_graph: &BlockGraph) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/block_graph.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct BlockGraph {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 23 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BlockGraph` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/block_graph.rs:132:12
[INFO] [stdout]     |
[INFO] [stdout]  34 | impl BlockGraph {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 132 |     pub fn num_cubes(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub fn num_pipes(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 |     pub fn get_pipe(&self, pos1: Position3D, pos2: Position3D) -> &Pipe {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |     pub fn num_y_half_cubes(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 187 |     pub fn set_name(&mut self, new_name: String) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 |     pub fn get_name(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 199 |     pub fn spacetime_volume(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 |     pub fn cube_at(&self, position: Position3D) -> &Cube {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 232 |     pub fn has_pipe_between(&self, pos1: Position3D, pos2: Position3D) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 239 |     pub fn validate(&self) -> Result<String, String> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 251 |     fn validate_locally_at(&self, cube: &Cube) -> Result<String, String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 313 |     fn pipe_at_head(&self, pipe: Pipe, position: Position3D) -> Result<bool, String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 324 |     pub fn pipes_at(&self, pos: &Position3D) -> Vec<Pipe> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `position` and `basis` are never used
[INFO] [stdout]   --> src/correlation.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl ZXNode {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn position(&self) -> &Position3D {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn basis(&self) -> Basis {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_self_loop`, `nodes`, and `get_basis` are never used
[INFO] [stdout]   --> src/correlation.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl ZXEdge {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn is_self_loop(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub fn nodes(&self) -> (&ZXNode, &ZXNode) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn get_basis(&self, position: Position3D) -> Basis {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/correlation.rs:112:12
[INFO] [stdout]     |
[INFO] [stdout] 103 | impl CorrelationSurface {
[INFO] [stdout]     | ----------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 112 |     pub fn span(&self) -> impl Iterator<Item = &ZXEdge> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn num_edges(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub fn is_single_node(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 124 |     pub fn bases_at(&self, position: Position3D) -> HashSet<Basis> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     pub fn positions(&self) -> HashSet<Position3D> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 168 |     pub fn edges_at(&self, pos: Position3D) -> HashSet<ZXEdge> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |     pub fn shift_by(&self, dx: coord, dy: coord, dz: coord) -> Self {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `flipped` and `to_string` are never used
[INFO] [stdout]   --> src/cube.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Basis {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] 25 |     pub fn flipped(&self) -> Basis {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn to_string(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `x`, `y`, `z`, and `shift_by` are never used
[INFO] [stdout]   --> src/cube.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl Position3D {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn x(&self) -> coord {
[INFO] [stdout]    |            ^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn y(&self) -> coord {
[INFO] [stdout]    |            ^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn z(&self) -> coord {
[INFO] [stdout]    |            ^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn shift_by(&self, dx: coord, dy: coord, dz: coord) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `eq` and `is_spatial` are never used
[INFO] [stdout]    --> src/cube.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout]  86 | impl Cube {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn eq(&self, other: &Cube) -> bool {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     pub fn is_spatial(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `as_tuple`, `is_spatial`, `normal_basis`, and `get_basis_along` are never used
[INFO] [stdout]    --> src/cube.rs:124:12
[INFO] [stdout]     |
[INFO] [stdout] 123 | impl ZXCube {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] 124 |     pub fn as_tuple(&self) -> (Basis, Basis, Basis) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub fn is_spatial(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     pub fn normal_basis(&self) -> Basis {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     pub fn get_basis_along(&self, direction: Direction3D) -> Basis {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PortCube` is never constructed
[INFO] [stdout]    --> src/cube.rs:177:12
[INFO] [stdout]     |
[INFO] [stdout] 177 | pub struct PortCube {}
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `to_string`, `direction`, `as_tuple`, `get_basis_along`, `is_temporal`, and `is_spatial` are never used
[INFO] [stdout]    --> src/cube.rs:228:12
[INFO] [stdout]     |
[INFO] [stdout] 227 | impl Pipe {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] 228 |     pub fn to_string(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 |     pub fn direction(&self) -> Direction3D {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 252 |     pub fn as_tuple(&self) -> (Option<Basis>, Option<Basis>, Option<Basis>) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 255 |     pub fn get_basis_along(&self, direction: Direction3D, at_head: bool) -> Result<Basis, String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 274 |     pub fn is_temporal(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 278 |     pub fn is_spatial(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Direction3D` is never used
[INFO] [stdout]    --> src/cube.rs:285:10
[INFO] [stdout]     |
[INFO] [stdout] 285 | pub enum Direction3D {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_int`, `all`, and `orthogonal_directions` are never used
[INFO] [stdout]    --> src/cube.rs:292:12
[INFO] [stdout]     |
[INFO] [stdout] 291 | impl Direction3D {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 292 |     pub fn from_int(idx: usize) -> Option<Self> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 300 |     pub fn all() -> Vec<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 303 |     pub fn orthogonal_directions(&self) -> [Self; 2] {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CubeSpec` is never constructed
[INFO] [stdout]  --> src/cube_spec.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct CubeSpec {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_cube` is never used
[INFO] [stdout]   --> src/cube_spec.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl CubeSpec {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 15 |     pub fn from_cube(
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LayoutPosition2D` is never constructed
[INFO] [stdout]  --> src/layout.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct LayoutPosition2D {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LayoutPosition3D` is never constructed
[INFO] [stdout]  --> src/layout.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct LayoutPosition3D {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `correlation_surface_is_valid` is never used
[INFO] [stdout]    --> src/positioned.rs:478:12
[INFO] [stdout]     |
[INFO] [stdout]  35 | impl PositionedZX {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 478 |     pub fn correlation_surface_is_valid(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `cubeIdToNodeIndex` should have a snake case name
[INFO] [stdout]   --> src/block_graph.rs:60:25
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 let mut cubeIdToNodeIndex: HashMap<String, NodeIndex> = HashMap::new();
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cube_id_to_node_index`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/correlation.rs:668:9
[INFO] [stdout]     |
[INFO] [stdout] 668 |         solve_linear_system(basis, func(cs), true);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 668 |         let _ = solve_linear_system(basis, func(cs), true);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `toReturn` should have a snake case name
[INFO] [stdout]    --> src/positioned.rs:110:17
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let mut toReturn = Vec::new();
[INFO] [stdout]     |                 ^^^^^^^^ help: convert the identifier to snake case: `to_return`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `frozenset`
[INFO] [stderr]  --> Cargo.toml:3:1
[INFO] [stderr]   |
[INFO] [stderr] 3 | frozenset = "0.2.2"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `frozenset`
[INFO] [stderr] warning: unused dependency `rust-3d`
[INFO] [stderr]  --> Cargo.toml:8:1
[INFO] [stderr]   |
[INFO] [stderr] 8 | rust-3d = "0.34.0"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] help: consider removing the dependency on `rust-3d`
[INFO] [stderr] warning: `tqec-rs` (manifest) generated 2 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s
[INFO] running `Command { std: "docker" "inspect" "5d170d643e09757990555b549007f22399b794166a8439f17ed777c7f7eec761", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5d170d643e09757990555b549007f22399b794166a8439f17ed777c7f7eec761", kill_on_drop: false }`
[INFO] [stdout] 5d170d643e09757990555b549007f22399b794166a8439f17ed777c7f7eec761
