[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] b5d8fadde802ef815295984a1715823315fe2da4 [INFO] checking smburdick/tqec-rs against 416264364aa47959f5827723e1d7dabc95d0744b for pr-162242 [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 416264364aa47959f5827723e1d7dabc95d0744b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+416264364aa47959f5827723e1d7dabc95d0744b" "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" "+416264364aa47959f5827723e1d7dabc95d0744b" "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] d3d2ae9dc9ea017326501b8eb3e38873ef68c66be9dfd96edbe665b6b109f9c9 [INFO] running `Command { std: "docker" "start" "d3d2ae9dc9ea017326501b8eb3e38873ef68c66be9dfd96edbe665b6b109f9c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3d2ae9dc9ea017326501b8eb3e38873ef68c66be9dfd96edbe665b6b109f9c9", 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" "d3d2ae9dc9ea017326501b8eb3e38873ef68c66be9dfd96edbe665b6b109f9c9" "/opt/rustwide/cargo-home/bin/cargo" "+416264364aa47959f5827723e1d7dabc95d0744b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3d2ae9dc9ea017326501b8eb3e38873ef68c66be9dfd96edbe665b6b109f9c9", 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" "d3d2ae9dc9ea017326501b8eb3e38873ef68c66be9dfd96edbe665b6b109f9c9" "/opt/rustwide/cargo-home/bin/cargo" "+416264364aa47959f5827723e1d7dabc95d0744b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.22 [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] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling syn v2.0.118 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking either v1.16.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling log v0.4.33 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling zerocopy v0.8.54 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling ena v0.14.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Compiling rstest_macros v0.23.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking getrandom v0.4.3 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Checking bitflags v2.13.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Checking clap_builder v4.6.0 [INFO] [stderr] Checking rustix v1.1.4 [INFO] [stderr] Checking lalrpop-util v0.19.12 [INFO] [stderr] Checking jiff v0.2.32 [INFO] [stderr] Checking crossbeam-epoch v0.9.20 [INFO] [stderr] Checking crossbeam-deque v0.8.7 [INFO] [stderr] Compiling regex-automata v0.4.15 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Checking num-iter v0.1.46 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Checking num-bigint v0.4.8 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking rayon-core v1.13.0 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking radium v0.3.0 [INFO] [stderr] Checking futures-timer v3.0.4 [INFO] [stderr] Checking rayon v1.12.0 [INFO] [stderr] Checking serde_json v1.0.150 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking bitvec v0.17.4 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking roots v0.0.8 [INFO] [stderr] Checking rustc-hash v2.1.3 [INFO] [stderr] Checking petgraph v0.8.3 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking rand v0.10.2 [INFO] [stderr] Checking itertools v0.15.0 [INFO] [stderr] Checking frozenset v0.2.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Checking rust-3d v0.34.0 [INFO] [stderr] Compiling regex v1.13.0 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Checking env_filter v2.0.0 [INFO] [stderr] Checking env_logger v0.11.11 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Checking logos v0.12.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling clap_derive v4.6.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.6 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking clap v4.6.1 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking rstest v0.23.0 [INFO] [stderr] Compiling openqasm v0.1.2 [INFO] [stderr] Checking quizx v0.3.0 [INFO] [stderr] Checking tqec-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `io::pipe` [INFO] [stdout] --> src/abstract_observable.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, io::pipe}; [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: `pauli::Pauli::Y` [INFO] [stdout] --> src/pauli.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{cube::Basis, pauli::Pauli::Y}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc` [INFO] [stdout] --> src/positioned.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cell::RefCell, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 3 | collections::{HashMap, HashSet}, [INFO] [stdout] 4 | rc::Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/positioned.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | self, CorrelationSurface, HalfEdgeCorrelationSurface, ZXEdge, ZXNode, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::pipe` [INFO] [stdout] --> src/abstract_observable.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, io::pipe}; [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: `pauli::Pauli::Y` [INFO] [stdout] --> src/pauli.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{cube::Basis, pauli::Pauli::Y}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc` [INFO] [stdout] --> src/positioned.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cell::RefCell, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 3 | collections::{HashMap, HashSet}, [INFO] [stdout] 4 | rc::Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/positioned.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | self, CorrelationSurface, HalfEdgeCorrelationSurface, ZXEdge, ZXNode, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `annotation` [INFO] [stdout] --> src/block_graph.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 83 | let annotation: &str = items[5]; // TODO: how is this used? [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_annotation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `annotation` [INFO] [stdout] --> src/block_graph.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 83 | let annotation: &str = items[5]; // TODO: how is this used? [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_annotation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/correlation.rs:353:39 [INFO] [stdout] | [INFO] [stdout] 353 | let mut result: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 361 | 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:390:5 [INFO] [stdout] | [INFO] [stdout] 390 | always_copy: bool, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_always_copy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/correlation.rs:353:39 [INFO] [stdout] | [INFO] [stdout] 353 | let mut result: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 361 | 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:390:5 [INFO] [stdout] | [INFO] [stdout] 390 | always_copy: bool, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_always_copy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SpatialArms` is never used [INFO] [stdout] --> src/abstract_observable.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum SpatialArms { [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:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct CubeWithArms { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/abstract_observable.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl CubeWithArms { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 25 | 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:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct PipeWithArms { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/abstract_observable.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl PipeWithArms { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 47 | 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:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct PipeWithObservableBasis { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/abstract_observable.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl PipeWithObservableBasis { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 62 | 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:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | 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:84:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl AbstractObservable { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 84 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn slice_at_z(&self, graph: BlockGraph, z: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/block_graph.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct BlockGraph { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 21 | 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: methods `num_cubes`, `num_pipes`, `num_y_half_cubes`, `set_name`, `get_name`, and `spacetime_volume` are never used [INFO] [stdout] --> src/block_graph.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl BlockGraph { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn num_cubes(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn num_pipes(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn num_y_half_cubes(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn set_name(&mut self, new_name: String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn get_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn spacetime_volume(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `flipped` and `to_string` are never used [INFO] [stdout] --> src/cube.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Basis { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 25 | pub fn flipped(&self) -> Basis { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `x`, `y`, and `z` are never used [INFO] [stdout] --> src/cube.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl CubePosition { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn x(&self) -> i32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn y(&self) -> i32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn z(&self) -> i32 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `eq` and `is_spatial` are never used [INFO] [stdout] --> src/cube.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl Cube { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn eq(&self, other: &Cube) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn is_spatial(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_tuple` and `is_spatial` are never used [INFO] [stdout] --> src/cube.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl ZXCube { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 117 | pub fn as_tuple(&self) -> (Basis, Basis, Basis) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn is_spatial(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PortCube` is never constructed [INFO] [stdout] --> src/cube.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct PortCube {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_string` and `direction` are never used [INFO] [stdout] --> src/cube.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 200 | impl Pipe { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 201 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn direction(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction3D` is never used [INFO] [stdout] --> src/direction.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Direction3D { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_int` is never used [INFO] [stdout] --> src/direction.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Direction3D { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 10 | pub fn from_int(idx: usize) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CSID` is never constructed [INFO] [stdout] --> src/positioned.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct CSID(usize); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CorrelationSurfaceTracker` is never constructed [INFO] [stdout] --> src/positioned.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct CorrelationSurfaceTracker { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cubeIdToNodeIndex` should have a snake case name [INFO] [stdout] --> src/block_graph.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | let mut cubeIdToNodeIndex: HashMap = 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: enum `SpatialArms` is never used [INFO] [stdout] --> src/abstract_observable.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum SpatialArms { [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:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct CubeWithArms { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/abstract_observable.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl CubeWithArms { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 25 | 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:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct PipeWithArms { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/abstract_observable.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl PipeWithArms { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 47 | 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:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct PipeWithObservableBasis { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/abstract_observable.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl PipeWithObservableBasis { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 62 | 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:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | 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:84:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl AbstractObservable { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 84 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn slice_at_z(&self, graph: BlockGraph, z: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/block_graph.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct BlockGraph { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 21 | 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: methods `num_cubes`, `num_pipes`, `num_y_half_cubes`, `set_name`, `get_name`, and `spacetime_volume` are never used [INFO] [stdout] --> src/block_graph.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl BlockGraph { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn num_cubes(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn num_pipes(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn num_y_half_cubes(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn set_name(&mut self, new_name: String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn get_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn spacetime_volume(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `flipped` and `to_string` are never used [INFO] [stdout] --> src/cube.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Basis { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 25 | pub fn flipped(&self) -> Basis { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `x`, `y`, and `z` are never used [INFO] [stdout] --> src/cube.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl CubePosition { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn x(&self) -> i32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn y(&self) -> i32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn z(&self) -> i32 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `eq` and `is_spatial` are never used [INFO] [stdout] --> src/cube.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl Cube { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn eq(&self, other: &Cube) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn is_spatial(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_tuple` and `is_spatial` are never used [INFO] [stdout] --> src/cube.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl ZXCube { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 117 | pub fn as_tuple(&self) -> (Basis, Basis, Basis) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn is_spatial(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PortCube` is never constructed [INFO] [stdout] --> src/cube.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct PortCube {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_string` and `direction` are never used [INFO] [stdout] --> src/cube.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 200 | impl Pipe { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 201 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn direction(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction3D` is never used [INFO] [stdout] --> src/direction.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Direction3D { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_int` is never used [INFO] [stdout] --> src/direction.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Direction3D { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 10 | pub fn from_int(idx: usize) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CSID` is never constructed [INFO] [stdout] --> src/positioned.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct CSID(usize); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CorrelationSurfaceTracker` is never constructed [INFO] [stdout] --> src/positioned.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct CorrelationSurfaceTracker { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cubeIdToNodeIndex` should have a snake case name [INFO] [stdout] --> src/block_graph.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | let mut cubeIdToNodeIndex: HashMap = 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:554:9 [INFO] [stdout] | [INFO] [stdout] 554 | 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] 554 | 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:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | let mut toReturn = Vec::new(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `to_return` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/correlation.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 554 | 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] 554 | 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:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | 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:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | 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:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | 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 56.79s [INFO] running `Command { std: "docker" "inspect" "d3d2ae9dc9ea017326501b8eb3e38873ef68c66be9dfd96edbe665b6b109f9c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3d2ae9dc9ea017326501b8eb3e38873ef68c66be9dfd96edbe665b6b109f9c9", kill_on_drop: false }` [INFO] [stdout] d3d2ae9dc9ea017326501b8eb3e38873ef68c66be9dfd96edbe665b6b109f9c9