[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] 314a7de4fc66b7955a92c5c8dd3287e097866426 [INFO] checking smburdick/tqec-rs against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6+rustflags=-Znext-solver=coherence for pr-133502-30 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmburdick%2Ftqec-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/smburdick/tqec-rs on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded radium v0.3.0 [INFO] [stderr] Downloaded rust-3d v0.34.0 [INFO] [stderr] Downloaded lalrpop-util v0.19.12 [INFO] [stderr] Downloaded logos v0.12.1 [INFO] [stderr] Downloaded frozenset v0.2.2 [INFO] [stderr] Downloaded derive-new v0.7.0 [INFO] [stderr] Downloaded logos-derive v0.12.1 [INFO] [stderr] Downloaded roots v0.0.8 [INFO] [stderr] Downloaded openqasm v0.1.2 [INFO] [stderr] Downloaded rstest v0.23.0 [INFO] [stderr] Downloaded rstest_macros v0.23.0 [INFO] [stderr] Downloaded bitvec v0.17.4 [INFO] [stderr] Downloaded quizx v0.3.0 [INFO] [stderr] Downloaded stim v0.4.5 [INFO] [stderr] Downloaded lalrpop v0.19.12 [INFO] [stderr] Downloaded stim-cxx v0.4.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 20f465d1557de9eb9abde4f19478b30eb9abee52b790904ac20bbb2fd331cbad [INFO] running `Command { std: "docker" "start" "20f465d1557de9eb9abde4f19478b30eb9abee52b790904ac20bbb2fd331cbad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20f465d1557de9eb9abde4f19478b30eb9abee52b790904ac20bbb2fd331cbad", 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" "20f465d1557de9eb9abde4f19478b30eb9abee52b790904ac20bbb2fd331cbad" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20f465d1557de9eb9abde4f19478b30eb9abee52b790904ac20bbb2fd331cbad", 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 -Znext-solver=coherence" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "20f465d1557de9eb9abde4f19478b30eb9abee52b790904ac20bbb2fd331cbad" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [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 link-cplusplus v1.0.12 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling scratch v1.0.9 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling either v1.16.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling winnow v1.0.3 [INFO] [stderr] Compiling cxxbridge-flags v1.0.202 [INFO] [stderr] Compiling ena v0.14.4 [INFO] [stderr] Compiling codespan-reporting v0.13.1 [INFO] [stderr] Compiling cxx v1.0.202 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Checking num-iter v0.1.46 [INFO] [stderr] Checking indexmap v2.14.2 [INFO] [stderr] Checking num-bigint v0.4.8 [INFO] [stderr] Compiling rstest_macros v0.23.0 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking getrandom v0.4.3 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking foldhash v0.2.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling quote v1.0.46 [INFO] [stderr] Checking clap_builder v4.6.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling syn v2.0.118 [INFO] [stderr] Compiling regex-automata v0.4.15 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling syn v3.0.6 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling toml_parser v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking rayon v1.12.0 [INFO] [stderr] Checking jiff v0.2.32 [INFO] [stderr] Checking lalrpop-util v0.19.12 [INFO] [stderr] Checking radium v0.3.0 [INFO] [stderr] Compiling toml_edit v0.25.12+spec-1.1.0 [INFO] [stderr] Checking bitvec v0.17.4 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Checking serde_json v1.0.150 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking rand v0.8.6 [INFO] [stderr] Checking ndarray v0.17.2 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Checking roots v0.0.8 [INFO] [stderr] Checking rust-3d v0.34.0 [INFO] [stderr] Checking petgraph v0.8.3 [INFO] [stderr] Checking rand v0.10.2 [INFO] [stderr] Checking regex v1.13.0 [INFO] [stderr] Checking itertools v0.15.0 [INFO] [stderr] Checking frozenset v0.2.2 [INFO] [stderr] Checking env_filter v2.0.0 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Compiling cxx-build v1.0.202 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling cxxbridge-macro v1.0.202 [INFO] [stderr] Checking env_logger v0.11.11 [INFO] [stderr] Checking logos v0.12.1 [INFO] [stderr] Compiling stim-cxx v0.4.5 [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] Compiling derive-new v0.7.0 [INFO] [stderr] Checking futures-util v0.3.32 [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 stim v0.4.5 [INFO] [stderr] Checking tqec-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `benchmark` is never used [INFO] [stdout] --> src/main.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | 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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn single_arms() -> Vec { [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 { [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 { [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 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | fn validate_locally_at(&self, cube: &Cube) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | fn pipe_at_head(&self, pipe: Pipe, position: Position3D) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | pub fn pipes_at(&self, pos: &Position3D) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScheduledCircuit` is never constructed [INFO] [stdout] --> src/circuit/circuit.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ScheduledCircuit { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Moment` is never constructed [INFO] [stdout] --> src/circuit/moment.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Moment { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `check_is_valid` is never used [INFO] [stdout] --> src/circuit/moment.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Moment { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 12 | pub fn check_is_valid(circuit: &Circuit) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QubitMap` is never constructed [INFO] [stdout] --> src/circuit/qubit_map.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct QubitMap { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Schedule` is never constructed [INFO] [stdout] --> src/circuit/schedule.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Schedule { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `position` and `basis` are never used [INFO] [stdout] --> src/correlation.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl ZXNode { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn position(&self) -> &Position3D { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | 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:71:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl ZXEdge { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn is_self_loop(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn nodes(&self) -> (&ZXNode, &ZXNode) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn get_basis(&self, position: Position3D) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/correlation.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 104 | impl CorrelationSurface { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn span(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn num_edges(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn is_single_node(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn bases_at(&self, position: Position3D) -> HashSet { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn positions(&self) -> HashSet { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn edges_at(&self, pos: Position3D) -> HashSet { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | 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:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Basis { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 24 | pub fn flipped(&self) -> Basis { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | 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:55:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl Position3D { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn x(&self) -> Coord { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn y(&self) -> Coord { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn z(&self) -> Coord { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 64 | 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:101:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl Cube { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn eq(&self, other: &Cube) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 105 | 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:123:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl ZXCube { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 123 | pub fn as_tuple(&self) -> (Basis, Basis, Basis) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn is_spatial(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn normal_basis(&self) -> Basis { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | 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:176:12 [INFO] [stdout] | [INFO] [stdout] 176 | 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:227:12 [INFO] [stdout] | [INFO] [stdout] 226 | impl Pipe { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 227 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub fn direction(&self) -> Direction3D { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | pub fn as_tuple(&self) -> (Option, Option, Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn get_basis_along(&self, direction: Direction3D, at_head: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub fn is_temporal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | 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:284:10 [INFO] [stdout] | [INFO] [stdout] 284 | 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:291:12 [INFO] [stdout] | [INFO] [stdout] 290 | impl Direction3D { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 291 | pub fn from_int(idx: usize) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | pub fn all() -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | 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: struct `Plaquette` is never constructed [INFO] [stdout] --> src/plaquette/plaquette.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Plaquette { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GridQubit` is never constructed [INFO] [stdout] --> src/plaquette/qubit.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct GridQubit { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlaquetteQubits` is never constructed [INFO] [stdout] --> src/plaquette/qubit.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct PlaquetteQubits { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ANNOTATION_INSTRUCTIONS` is never used [INFO] [stdout] --> src/plaquette/qubit.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const ANNOTATION_INSTRUCTIONS: [&str; 18] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_qubit_accesses` is never used [INFO] [stdout] --> src/plaquette/qubit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn count_qubit_accesses(circuit: &Circuit) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_used_qubit_indices` is never used [INFO] [stdout] --> src/plaquette/qubit.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn get_used_qubit_indices(circuit: &Circuit) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PauliBasis` is never used [INFO] [stdout] --> src/plaquette/rpng.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum PauliBasis { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExtendedBasis` is never used [INFO] [stdout] --> src/plaquette/rpng.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum ExtendedBasis { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RPNG` is never constructed [INFO] [stdout] --> src/plaquette/rpng.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct RPNG { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `correlation_surface_is_valid` is never used [INFO] [stdout] --> src/positioned.rs:490:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl PositionedZX { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 490 | pub fn correlation_surface_is_valid( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `benchmark` is never used [INFO] [stdout] --> src/main.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | 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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn single_arms() -> Vec { [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 { [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 { [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 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | fn validate_locally_at(&self, cube: &Cube) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | fn pipe_at_head(&self, pipe: Pipe, position: Position3D) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | pub fn pipes_at(&self, pos: &Position3D) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScheduledCircuit` is never constructed [INFO] [stdout] --> src/circuit/circuit.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ScheduledCircuit { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Moment` is never constructed [INFO] [stdout] --> src/circuit/moment.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Moment { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `check_is_valid` is never used [INFO] [stdout] --> src/circuit/moment.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Moment { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 12 | pub fn check_is_valid(circuit: &Circuit) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QubitMap` is never constructed [INFO] [stdout] --> src/circuit/qubit_map.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct QubitMap { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Schedule` is never constructed [INFO] [stdout] --> src/circuit/schedule.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Schedule { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `position` and `basis` are never used [INFO] [stdout] --> src/correlation.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl ZXNode { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn position(&self) -> &Position3D { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn basis(&self) -> Basis { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `frozenset` [INFO] [stdout] warning: methods `is_self_loop`, `nodes`, and `get_basis` are never used [INFO] [stdout] --> src/correlation.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl ZXEdge { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn is_self_loop(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn nodes(&self) -> (&ZXNode, &ZXNode) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn get_basis(&self, position: Position3D) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> Cargo.toml:4:1 [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/correlation.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 104 | impl CorrelationSurface { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn span(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn num_edges(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn is_single_node(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn bases_at(&self, position: Position3D) -> HashSet { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn positions(&self) -> HashSet { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn edges_at(&self, pos: Position3D) -> HashSet { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn shift_by(&self, dx: Coord, dy: Coord, dz: Coord) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: methods `flipped` and `to_string` are never used [INFO] [stdout] --> src/cube.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Basis { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 24 | pub fn flipped(&self) -> Basis { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 4 | frozenset = "0.2.2" [INFO] [stdout] warning: methods `x`, `y`, `z`, and `shift_by` are never used [INFO] [stdout] --> src/cube.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl Position3D { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn x(&self) -> Coord { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn y(&self) -> Coord { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn z(&self) -> Coord { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn shift_by(&self, dx: Coord, dy: Coord, dz: Coord) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: methods `eq` and `is_spatial` are never used [INFO] [stdout] --> src/cube.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl Cube { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn eq(&self, other: &Cube) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn is_spatial(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: methods `as_tuple`, `is_spatial`, `normal_basis`, and `get_basis_along` are never used [INFO] [stdout] --> src/cube.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl ZXCube { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 123 | pub fn as_tuple(&self) -> (Basis, Basis, Basis) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn is_spatial(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn normal_basis(&self) -> Basis { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn get_basis_along(&self, direction: Direction3D) -> Basis { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stdout] warning: struct `PortCube` is never constructed [INFO] [stdout] --> src/cube.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 176 | pub struct PortCube {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] help: consider removing the dependency on `frozenset` [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:227:12 [INFO] [stdout] | [INFO] [stdout] 226 | impl Pipe { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 227 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub fn direction(&self) -> Direction3D { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | pub fn as_tuple(&self) -> (Option, Option, Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn get_basis_along(&self, direction: Direction3D, at_head: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub fn is_temporal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn is_spatial(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `rust-3d` [INFO] [stdout] warning: enum `Direction3D` is never used [INFO] [stdout] --> src/cube.rs:284:10 [INFO] [stdout] | [INFO] [stdout] 284 | pub enum Direction3D { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> Cargo.toml:10:1 [INFO] [stdout] warning: associated items `from_int`, `all`, and `orthogonal_directions` are never used [INFO] [stdout] --> src/cube.rs:291:12 [INFO] [stdout] | [INFO] [stdout] 290 | impl Direction3D { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 291 | pub fn from_int(idx: usize) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | pub fn all() -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | pub fn orthogonal_directions(&self) -> [Self; 2] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [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] [stderr] 10 | rust-3d = "0.34.0" [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] [stderr] | ^^^^^^^^^^^^^^^^^^ [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] [stderr] | [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] [stderr] help: consider removing the dependency on `rust-3d` [INFO] [stdout] warning: struct `Plaquette` is never constructed [INFO] [stdout] --> src/plaquette/plaquette.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Plaquette { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: `tqec-rs` (manifest) generated 2 warnings [INFO] [stdout] warning: struct `GridQubit` is never constructed [INFO] [stdout] --> src/plaquette/qubit.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct GridQubit { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 58s [INFO] [stdout] warning: struct `PlaquetteQubits` is never constructed [INFO] [stdout] --> src/plaquette/qubit.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct PlaquetteQubits { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ANNOTATION_INSTRUCTIONS` is never used [INFO] [stdout] --> src/plaquette/qubit.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const ANNOTATION_INSTRUCTIONS: [&str; 18] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_qubit_accesses` is never used [INFO] [stdout] --> src/plaquette/qubit.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn count_qubit_accesses(circuit: &Circuit) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_used_qubit_indices` is never used [INFO] [stdout] --> src/plaquette/qubit.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn get_used_qubit_indices(circuit: &Circuit) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PauliBasis` is never used [INFO] [stdout] --> src/plaquette/rpng.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum PauliBasis { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExtendedBasis` is never used [INFO] [stdout] --> src/plaquette/rpng.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum ExtendedBasis { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RPNG` is never constructed [INFO] [stdout] --> src/plaquette/rpng.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct RPNG { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `correlation_surface_is_valid` is never used [INFO] [stdout] --> src/positioned.rs:490:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl PositionedZX { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 490 | pub fn correlation_surface_is_valid( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "20f465d1557de9eb9abde4f19478b30eb9abee52b790904ac20bbb2fd331cbad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20f465d1557de9eb9abde4f19478b30eb9abee52b790904ac20bbb2fd331cbad", kill_on_drop: false }` [INFO] [stdout] 20f465d1557de9eb9abde4f19478b30eb9abee52b790904ac20bbb2fd331cbad