[INFO] fetching crate quantsim_core 0.2.2...
[INFO] testing quantsim_core-0.2.2 against 1.95.0 for beta-1.96-2
[INFO] extracting crate quantsim_core 0.2.2 into /workspace/builds/worker-5-tc1/source
[INFO] started tweaking crates.io crate quantsim_core 0.2.2
[INFO] finished tweaking crates.io crate quantsim_core 0.2.2
[INFO] tweaked toml for crates.io crate quantsim_core 0.2.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate quantsim_core 0.2.2 on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate quantsim_core 0.2.2 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.103
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.103
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.103
[INFO] [stderr]   Downloaded serde v1.0.226
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.103
[INFO] [stderr]   Downloaded wasi v0.14.7+wasi-0.2.4
[INFO] [stderr]   Downloaded env_filter v0.1.3
[INFO] [stderr]   Downloaded nalgebra-macros v0.3.0
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.103
[INFO] [stderr]   Downloaded unicode-ident v1.0.19
[INFO] [stderr]   Downloaded serde_core v1.0.226
[INFO] [stderr]   Downloaded anstream v0.6.20
[INFO] [stderr]   Downloaded serde_derive v1.0.226
[INFO] [stderr]   Downloaded tempfile v3.22.0
[INFO] [stderr]   Downloaded jiff-static v0.2.15
[INFO] [stderr]   Downloaded js-sys v0.3.80
[INFO] [stderr]   Downloaded nalgebra-sparse v0.11.0
[INFO] [stderr]   Downloaded glam v0.14.0
[INFO] [stderr]   Downloaded glam v0.15.2
[INFO] [stderr]   Downloaded glam v0.18.0
[INFO] [stderr]   Downloaded glam v0.19.0
[INFO] [stderr]   Downloaded glam v0.20.5
[INFO] [stderr]   Downloaded proptest v1.8.0
[INFO] [stderr]   Downloaded glam v0.21.3
[INFO] [stderr]   Downloaded glam v0.22.0
[INFO] [stderr]   Downloaded glam v0.23.0
[INFO] [stderr]   Downloaded glam v0.16.0
[INFO] [stderr]   Downloaded glam v0.17.3
[INFO] [stderr]   Downloaded glam v0.24.2
[INFO] [stderr]   Downloaded nalgebra v0.34.1
[INFO] [stderr]   Downloaded glam v0.28.0
[INFO] [stderr]   Downloaded glam v0.27.0
[INFO] [stderr]   Downloaded glam v0.29.3
[INFO] [stderr]   Downloaded jiff v0.2.15
[INFO] [stderr]   Downloaded glam v0.30.7
[INFO] [stderr]   Downloaded windows-sys v0.61.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 241a1adabf6e437b863668075244db6692431e6201dbb5771b60cfeecc5dcc7f
[INFO] running `Command { std: "docker" "start" "-a" "241a1adabf6e437b863668075244db6692431e6201dbb5771b60cfeecc5dcc7f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "241a1adabf6e437b863668075244db6692431e6201dbb5771b60cfeecc5dcc7f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "241a1adabf6e437b863668075244db6692431e6201dbb5771b60cfeecc5dcc7f", kill_on_drop: false }`
[INFO] [stdout] 241a1adabf6e437b863668075244db6692431e6201dbb5771b60cfeecc5dcc7f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 096d1a51214d796e80f16809fb948928d2fbbceb1e3bdf764b612832b82aea90
[INFO] running `Command { std: "docker" "start" "-a" "096d1a51214d796e80f16809fb948928d2fbbceb1e3bdf764b612832b82aea90", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling serde_core v1.0.226
[INFO] [stderr]    Compiling serde v1.0.226
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling bytemuck v1.23.2
[INFO] [stderr]    Compiling safe_arch v0.7.4
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling matrixmultiply v0.3.10
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling wide v0.7.33
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling include_dir_macros v0.7.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling include_dir v0.7.4
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling dyn-clone v1.0.20
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling serde_derive v1.0.226
[INFO] [stderr]    Compiling nalgebra-macros v0.3.0
[INFO] [stderr]    Compiling strum_macros v0.27.2
[INFO] [stderr]    Compiling strum v0.27.2
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling simba v0.9.1
[INFO] [stderr]    Compiling nalgebra v0.34.1
[INFO] [stderr]    Compiling nalgebra-sparse v0.11.0
[INFO] [stderr]    Compiling quantsim_core v0.2.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 43s
[INFO] running `Command { std: "docker" "inspect" "096d1a51214d796e80f16809fb948928d2fbbceb1e3bdf764b612832b82aea90", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "096d1a51214d796e80f16809fb948928d2fbbceb1e3bdf764b612832b82aea90", kill_on_drop: false }`
[INFO] [stdout] 096d1a51214d796e80f16809fb948928d2fbbceb1e3bdf764b612832b82aea90
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c7fba637bb43c05dfbfc53b74ecad6446b5bab930a4222b5e858be927ec655f8
[INFO] running `Command { std: "docker" "start" "-a" "c7fba637bb43c05dfbfc53b74ecad6446b5bab930a4222b5e858be927ec655f8", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling regex-syntax v0.8.6
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling bit-vec v0.8.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling unarray v0.1.4
[INFO] [stderr]    Compiling jiff v0.2.15
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling bit-set v0.8.0
[INFO] [stderr]    Compiling anstream v0.6.20
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling wait-timeout v0.2.1
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling regex-automata v0.4.10
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand_xorshift v0.4.0
[INFO] [stderr]    Compiling tempfile v3.22.0
[INFO] [stderr]    Compiling rusty-fork v0.3.0
[INFO] [stderr]    Compiling proptest v1.8.0
[INFO] [stderr]    Compiling quantsim_core v0.2.2 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling regex v1.11.2
[INFO] [stderr]    Compiling env_filter v0.1.3
[INFO] [stderr]    Compiling env_logger v0.11.8
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 24s
[INFO] running `Command { std: "docker" "inspect" "c7fba637bb43c05dfbfc53b74ecad6446b5bab930a4222b5e858be927ec655f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7fba637bb43c05dfbfc53b74ecad6446b5bab930a4222b5e858be927ec655f8", kill_on_drop: false }`
[INFO] [stdout] c7fba637bb43c05dfbfc53b74ecad6446b5bab930a4222b5e858be927ec655f8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 9d46ed2d075c3b5989c98bf2ad07b4c0c338032423d20b1158082d7443cbf740
[INFO] running `Command { std: "docker" "start" "-a" "9d46ed2d075c3b5989c98bf2ad07b4c0c338032423d20b1158082d7443cbf740", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/quantsim_core-8fad602139bd90d4)
[INFO] [stdout] 
[INFO] [stdout] running 11 tests
[INFO] [stdout] test core::gates::tests::eval_rz_big_matches_standard_basis_action_and_composition ... ok
[INFO] [stdout] test core::gates::tests::full_cz_maps_big_endian_plus_plus_state_correctly ... ok
[INFO] [stdout] test core::gates::tests::eval_ry_big_matches_standard_actions ... ok
[INFO] [stdout] test core::gates::tests::registry_czpow_full_gate_has_expected_phase_action ... ok
[INFO] [stdout] test core::gates::tests::eval_rx_big_matches_standard_actions ... ok
[INFO] [stdout] test core::gates::tests::registry_pow_gates_match_cirq_style_single_qubit_relations_up_to_global_phase ... ok
[INFO] [stdout] test core::gates::tests::registry_pow_gates_use_full_gate_exponent_semantics ... ok
[INFO] [stdout] test core::gates::tests::single_qubit_rotations_are_invertible ... ok
[INFO] [stdout] test core::gates::tests::registry_move_gate_matches_logical_state_transfer_action ... ok
[INFO] [stdout] test core::gates::tests::registry_rotations_use_radian_semantics ... ok
[INFO] [stdout] test core::gates::tests::raw_controlled_pow_builders_match_full_gates_at_exponent_one ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests quantsim_core
[INFO] [stdout] 
[INFO] [stdout] running 11 tests
[INFO] [stdout] test src/core/circuit.rs - core::circuit::Circuit (line 55) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 129) ... FAILED
[INFO] [stdout] test src/core/types.rs - core::types::Operation (line 220) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 161) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 146) ... ok
[INFO] [stdout] test src/core/types.rs - core::types::Operation (line 213) ... ok
[INFO] [stdout] test src/lib.rs - (line 61) ... FAILED
[INFO] [stdout] test src/circuits.rs - circuits::load_template (line 67) ... ok
[INFO] [stdout] test src/lib.rs - (line 104) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 83) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 22) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/core/circuit.rs - core::circuit::Circuit (line 55) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `quantsim_core::Circuit`
[INFO] [stdout]   --> src/core/circuit.rs:57:21
[INFO] [stdout]    |
[INFO] [stdout] 57 | use quantsim_core::{Circuit, core::types::{Operation, Gate}};
[INFO] [stdout]    |                     ^^^^^^^ no `Circuit` in the root
[INFO] [stdout]    |
[INFO] [stdout] help: a similar name exists in the module (notice the capitalization)
[INFO] [stdout]    |
[INFO] [stdout] 57 - use quantsim_core::{Circuit, core::types::{Operation, Gate}};
[INFO] [stdout] 57 + use quantsim_core::{circuit, core::types::{Operation, Gate}};
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 129) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `quantsim_core::RunOptions`
[INFO] [stdout]    --> src/lib.rs:131:5
[INFO] [stdout]     |
[INFO] [stdout] 131 | use quantsim_core::RunOptions;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^ no `RunOptions` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `circuit` in this scope
[INFO] [stdout]    --> src/lib.rs:138:14
[INFO] [stdout]     |
[INFO] [stdout] 138 | let result = circuit.run(&options);
[INFO] [stdout]     |              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/core/types.rs - core::types::Operation (line 220) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `Operation` in this scope
[INFO] [stdout]    --> src/core/types.rs:221:15
[INFO] [stdout]     |
[INFO] [stdout] 221 | let rx_gate = Operation::new(Gate::Rx, vec![1], vec![std::f32::consts::PI / 2.0]);
[INFO] [stdout]     |               ^^^^^^^^^ use of undeclared type `Operation`
[INFO] [stdout]     |
[INFO] [stdout] help: an enum with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 221 - let rx_gate = Operation::new(Gate::Rx, vec![1], vec![std::f32::consts::PI / 2.0]);
[INFO] [stdout] 221 + let rx_gate = Option::new(Gate::Rx, vec![1], vec![std::f32::consts::PI / 2.0]);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Gate` in this scope
[INFO] [stdout]    --> src/core/types.rs:221:30
[INFO] [stdout]     |
[INFO] [stdout] 221 | let rx_gate = Operation::new(Gate::Rx, vec![1], vec![std::f32::consts::PI / 2.0]);
[INFO] [stdout]     |                              ^^^^ use of undeclared type `Gate`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 161) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RunOptions` in this scope
[INFO] [stdout]    --> src/lib.rs:162:15
[INFO] [stdout]     |
[INFO] [stdout] 162 | let options = RunOptions {
[INFO] [stdout]     |               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `circuit` in this scope
[INFO] [stdout]    --> src/lib.rs:167:14
[INFO] [stdout]     |
[INFO] [stdout] 167 | let result = circuit.run(&options);
[INFO] [stdout]     |              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 61) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `quantsim_core::Circuit`
[INFO] [stdout]   --> src/lib.rs:63:21
[INFO] [stdout]    |
[INFO] [stdout] 63 | use quantsim_core::{Circuit, core::types::{Operation, Gate}};
[INFO] [stdout]    |                     ^^^^^^^ no `Circuit` in the root
[INFO] [stdout]    |
[INFO] [stdout] help: a similar name exists in the module (notice the capitalization)
[INFO] [stdout]    |
[INFO] [stdout] 63 - use quantsim_core::{Circuit, core::types::{Operation, Gate}};
[INFO] [stdout] 63 + use quantsim_core::{circuit, core::types::{Operation, Gate}};
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 104) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `Circuit` in this scope
[INFO] [stdout]    --> src/lib.rs:115:19
[INFO] [stdout]     |
[INFO] [stdout] 115 | let mut circuit = Circuit::new(1);
[INFO] [stdout]     |                   ^^^^^^^ use of undeclared type `Circuit`
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:118:13
[INFO] [stdout]     |
[INFO] [stdout] 118 |         id: "Z".to_string(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ expected `Gate`, found `String`
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:119:17
[INFO] [stdout]     |
[INFO] [stdout] 119 |         qubits: vec![0],
[INFO] [stdout]     |                 ^^^^^^^ expected `SmallVec<[u32; 2]>`, found `Vec<{integer}>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `smallvec::SmallVec<[u32; 2]>`
[INFO] [stdout]                found struct `Vec<{integer}>`
[INFO] [stdout] help: call `Into::into` on this expression to convert `Vec<{integer}>` into `smallvec::SmallVec<[u32; 2]>`
[INFO] [stdout]     |
[INFO] [stdout] 119 |         qubits: vec![0].into(),
[INFO] [stdout]     |                        +++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:120:17
[INFO] [stdout]     |
[INFO] [stdout] 120 |         params: vec![],
[INFO] [stdout]     |                 ^^^^^^ expected `SmallVec<[Param; 1]>`, found `Vec<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `smallvec::SmallVec<[Param; 1]>`
[INFO] [stdout]                found struct `Vec<_>`
[INFO] [stdout] help: call `Into::into` on this expression to convert `Vec<_>` into `smallvec::SmallVec<[Param; 1]>`
[INFO] [stdout]     |
[INFO] [stdout] 120 |         params: vec![].into(),
[INFO] [stdout]     |                       +++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:121:44
[INFO] [stdout]     |
[INFO] [stdout] 121 |         matrix: Some(GateMatrix::BigEndian(z_matrix)),
[INFO] [stdout]     |                      --------------------- ^^^^^^^^ expected `Matrix<Complex<f32>, Dyn, Dyn, ...>`, found `Vec<Vec<Complex<{float}>>>`
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Matrix<Complex<f32>, Dyn, Dyn, VecStorage<Complex<f32>, Dyn, Dyn>>`
[INFO] [stdout]                found struct `Vec<Vec<Complex<{float}>>>`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> src/core/types.rs:139:5
[INFO] [stdout]     |
[INFO] [stdout] 139 |     BigEndian(#[serde(deserialize_with = "deserialize_complex_matrix")] DMatrix<Complex<f32>>),
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `name` in initializer of `Operation`
[INFO] [stdout]    --> src/lib.rs:117:5
[INFO] [stdout]     |
[INFO] [stdout] 117 |     Operation {
[INFO] [stdout]     |     ^^^^^^^^^ missing `name`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0063, E0308, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0063`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 83) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `quantsim_core::Circuit`
[INFO] [stdout]   --> src/lib.rs:85:21
[INFO] [stdout]    |
[INFO] [stdout] 85 | use quantsim_core::{Circuit, circuit::CircuitData};
[INFO] [stdout]    |                     ^^^^^^^ no `Circuit` in the root
[INFO] [stdout]    |
[INFO] [stdout] help: a similar name exists in the module (notice the capitalization)
[INFO] [stdout]    |
[INFO] [stdout] 85 - use quantsim_core::{Circuit, circuit::CircuitData};
[INFO] [stdout] 85 + use quantsim_core::{circuit, circuit::CircuitData};
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 22) stdout ----
[INFO] [stdout] error[E0432]: unresolved imports `quantsim_core::Circuit`, `quantsim_core::RunOptions`
[INFO] [stdout]   --> src/lib.rs:24:21
[INFO] [stdout]    |
[INFO] [stdout] 24 | use quantsim_core::{Circuit, RunOptions};
[INFO] [stdout]    |                     ^^^^^^^  ^^^^^^^^^^ no `RunOptions` in the root
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     no `Circuit` in the root
[INFO] [stdout]    |
[INFO] [stdout] help: a similar name exists in the module (notice the capitalization)
[INFO] [stdout]    |
[INFO] [stdout] 24 - use quantsim_core::{Circuit, RunOptions};
[INFO] [stdout] 24 + use quantsim_core::{circuit, RunOptions};
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/core/circuit.rs - core::circuit::Circuit (line 55)
[INFO] [stdout]     src/core/types.rs - core::types::Operation (line 220)
[INFO] [stdout]     src/lib.rs - (line 104)
[INFO] [stdout]     src/lib.rs - (line 129)
[INFO] [stdout]     src/lib.rs - (line 161)
[INFO] [stdout]     src/lib.rs - (line 22)
[INFO] [stdout]     src/lib.rs - (line 61)
[INFO] [stdout]     src/lib.rs - (line 83)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 3 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.99s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "9d46ed2d075c3b5989c98bf2ad07b4c0c338032423d20b1158082d7443cbf740", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d46ed2d075c3b5989c98bf2ad07b4c0c338032423d20b1158082d7443cbf740", kill_on_drop: false }`
[INFO] [stdout] 9d46ed2d075c3b5989c98bf2ad07b4c0c338032423d20b1158082d7443cbf740
