[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] a03f79aa138a547495b8656ffb8aadf5fc4677c3
[INFO] checking smburdick/tqec-rs against e3607d549209cc9fdfe7e907123b4185210e2c2b for pr-158915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmburdick%2Ftqec-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/smburdick/tqec-rs on toolchain e3607d549209cc9fdfe7e907123b4185210e2c2b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e3607d549209cc9fdfe7e907123b4185210e2c2b" "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" "+e3607d549209cc9fdfe7e907123b4185210e2c2b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e32fbfa7b923e71bc1c5bbc4e7a283ec636fc51cae229b8b3af8c8bc2969b8c6
[INFO] running `Command { std: "docker" "start" "e32fbfa7b923e71bc1c5bbc4e7a283ec636fc51cae229b8b3af8c8bc2969b8c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e32fbfa7b923e71bc1c5bbc4e7a283ec636fc51cae229b8b3af8c8bc2969b8c6", 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" "e32fbfa7b923e71bc1c5bbc4e7a283ec636fc51cae229b8b3af8c8bc2969b8c6" "/opt/rustwide/cargo-home/bin/cargo" "+e3607d549209cc9fdfe7e907123b4185210e2c2b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e32fbfa7b923e71bc1c5bbc4e7a283ec636fc51cae229b8b3af8c8bc2969b8c6", 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" "e32fbfa7b923e71bc1c5bbc4e7a283ec636fc51cae229b8b3af8c8bc2969b8c6" "/opt/rustwide/cargo-home/bin/cargo" "+e3607d549209cc9fdfe7e907123b4185210e2c2b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking memchr v2.8.3
[INFO] [stderr]    Compiling regex-syntax v0.8.11
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling smallvec v1.15.2
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]     Checking either v1.16.0
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling siphasher v1.0.3
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]    Compiling zerocopy v0.8.54
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling winnow v1.0.3
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling ena v0.14.4
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling is-terminal v0.4.17
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]     Checking rand_core v0.10.1
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]     Checking indexmap v2.14.0
[INFO] [stderr]    Compiling string_cache v0.8.9
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling rstest_macros v0.23.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]     Checking num-iter v0.1.46
[INFO] [stderr]     Checking num-bigint v0.4.8
[INFO] [stderr]    Compiling matrixmultiply v0.3.10
[INFO] [stderr]    Compiling beef v0.5.2
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]     Checking bitflags v2.13.1
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]    Compiling toml_parser v1.1.2+spec-1.1.0
[INFO] [stderr]    Compiling relative-path v1.9.3
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rustix v1.1.4
[INFO] [stderr]     Checking rayon v1.12.0
[INFO] [stderr]    Compiling regex-automata v0.4.15
[INFO] [stderr]     Checking lalrpop-util v0.19.12
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking futures-timer v3.0.4
[INFO] [stderr]     Checking once_cell v1.21.4
[INFO] [stderr]    Compiling toml_edit v0.25.12+spec-1.1.0
[INFO] [stderr]     Checking jiff v0.2.32
[INFO] [stderr]     Checking chacha20 v0.10.1
[INFO] [stderr]     Checking num v0.2.1
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]     Checking num v0.4.3
[INFO] [stderr]     Checking bitvec v0.17.4
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]     Checking itertools v0.13.0
[INFO] [stderr]     Checking fixedbitset v0.5.7
[INFO] [stderr]     Checking rustc-hash v2.1.3
[INFO] [stderr]     Checking strum v0.25.0
[INFO] [stderr]     Checking roots v0.0.8
[INFO] [stderr]     Checking rand v0.10.2
[INFO] [stderr]    Compiling proc-macro-crate v3.5.0
[INFO] [stderr]     Checking petgraph v0.8.3
[INFO] [stderr]     Checking itertools v0.15.0
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]     Checking frozenset v0.2.2
[INFO] [stderr]     Checking rust-3d v0.34.0
[INFO] [stderr]    Compiling logos-derive v0.12.1
[INFO] [stderr]     Checking regex v1.13.0
[INFO] [stderr]     Checking ndarray v0.16.1
[INFO] [stderr]     Checking env_filter v2.0.0
[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 clap_derive v4.6.1
[INFO] [stderr]    Compiling derive_more-impl v1.0.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling strum_macros v0.25.3
[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 ppv-lite86 v0.2.21
[INFO] [stderr]     Checking clap v4.6.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.6
[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: `abstract_observable::compile_correlation_surface_to_abstract_observable`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     abstract_observable::compile_correlation_surface_to_abstract_observable,
[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: `io::pipe`
[INFO] [stdout]  --> src/abstract_observable.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     io::pipe,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ZXCube` and `positioned::PositionedZX`
[INFO] [stdout]   --> src/abstract_observable.rs:11:66
[INFO] [stdout]    |
[INFO] [stdout] 11 |     cube::{Basis, Cube, CubeKind, Direction3D, Pipe, Position3D, ZXCube},
[INFO] [stdout]    |                                                                  ^^^^^^
[INFO] [stdout] 12 |     positioned::PositionedZX,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Position`
[INFO] [stdout]  --> src/block_graph.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use itertools::{Itertools, Position};
[INFO] [stdout]   |                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mem::take`
[INFO] [stdout]   --> src/correlation.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     mem::take,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `abstract_observable::compile_correlation_surface_to_abstract_observable`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     abstract_observable::compile_correlation_surface_to_abstract_observable,
[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: `io::pipe`
[INFO] [stdout]  --> src/abstract_observable.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     io::pipe,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ZXCube` and `positioned::PositionedZX`
[INFO] [stdout]   --> src/abstract_observable.rs:11:66
[INFO] [stdout]    |
[INFO] [stdout] 11 |     cube::{Basis, Cube, CubeKind, Direction3D, Pipe, Position3D, ZXCube},
[INFO] [stdout]    |                                                                  ^^^^^^
[INFO] [stdout] 12 |     positioned::PositionedZX,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Position`
[INFO] [stdout]  --> src/block_graph.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use itertools::{Itertools, Position};
[INFO] [stdout]   |                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mem::take`
[INFO] [stdout]   --> src/correlation.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     mem::take,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/positioned.rs:335:17
[INFO] [stdout]     |
[INFO] [stdout] 334 |                   todo!("This loop is not fully implemented yet.");
[INFO] [stdout]     |                   ------------------------------------------------ any code following this expression is unreachable
[INFO] [stdout] 335 | /                 if vector_basis.len() == generating_set_sz {
[INFO] [stdout] 336 | |                     break;
[INFO] [stdout] 337 | |                 }
[INFO] [stdout]     | |_________________^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/abstract_observable.rs:236:9
[INFO] [stdout]     |
[INFO] [stdout] 236 |     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:223:9
[INFO] [stdout]     |
[INFO] [stdout] 223 |     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: unreachable pattern
[INFO] [stdout]   --> src/correlation.rs:80:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |             u_pos => self.u.basis,
[INFO] [stdout]    |             ----- matches any value
[INFO] [stdout] 80 |             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:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |         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:81:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |             u_pos => self.u.basis,
[INFO] [stdout]    |             ----- matches any value
[INFO] [stdout] 80 |             v_pos => self.v.basis,
[INFO] [stdout] 81 |             _ => 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:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let u_pos = self.u.position;
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u_pos`
[INFO] [stdout]   --> src/correlation.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |         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:77:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |         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:79:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |             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:80:13
[INFO] [stdout]    |
[INFO] [stdout] 80 |             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:440:39
[INFO] [stdout]     |
[INFO] [stdout] 440 |     let mut result: Vec<Vec<Pauli>> = Vec::new();
[INFO] [stdout]     |                                       ^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 448 |         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: unused variable: `always_copy`
[INFO] [stdout]    --> src/correlation.rs:477:5
[INFO] [stdout]     |
[INFO] [stdout] 477 |     always_copy: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_always_copy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/positioned.rs:335:17
[INFO] [stdout]     |
[INFO] [stdout] 334 |                   todo!("This loop is not fully implemented yet.");
[INFO] [stdout]     |                   ------------------------------------------------ any code following this expression is unreachable
[INFO] [stdout] 335 | /                 if vector_basis.len() == generating_set_sz {
[INFO] [stdout] 336 | |                     break;
[INFO] [stdout] 337 | |                 }
[INFO] [stdout]     | |_________________^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/positioned.rs:330:17
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let mut syndrome_basis: HashMap<usize, (usize, usize)> = HashMap::new();
[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/positioned.rs:331:17
[INFO] [stdout]     |
[INFO] [stdout] 331 |             let mut basis_surfaces: Vec<HalfEdgeCorrelationSurface> = Vec::new();
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `syndrome_basis`
[INFO] [stdout]    --> src/positioned.rs:330:17
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let mut syndrome_basis: HashMap<usize, (usize, usize)> = HashMap::new();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_syndrome_basis`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `basis_surfaces`
[INFO] [stdout]    --> src/positioned.rs:331:17
[INFO] [stdout]     |
[INFO] [stdout] 331 |             let mut basis_surfaces: Vec<HalfEdgeCorrelationSurface> = Vec::new();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_basis_surfaces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cs`
[INFO] [stdout]    --> src/positioned.rs:333:18
[INFO] [stdout]     |
[INFO] [stdout] 333 |             for (cs, syndrome) in invalid_surfaces {
[INFO] [stdout]     |                  ^^ help: if this is intentional, prefix it with an underscore: `_cs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `syndrome`
[INFO] [stdout]    --> src/positioned.rs:333:22
[INFO] [stdout]     |
[INFO] [stdout] 333 |             for (cs, syndrome) in invalid_surfaces {
[INFO] [stdout]     |                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_syndrome`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `SpatialArms` is more private than the item `CubeWithArms::new`
[INFO] [stdout]   --> src/abstract_observable.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn new(cube: Cube, arms: SpatialArms) -> Result<Self, String> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `CubeWithArms::new` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `SpatialArms` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/abstract_observable.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | / bitflags! {
[INFO] [stdout] 16 | |     #[derive(Hash, PartialEq, Eq, Clone, Copy)]
[INFO] [stdout] 17 | |     struct SpatialArms: u8 {
[INFO] [stdout] 18 | |         const NONE  = 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `SpatialArms` is more private than the item `PipeWithArms::new`
[INFO] [stdout]   --> src/abstract_observable.rs:91:5
[INFO] [stdout]    |
[INFO] [stdout] 91 |     pub fn new(pipe: Pipe, cube_arms: (SpatialArms, SpatialArms)) -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `PipeWithArms::new` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `SpatialArms` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/abstract_observable.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | / bitflags! {
[INFO] [stdout] 16 | |     #[derive(Hash, PartialEq, Eq, Clone, Copy)]
[INFO] [stdout] 17 | |     struct SpatialArms: u8 {
[INFO] [stdout] 18 | |         const NONE  = 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    = note: this warning originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[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:27:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl SpatialArms {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 27 |     pub fn from_cube_in_graph(cube: &Cube, block_graph: &BlockGraph) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn get_map_from_arm_shift() -> HashMap<SpatialArms, (i32, i32)> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn single_arms() -> Vec<Self> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn length(&self) -> 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: struct `CubeWithArms` is never constructed
[INFO] [stdout]   --> src/abstract_observable.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct CubeWithArms {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/abstract_observable.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl CubeWithArms {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 69 |     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:85:12
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub struct PipeWithArms {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/abstract_observable.rs:91:12
[INFO] [stdout]    |
[INFO] [stdout] 90 | impl PipeWithArms {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 91 |     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:100:12
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub struct PipeWithObservableBasis {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/abstract_observable.rs:106:12
[INFO] [stdout]     |
[INFO] [stdout] 105 | impl PipeWithObservableBasis {
[INFO] [stdout]     | ---------------------------- associated function in this implementation
[INFO] [stdout] 106 |     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:119:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | 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:128:12
[INFO] [stdout]     |
[INFO] [stdout] 127 | impl AbstractObservable {
[INFO] [stdout]     | ----------------------- associated items in this implementation
[INFO] [stdout] 128 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 149 |     pub fn slice_at_z(&self, graph: BlockGraph, z: i32) -> 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:195:8
[INFO] [stdout]     |
[INFO] [stdout] 195 | 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:351:4
[INFO] [stdout]     |
[INFO] [stdout] 351 | 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:22:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct BlockGraph {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 22 |     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:119:12
[INFO] [stdout]     |
[INFO] [stdout]  29 | impl BlockGraph {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn num_cubes(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |     pub fn num_pipes(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 157 |     pub fn get_pipe(&self, pos1: Position3D, pos2: Position3D) -> &Pipe {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     pub fn num_y_half_cubes(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 |     pub fn set_name(&mut self, new_name: String) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 177 |     pub fn get_name(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 185 |     pub fn spacetime_volume(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 212 |     pub fn cube_at(&self, position: Position3D) -> &Cube {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 218 |     pub fn has_pipe_between(&self, pos1: Position3D, pos2: Position3D) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `position` and `basis` are never used
[INFO] [stdout]   --> src/correlation.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl ZXNode {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn position(&self) -> &Position3D {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     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:67:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | impl ZXEdge {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub fn is_self_loop(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn nodes(&self) -> (&ZXNode, &ZXNode) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     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:109:12
[INFO] [stdout]     |
[INFO] [stdout] 101 | impl CorrelationSurface {
[INFO] [stdout]     | ----------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn span(&self) -> impl Iterator<Item = &ZXEdge> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn num_edges(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn is_single_node(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub fn bases_at(&self, position: Position3D) -> HashSet<Basis> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub fn positions(&self) -> HashSet<Position3D> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     pub fn edges_at(&self, pos: Position3D) -> HashSet<ZXEdge> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 179 |     pub fn shift_by(&self, dx: i32, dy: i32, dz: i32) -> Self {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `flipped` and `to_string` are never used
[INFO] [stdout]   --> src/cube.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Basis {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] 23 |     pub fn flipped(&self) -> Basis {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn to_string(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `x`, `y`, and `shift_by` are never used
[INFO] [stdout]   --> src/cube.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl Position3D {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn x(&self) -> i32 {
[INFO] [stdout]    |            ^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn y(&self) -> i32 {
[INFO] [stdout]    |            ^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn shift_by(&self, dx: i32, dy: i32, dz: i32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `eq` and `is_spatial` are never used
[INFO] [stdout]    --> src/cube.rs:100:12
[INFO] [stdout]     |
[INFO] [stdout]  84 | impl Cube {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn eq(&self, other: &Cube) -> bool {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn is_spatial(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `as_tuple`, `is_spatial`, and `normal_basis` are never used
[INFO] [stdout]    --> src/cube.rs:122:12
[INFO] [stdout]     |
[INFO] [stdout] 121 | impl ZXCube {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] 122 |     pub fn as_tuple(&self) -> (Basis, Basis, Basis) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     pub fn is_spatial(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn normal_basis(&self) -> Basis {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PortCube` is never constructed
[INFO] [stdout]    --> src/cube.rs:166:12
[INFO] [stdout]     |
[INFO] [stdout] 166 | pub struct PortCube {}
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `to_string`, `direction`, and `as_tuple` are never used
[INFO] [stdout]    --> src/cube.rs:217:12
[INFO] [stdout]     |
[INFO] [stdout] 216 | impl Pipe {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] 217 |     pub fn to_string(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 233 |     pub fn direction(&self) -> Option<Direction3D> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 240 |     pub fn as_tuple(&self) -> (Option<Basis>, Option<Basis>, Option<Basis>) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Direction3D` is never used
[INFO] [stdout]    --> src/cube.rs:247:10
[INFO] [stdout]     |
[INFO] [stdout] 247 | pub enum Direction3D {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_int` is never used
[INFO] [stdout]    --> src/cube.rs:254:12
[INFO] [stdout]     |
[INFO] [stdout] 253 | impl Direction3D {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] 254 |     pub fn from_int(idx: usize) -> Option<Self> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `correlation_surface_is_valid` is never used
[INFO] [stdout]    --> src/positioned.rs:451:12
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl PositionedZX {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 451 |     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:50:25
[INFO] [stdout]    |
[INFO] [stdout] 50 |                 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:641:9
[INFO] [stdout]     |
[INFO] [stdout] 641 |         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] 641 |         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:103:17
[INFO] [stdout]     |
[INFO] [stdout] 103 |         let mut toReturn = Vec::new();
[INFO] [stdout]     |                 ^^^^^^^^ help: convert the identifier to snake case: `to_return`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/abstract_observable.rs:236:9
[INFO] [stdout]     |
[INFO] [stdout] 236 |     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:223:9
[INFO] [stdout]     |
[INFO] [stdout] 223 |     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: unreachable pattern
[INFO] [stdout]   --> src/correlation.rs:80:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |             u_pos => self.u.basis,
[INFO] [stdout]    |             ----- matches any value
[INFO] [stdout] 80 |             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:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |         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:81:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |             u_pos => self.u.basis,
[INFO] [stdout]    |             ----- matches any value
[INFO] [stdout] 80 |             v_pos => self.v.basis,
[INFO] [stdout] 81 |             _ => 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:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let u_pos = self.u.position;
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u_pos`
[INFO] [stdout]   --> src/correlation.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |         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:77:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |         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:79:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |             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:80:13
[INFO] [stdout]    |
[INFO] [stdout] 80 |             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:440:39
[INFO] [stdout]     |
[INFO] [stdout] 440 |     let mut result: Vec<Vec<Pauli>> = Vec::new();
[INFO] [stdout]     |                                       ^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 448 |         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: unused variable: `always_copy`
[INFO] [stdout]    --> src/correlation.rs:477:5
[INFO] [stdout]     |
[INFO] [stdout] 477 |     always_copy: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_always_copy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/positioned.rs:330:17
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let mut syndrome_basis: HashMap<usize, (usize, usize)> = HashMap::new();
[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/positioned.rs:331:17
[INFO] [stdout]     |
[INFO] [stdout] 331 |             let mut basis_surfaces: Vec<HalfEdgeCorrelationSurface> = Vec::new();
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `syndrome_basis`
[INFO] [stdout]    --> src/positioned.rs:330:17
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let mut syndrome_basis: HashMap<usize, (usize, usize)> = HashMap::new();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_syndrome_basis`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `basis_surfaces`
[INFO] [stdout]    --> src/positioned.rs:331:17
[INFO] [stdout]     |
[INFO] [stdout] 331 |             let mut basis_surfaces: Vec<HalfEdgeCorrelationSurface> = Vec::new();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_basis_surfaces`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cs`
[INFO] [stdout]    --> src/positioned.rs:333:18
[INFO] [stdout]     |
[INFO] [stdout] 333 |             for (cs, syndrome) in invalid_surfaces {
[INFO] [stdout]     |                  ^^ help: if this is intentional, prefix it with an underscore: `_cs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `syndrome`
[INFO] [stdout]    --> src/positioned.rs:333:22
[INFO] [stdout]     |
[INFO] [stdout] 333 |             for (cs, syndrome) in invalid_surfaces {
[INFO] [stdout]     |                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_syndrome`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `SpatialArms` is more private than the item `CubeWithArms::new`
[INFO] [stdout]   --> src/abstract_observable.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn new(cube: Cube, arms: SpatialArms) -> Result<Self, String> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `CubeWithArms::new` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `SpatialArms` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/abstract_observable.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | / bitflags! {
[INFO] [stdout] 16 | |     #[derive(Hash, PartialEq, Eq, Clone, Copy)]
[INFO] [stdout] 17 | |     struct SpatialArms: u8 {
[INFO] [stdout] 18 | |         const NONE  = 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `SpatialArms` is more private than the item `PipeWithArms::new`
[INFO] [stdout]   --> src/abstract_observable.rs:91:5
[INFO] [stdout]    |
[INFO] [stdout] 91 |     pub fn new(pipe: Pipe, cube_arms: (SpatialArms, SpatialArms)) -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `PipeWithArms::new` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `SpatialArms` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/abstract_observable.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | / bitflags! {
[INFO] [stdout] 16 | |     #[derive(Hash, PartialEq, Eq, Clone, Copy)]
[INFO] [stdout] 17 | |     struct SpatialArms: u8 {
[INFO] [stdout] 18 | |         const NONE  = 0;
[INFO] [stdout] ...  |
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    = note: this warning originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[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:27:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl SpatialArms {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 27 |     pub fn from_cube_in_graph(cube: &Cube, block_graph: &BlockGraph) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn get_map_from_arm_shift() -> HashMap<SpatialArms, (i32, i32)> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn single_arms() -> Vec<Self> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn length(&self) -> 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: struct `CubeWithArms` is never constructed
[INFO] [stdout]   --> src/abstract_observable.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct CubeWithArms {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/abstract_observable.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl CubeWithArms {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 69 |     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:85:12
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub struct PipeWithArms {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/abstract_observable.rs:91:12
[INFO] [stdout]    |
[INFO] [stdout] 90 | impl PipeWithArms {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 91 |     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:100:12
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub struct PipeWithObservableBasis {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/abstract_observable.rs:106:12
[INFO] [stdout]     |
[INFO] [stdout] 105 | impl PipeWithObservableBasis {
[INFO] [stdout]     | ---------------------------- associated function in this implementation
[INFO] [stdout] 106 |     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:119:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | 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:128:12
[INFO] [stdout]     |
[INFO] [stdout] 127 | impl AbstractObservable {
[INFO] [stdout]     | ----------------------- associated items in this implementation
[INFO] [stdout] 128 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 149 |     pub fn slice_at_z(&self, graph: BlockGraph, z: i32) -> 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:195:8
[INFO] [stdout]     |
[INFO] [stdout] 195 | 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:351:4
[INFO] [stdout]     |
[INFO] [stdout] 351 | 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:22:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct BlockGraph {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 22 |     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:119:12
[INFO] [stdout]     |
[INFO] [stdout]  29 | impl BlockGraph {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn num_cubes(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |     pub fn num_pipes(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 157 |     pub fn get_pipe(&self, pos1: Position3D, pos2: Position3D) -> &Pipe {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     pub fn num_y_half_cubes(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 |     pub fn set_name(&mut self, new_name: String) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 177 |     pub fn get_name(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 185 |     pub fn spacetime_volume(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 212 |     pub fn cube_at(&self, position: Position3D) -> &Cube {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 218 |     pub fn has_pipe_between(&self, pos1: Position3D, pos2: Position3D) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `position` and `basis` are never used
[INFO] [stdout]   --> src/correlation.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl ZXNode {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn position(&self) -> &Position3D {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     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:67:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | impl ZXEdge {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub fn is_self_loop(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn nodes(&self) -> (&ZXNode, &ZXNode) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     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:109:12
[INFO] [stdout]     |
[INFO] [stdout] 101 | impl CorrelationSurface {
[INFO] [stdout]     | ----------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn span(&self) -> impl Iterator<Item = &ZXEdge> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn num_edges(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn is_single_node(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub fn bases_at(&self, position: Position3D) -> HashSet<Basis> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub fn positions(&self) -> HashSet<Position3D> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     pub fn edges_at(&self, pos: Position3D) -> HashSet<ZXEdge> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 179 |     pub fn shift_by(&self, dx: i32, dy: i32, dz: i32) -> Self {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `flipped` and `to_string` are never used
[INFO] [stdout]   --> src/cube.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Basis {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] 23 |     pub fn flipped(&self) -> Basis {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn to_string(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `x`, `y`, and `shift_by` are never used
[INFO] [stdout]   --> src/cube.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl Position3D {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn x(&self) -> i32 {
[INFO] [stdout]    |            ^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn y(&self) -> i32 {
[INFO] [stdout]    |            ^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn shift_by(&self, dx: i32, dy: i32, dz: i32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `eq` and `is_spatial` are never used
[INFO] [stdout]    --> src/cube.rs:100:12
[INFO] [stdout]     |
[INFO] [stdout]  84 | impl Cube {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn eq(&self, other: &Cube) -> bool {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn is_spatial(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `as_tuple`, `is_spatial`, and `normal_basis` are never used
[INFO] [stdout]    --> src/cube.rs:122:12
[INFO] [stdout]     |
[INFO] [stdout] 121 | impl ZXCube {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] 122 |     pub fn as_tuple(&self) -> (Basis, Basis, Basis) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     pub fn is_spatial(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn normal_basis(&self) -> Basis {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PortCube` is never constructed
[INFO] [stdout]    --> src/cube.rs:166:12
[INFO] [stdout]     |
[INFO] [stdout] 166 | pub struct PortCube {}
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `to_string`, `direction`, and `as_tuple` are never used
[INFO] [stdout]    --> src/cube.rs:217:12
[INFO] [stdout]     |
[INFO] [stdout] 216 | impl Pipe {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] 217 |     pub fn to_string(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 233 |     pub fn direction(&self) -> Option<Direction3D> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 240 |     pub fn as_tuple(&self) -> (Option<Basis>, Option<Basis>, Option<Basis>) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Direction3D` is never used
[INFO] [stdout]    --> src/cube.rs:247:10
[INFO] [stdout]     |
[INFO] [stdout] 247 | pub enum Direction3D {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_int` is never used
[INFO] [stdout]    --> src/cube.rs:254:12
[INFO] [stdout]     |
[INFO] [stdout] 253 | impl Direction3D {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] 254 |     pub fn from_int(idx: usize) -> Option<Self> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `correlation_surface_is_valid` is never used
[INFO] [stdout]    --> src/positioned.rs:451:12
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl PositionedZX {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 451 |     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:50:25
[INFO] [stdout]    |
[INFO] [stdout] 50 |                 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:641:9
[INFO] [stdout]     |
[INFO] [stdout] 641 |         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] 641 |         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:103:17
[INFO] [stdout]     |
[INFO] [stdout] 103 |         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 06s
[INFO] running `Command { std: "docker" "inspect" "e32fbfa7b923e71bc1c5bbc4e7a283ec636fc51cae229b8b3af8c8bc2969b8c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e32fbfa7b923e71bc1c5bbc4e7a283ec636fc51cae229b8b3af8c8bc2969b8c6", kill_on_drop: false }`
[INFO] [stdout] e32fbfa7b923e71bc1c5bbc4e7a283ec636fc51cae229b8b3af8c8bc2969b8c6
