[INFO] fetching crate quantsim_core 0.2.0... [INFO] testing quantsim_core-0.2.0 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate quantsim_core 0.2.0 into /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate quantsim_core 0.2.0 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de9e5adf6f4dd4bc9915ae5ca588e9ebff7786bd66c9e4a15d49938983c91046 [INFO] running `Command { std: "docker" "start" "-a" "de9e5adf6f4dd4bc9915ae5ca588e9ebff7786bd66c9e4a15d49938983c91046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de9e5adf6f4dd4bc9915ae5ca588e9ebff7786bd66c9e4a15d49938983c91046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de9e5adf6f4dd4bc9915ae5ca588e9ebff7786bd66c9e4a15d49938983c91046", kill_on_drop: false }` [INFO] [stdout] de9e5adf6f4dd4bc9915ae5ca588e9ebff7786bd66c9e4a15d49938983c91046 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a73053c91069a6bf6016efe5819b92dd00c884ce2f325e5245aed84895bfd366 [INFO] running `Command { std: "docker" "start" "-a" "a73053c91069a6bf6016efe5819b92dd00c884ce2f325e5245aed84895bfd366", 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 crossbeam-utils v0.8.21 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling cfg-if v1.0.3 [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 ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling include_dir v0.7.4 [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 13s [INFO] running `Command { std: "docker" "inspect" "a73053c91069a6bf6016efe5819b92dd00c884ce2f325e5245aed84895bfd366", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a73053c91069a6bf6016efe5819b92dd00c884ce2f325e5245aed84895bfd366", kill_on_drop: false }` [INFO] [stdout] a73053c91069a6bf6016efe5819b92dd00c884ce2f325e5245aed84895bfd366 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c39653ed1a12ccc74a08d0a519c2642841e12310c5de73cf13bc2b96d39ab50 [INFO] running `Command { std: "docker" "start" "-a" "8c39653ed1a12ccc74a08d0a519c2642841e12310c5de73cf13bc2b96d39ab50", 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 linux-raw-sys v0.11.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling log v0.4.28 [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 anstyle v1.0.11 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling unarray v0.1.4 [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 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 v0.9.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling quantsim_core v0.2.0 (/opt/rustwide/workdir) [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 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 49.54s [INFO] running `Command { std: "docker" "inspect" "8c39653ed1a12ccc74a08d0a519c2642841e12310c5de73cf13bc2b96d39ab50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c39653ed1a12ccc74a08d0a519c2642841e12310c5de73cf13bc2b96d39ab50", kill_on_drop: false }` [INFO] [stdout] 8c39653ed1a12ccc74a08d0a519c2642841e12310c5de73cf13bc2b96d39ab50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 35b3c7ad57fc72d420574d39e7c7ea80e5d9cda8f29bd413bef094171e44428d [INFO] running `Command { std: "docker" "start" "-a" "35b3c7ad57fc72d420574d39e7c7ea80e5d9cda8f29bd413bef094171e44428d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/quantsim_core-1d0377dc959d15f0) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests quantsim_core [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/lib.rs - (line 61) ... FAILED [INFO] [stdout] test src/lib.rs - (line 22) ... FAILED [INFO] [stdout] test src/core/types.rs - core::types::Operation (line 220) ... FAILED [INFO] [stdout] test src/lib.rs - (line 83) ... FAILED [INFO] [stdout] test src/lib.rs - (line 104) ... FAILED [INFO] [stdout] test src/lib.rs - (line 146) ... ok [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/lib.rs - (line 161) ... FAILED [INFO] [stdout] test src/core/types.rs - core::types::Operation (line 213) ... ok [INFO] [stdout] test src/circuits.rs - circuits::load_template (line 67) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 5 | 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 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] 5 | 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/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] 3 | 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] 3 - let rx_gate = Operation::new(Gate::Rx, vec![1], vec![std::f32::consts::PI / 2.0]); [INFO] [stdout] 3 + 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] 2 + 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] 3 | 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] 2 + 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/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] 5 | 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 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] 14 | 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] 2 + 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] 17 | 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] 18 | 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] 18 | 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] 19 | 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] 19 | params: vec![].into(), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:121:44 [INFO] [stdout] | [INFO] [stdout] 20 | matrix: Some(GateMatrix::BigEndian(z_matrix)), [INFO] [stdout] | --------------------- ^^^^^^^^ expected `Matrix, Dyn, Dyn, ...>`, found `Vec>>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Matrix, Dyn, Dyn, VecStorage, Dyn, Dyn>>` [INFO] [stdout] found struct `Vec>>` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/core/types.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | BigEndian(#[serde(deserialize_with = "deserialize_complex_matrix")] DMatrix>), [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] 16 | 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/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] 5 | 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 129) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `quantsim_core::RunOptions` [INFO] [stdout] --> src/lib.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 5 | 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] 12 | 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/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] 3 | let options = RunOptions { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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] 8 | 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] [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.79s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "35b3c7ad57fc72d420574d39e7c7ea80e5d9cda8f29bd413bef094171e44428d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35b3c7ad57fc72d420574d39e7c7ea80e5d9cda8f29bd413bef094171e44428d", kill_on_drop: false }` [INFO] [stdout] 35b3c7ad57fc72d420574d39e7c7ea80e5d9cda8f29bd413bef094171e44428d