[INFO] fetching crate quantsim_core 0.2.0...
[INFO] testing quantsim_core-0.2.0 against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] extracting crate quantsim_core 0.2.0 into /workspace/builds/worker-6-tc1/source
[INFO] started tweaking crates.io crate quantsim_core 0.2.0
[INFO] finished tweaking crates.io crate quantsim_core 0.2.0
[INFO] tweaked toml for crates.io crate quantsim_core 0.2.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate quantsim_core 0.2.0 on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate quantsim_core 0.2.0 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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.103
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.103
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.103
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.103
[INFO] [stderr]   Downloaded tempfile v3.22.0
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.103
[INFO] [stderr]   Downloaded js-sys v0.3.80
[INFO] [stderr]   Downloaded nalgebra-sparse v0.11.0
[INFO] [stderr]   Downloaded glam v0.30.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4fa9ad6d450510266d6cf5ed88497bba1117a539ded540fad573dda5dae25461
[INFO] running `Command { std: "docker" "start" "-a" "4fa9ad6d450510266d6cf5ed88497bba1117a539ded540fad573dda5dae25461", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4fa9ad6d450510266d6cf5ed88497bba1117a539ded540fad573dda5dae25461", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4fa9ad6d450510266d6cf5ed88497bba1117a539ded540fad573dda5dae25461", kill_on_drop: false }`
[INFO] [stdout] 4fa9ad6d450510266d6cf5ed88497bba1117a539ded540fad573dda5dae25461
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ad544fe47be1a0219ac8dd0c27e34234462d8a2a1dc8c51c37b4ef38d77a137e
[INFO] running `Command { std: "docker" "start" "-a" "ad544fe47be1a0219ac8dd0c27e34234462d8a2a1dc8c51c37b4ef38d77a137e", 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 bytemuck v1.23.2
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling safe_arch v0.7.4
[INFO] [stderr]    Compiling dyn-clone v1.0.20
[INFO] [stderr]    Compiling wide v0.7.33
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling matrixmultiply v0.3.10
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling include_dir_macros v0.7.4
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling include_dir v0.7.4
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[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.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 40s
[INFO] running `Command { std: "docker" "inspect" "ad544fe47be1a0219ac8dd0c27e34234462d8a2a1dc8c51c37b4ef38d77a137e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad544fe47be1a0219ac8dd0c27e34234462d8a2a1dc8c51c37b4ef38d77a137e", kill_on_drop: false }`
[INFO] [stdout] ad544fe47be1a0219ac8dd0c27e34234462d8a2a1dc8c51c37b4ef38d77a137e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4513214c7ffca3aa2e2162c52a545c2fc55f93055698c0fe316e39eea6e7ec68
[INFO] running `Command { std: "docker" "start" "-a" "4513214c7ffca3aa2e2162c52a545c2fc55f93055698c0fe316e39eea6e7ec68", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling regex-syntax v0.8.6
[INFO] [stderr]    Compiling rustix v1.1.2
[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 once_cell v1.21.3
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling bit-vec v0.8.0
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling jiff v0.2.15
[INFO] [stderr]    Compiling bit-set v0.8.0
[INFO] [stderr]    Compiling anstream v0.6.20
[INFO] [stderr]    Compiling unarray v0.1.4
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling wait-timeout v0.2.1
[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 rand_xorshift v0.4.0
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling regex-automata v0.4.10
[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.0 (/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 45.15s
[INFO] running `Command { std: "docker" "inspect" "4513214c7ffca3aa2e2162c52a545c2fc55f93055698c0fe316e39eea6e7ec68", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4513214c7ffca3aa2e2162c52a545c2fc55f93055698c0fe316e39eea6e7ec68", kill_on_drop: false }`
[INFO] [stdout] 4513214c7ffca3aa2e2162c52a545c2fc55f93055698c0fe316e39eea6e7ec68
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 8e7548e18be32570f624e19964ad50f0a58874ab98e58ade17f0e972b67cf731
[INFO] running `Command { std: "docker" "start" "-a" "8e7548e18be32570f624e19964ad50f0a58874ab98e58ade17f0e972b67cf731", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/quantsim_core-69b1b0603d542967)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests quantsim_core
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 11 tests
[INFO] [stdout] test src/core/types.rs - core::types::Operation (line 220) ... FAILED
[INFO] [stdout] test src/core/circuit.rs - core::circuit::Circuit (line 55) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 161) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 22) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 61) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 83) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 129) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 104) ... FAILED
[INFO] [stdout] test src/core/types.rs - core::types::Operation (line 213) ... ok
[INFO] [stdout] test src/lib.rs - (line 146) ... ok
[INFO] [stdout] test src/circuits.rs - circuits::load_template (line 67) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/core/types.rs - core::types::Operation (line 220) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operation`
[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] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 220 + use quantsim_core::types::Operation;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Gate`
[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] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 220 + use quantsim_core::types::Gate;
[INFO] [stdout]     |
[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/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]    |                     ^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     no `Circuit` in the root
[INFO] [stdout]    |                     help: a similar name exists in the module (notice the capitalization): `circuit`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing this struct instead:
[INFO] [stdout]            quantsim_core::circuit::Circuit
[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 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] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 161 + use quantsim_core::circuit::RunOptions;
[INFO] [stdout]     |
[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 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]    |                     help: a similar name exists in the module (notice the capitalization): `circuit`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing this struct instead:
[INFO] [stdout]            quantsim_core::circuit::Circuit
[INFO] [stdout]    = help: consider importing this struct instead:
[INFO] [stdout]            quantsim_core::circuit::RunOptions
[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 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]    |                     ^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     no `Circuit` in the root
[INFO] [stdout]    |                     help: a similar name exists in the module (notice the capitalization): `circuit`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing this struct instead:
[INFO] [stdout]            quantsim_core::circuit::Circuit
[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 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]    |                     ^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     no `Circuit` in the root
[INFO] [stdout]    |                     help: a similar name exists in the module (notice the capitalization): `circuit`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing this struct instead:
[INFO] [stdout]            quantsim_core::circuit::Circuit
[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] help: consider importing this struct instead
[INFO] [stdout]     |
[INFO] [stdout] 131 | use quantsim_core::circuit::RunOptions;
[INFO] [stdout]     |                    +++++++++
[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[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:140:45
[INFO] [stdout]     |
[INFO] [stdout] 140 |     println!("Got {} measurement outcomes", measurements.len());
[INFO] [stdout]     |                                             ^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 104) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circuit`
[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] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 103 + use quantsim_core::circuit::Circuit;
[INFO] [stdout]     |
[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]     = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info)
[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]     = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info)
[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] 
[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.48s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "8e7548e18be32570f624e19964ad50f0a58874ab98e58ade17f0e972b67cf731", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e7548e18be32570f624e19964ad50f0a58874ab98e58ade17f0e972b67cf731", kill_on_drop: false }`
[INFO] [stdout] 8e7548e18be32570f624e19964ad50f0a58874ab98e58ade17f0e972b67cf731
