[INFO] cloning repository https://github.com/OnyxBrumeSky/QSRust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OnyxBrumeSky/QSRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOnyxBrumeSky%2FQSRust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOnyxBrumeSky%2FQSRust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c0c04e93e87856c5c9ad76af0e98d75c8a52394c
[INFO] testing OnyxBrumeSky/QSRust against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOnyxBrumeSky%2FQSRust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/OnyxBrumeSky/QSRust
[INFO] finished tweaking git repo https://github.com/OnyxBrumeSky/QSRust
[INFO] tweaked toml for git repo https://github.com/OnyxBrumeSky/QSRust written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/OnyxBrumeSky/QSRust on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/OnyxBrumeSky/QSRust 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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b52e8d3bb184320e006e000d857682cc1e88e8be974588ddc2fac935d5760819
[INFO] running `Command { std: "docker" "start" "-a" "b52e8d3bb184320e006e000d857682cc1e88e8be974588ddc2fac935d5760819", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b52e8d3bb184320e006e000d857682cc1e88e8be974588ddc2fac935d5760819", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b52e8d3bb184320e006e000d857682cc1e88e8be974588ddc2fac935d5760819", kill_on_drop: false }`
[INFO] [stdout] b52e8d3bb184320e006e000d857682cc1e88e8be974588ddc2fac935d5760819
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c12c078444a450a19581f868b30cb98fcf2e854559887cc46626eb87fdb695d9
[INFO] running `Command { std: "docker" "start" "-a" "c12c078444a450a19581f868b30cb98fcf2e854559887cc46626eb87fdb695d9", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling libc v0.2.183
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling cc v1.2.56
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling futures-io v0.3.32
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling zerocopy v0.8.47
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]    Compiling bytemuck v1.25.0
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling matrixmultiply v0.3.10
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling pest v2.8.6
[INFO] [stderr]    Compiling safe_arch v0.7.4
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling adler2 v2.0.1
[INFO] [stderr]    Compiling simd-adler32 v0.3.8
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling wide v0.7.33
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling colored v2.2.0
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling flate2 v1.1.9
[INFO] [stderr]    Compiling pest_meta v2.8.6
[INFO] [stderr]    Compiling simba v0.8.1
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling num v0.4.3
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling pest_generator v2.8.6
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.6.1
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling nalgebra-macros v0.2.2
[INFO] [stderr]    Compiling pest_derive v2.8.6
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling tokio v1.50.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling nalgebra v0.32.6
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling rusty-quantum v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.79s
[INFO] running `Command { std: "docker" "inspect" "c12c078444a450a19581f868b30cb98fcf2e854559887cc46626eb87fdb695d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c12c078444a450a19581f868b30cb98fcf2e854559887cc46626eb87fdb695d9", kill_on_drop: false }`
[INFO] [stdout] c12c078444a450a19581f868b30cb98fcf2e854559887cc46626eb87fdb695d9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 15d92d4270e982b4831123c51b8cd28e582bd5468906339e9d8fbee2b7faacd0
[INFO] running `Command { std: "docker" "start" "-a" "15d92d4270e982b4831123c51b8cd28e582bd5468906339e9d8fbee2b7faacd0", kill_on_drop: false }`
[INFO] [stderr]    Compiling rusty-quantum v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.65s
[INFO] running `Command { std: "docker" "inspect" "15d92d4270e982b4831123c51b8cd28e582bd5468906339e9d8fbee2b7faacd0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "15d92d4270e982b4831123c51b8cd28e582bd5468906339e9d8fbee2b7faacd0", kill_on_drop: false }`
[INFO] [stdout] 15d92d4270e982b4831123c51b8cd28e582bd5468906339e9d8fbee2b7faacd0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 2b27e9dad5ae6ec1c9c38dd26c02d8c5ac98474fc7c1890008b15484d66afd22
[INFO] running `Command { std: "docker" "start" "-a" "2b27e9dad5ae6ec1c9c38dd26c02d8c5ac98474fc7c1890008b15484d66afd22", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rusty_quantum-3b0cf2306544cbac)
[INFO] [stdout] 
[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] [stderr]    Doc-tests rusty_quantum
[INFO] [stdout] 
[INFO] [stdout] running 17 tests
[INFO] [stdout] test src/api/service.rs - api::service::Service::refresh_token_if_needed (line 186) ... FAILED
[INFO] [stdout] test src/transpiler/placement.rs - transpiler::placement::place (line 59) ... FAILED
[INFO] [stdout] test src/api/job.rs - api::job::Service::run_and_collect (line 119) ... FAILED
[INFO] [stdout] test src/circuit/unitary_gate.rs - circuit::unitary_gate::UnitaryGate::new (line 41) ... FAILED
[INFO] [stdout] test src/visualizer.rs - visualizer::JobMetadata::new (line 69) ... FAILED
[INFO] [stdout] test src/transpiler/transpiler.rs - transpiler::transpiler::Service::transpile_circuit (line 120) ... FAILED
[INFO] [stdout] test src/simulator/simulator.rs - simulator::simulator::simulate_statevector (line 79) ... FAILED
[INFO] [stdout] test src/transpiler/coupling_map.rs - transpiler::coupling_map::Service::get_coupling_map (line 151) ... FAILED
[INFO] [stdout] test src/visualizer.rs - visualizer::export_html (line 162) ... FAILED
[INFO] [stdout] test src/visualizer.rs - visualizer::JobMetadata::from_job (line 37) ... FAILED
[INFO] [stdout] test src/api/job.rs - api::job::Service::submit_job (line 56) ... FAILED
[INFO] [stdout] test src/visualizer.rs - visualizer::export_json (line 114) ... FAILED
[INFO] [stdout] test src/transpiler/transpiler.rs - transpiler::transpiler::transpile (line 30) ... FAILED
[INFO] [stdout] test src/api/job_struct.rs - api::job_struct::ResultRoot::to_counts (line 110) ... FAILED
[INFO] [stdout] test src/api/service.rs - api::service::ServiceBuilder (line 40) ... FAILED
[INFO] [stdout] test src/visualizer.rs - visualizer::print_histogram (line 349) ... FAILED
[INFO] [stdout] test src/simulator/parser.rs - simulator::parser::parse_qasm (line 38) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/api/service.rs - api::service::Service::refresh_token_if_needed (line 186) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `service` in this scope
[INFO] [stdout]    --> src/api/service.rs:187:1
[INFO] [stdout]     |
[INFO] [stdout] 187 | service.refresh_token_if_needed().await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `service` in this scope
[INFO] [stdout]    --> src/api/service.rs:188:14
[INFO] [stdout]     |
[INFO] [stdout] 188 | let result = service.run_and_collect(job, 5).await?;
[INFO] [stdout]     |              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `job` in this scope
[INFO] [stdout]    --> src/api/service.rs:188:38
[INFO] [stdout]     |
[INFO] [stdout] 188 | let result = service.run_and_collect(job, 5).await?;
[INFO] [stdout]     |                                      ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/api/service.rs:187:35
[INFO] [stdout]     |
[INFO] [stdout] 186 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_service_rs_186_0() {
[INFO] [stdout]     |                                      ------------------------------------------- this is not `async`
[INFO] [stdout] 187 | service.refresh_token_if_needed().await?;
[INFO] [stdout]     |                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/api/service.rs:188:46
[INFO] [stdout]     |
[INFO] [stdout] 186 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_service_rs_186_0() {
[INFO] [stdout]     |                                      ------------------------------------------- this is not `async`
[INFO] [stdout] 187 | service.refresh_token_if_needed().await?;
[INFO] [stdout] 188 | let result = service.run_and_collect(job, 5).await?;
[INFO] [stdout]     |                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/transpiler/placement.rs - transpiler::placement::place (line 59) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `place` in this scope
[INFO] [stdout]   --> src/transpiler/placement.rs:60:14
[INFO] [stdout]    |
[INFO] [stdout] 60 | let layout = place(2, &decomposed_gates, &coupling_map)?;
[INFO] [stdout]    |              ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 59 + use rusty_quantum::transpiler::placement::place;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `decomposed_gates` in this scope
[INFO] [stdout]   --> src/transpiler/placement.rs:60:24
[INFO] [stdout]    |
[INFO] [stdout] 60 | let layout = place(2, &decomposed_gates, &coupling_map)?;
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `coupling_map` in this scope
[INFO] [stdout]   --> src/transpiler/placement.rs:60:43
[INFO] [stdout]    |
[INFO] [stdout] 60 | let layout = place(2, &decomposed_gates, &coupling_map)?;
[INFO] [stdout]    |                                           ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/api/job.rs - api::job::Service::run_and_collect (line 119) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `service` in this scope
[INFO] [stdout]    --> src/api/job.rs:120:15
[INFO] [stdout]     |
[INFO] [stdout] 120 | let results = service.run_and_collect(job, 5).await?;
[INFO] [stdout]     |               ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `job` in this scope
[INFO] [stdout]    --> src/api/job.rs:120:39
[INFO] [stdout]     |
[INFO] [stdout] 120 | let results = service.run_and_collect(job, 5).await?;
[INFO] [stdout]     |                                       ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/api/job.rs:120:47
[INFO] [stdout]     |
[INFO] [stdout] 119 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_job_rs_119_0() {
[INFO] [stdout]     |                                      --------------------------------------- this is not `async`
[INFO] [stdout] 120 | let results = service.run_and_collect(job, 5).await?;
[INFO] [stdout]     |                                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/circuit/unitary_gate.rs - circuit::unitary_gate::UnitaryGate::new (line 41) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/circuit/unitary_gate.rs:42:20
[INFO] [stdout]    |
[INFO] [stdout] 42 | let matrice = vec![...]; // Matrice unitaire sous forme de tableau.
[INFO] [stdout]    |                    ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 42 - let matrice = vec![...]; // Matrice unitaire sous forme de tableau.
[INFO] [stdout] 42 + let matrice = vec![..]; // Matrice unitaire sous forme de tableau.
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 42 - let matrice = vec![...]; // Matrice unitaire sous forme de tableau.
[INFO] [stdout] 42 + let matrice = vec![..=]; // Matrice unitaire sous forme de tableau.
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/circuit/unitary_gate.rs:42:20
[INFO] [stdout]    |
[INFO] [stdout] 42 | let matrice = vec![...]; // Matrice unitaire sous forme de tableau.
[INFO] [stdout]    |                    ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout] 42 - let matrice = vec![...]; // Matrice unitaire sous forme de tableau.
[INFO] [stdout] 42 + let matrice = vec![..]; // Matrice unitaire sous forme de tableau.
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `UnitaryGate` in this scope
[INFO] [stdout]   --> src/circuit/unitary_gate.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | let gate = UnitaryGate::new(&matrice);
[INFO] [stdout]    |            ^^^^^^^^^^^ use of undeclared type `UnitaryGate`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 41 + use rusty_quantum::circuit::unitary_gate::UnitaryGate;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0586.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/visualizer.rs - visualizer::JobMetadata::new (line 69) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `JobMetadata` in this scope
[INFO] [stdout]   --> src/visualizer.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 | let meta = JobMetadata::new("job_id", "ibm_fez", 100, Some(qasm));
[INFO] [stdout]    |            ^^^^^^^^^^^ use of undeclared type `JobMetadata`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 69 + use rusty_quantum::visualizer::JobMetadata;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `qasm` in this scope
[INFO] [stdout]   --> src/visualizer.rs:70:60
[INFO] [stdout]    |
[INFO] [stdout] 70 | let meta = JobMetadata::new("job_id", "ibm_fez", 100, Some(qasm));
[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, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/transpiler/transpiler.rs - transpiler::transpiler::Service::transpile_circuit (line 120) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `service` in this scope
[INFO] [stdout]    --> src/transpiler/transpiler.rs:121:14
[INFO] [stdout]     |
[INFO] [stdout] 121 | let result = service.transpile_circuit(&circuit, "ibm_fez").await?;
[INFO] [stdout]     |              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `circuit` in this scope
[INFO] [stdout]    --> src/transpiler/transpiler.rs:121:41
[INFO] [stdout]     |
[INFO] [stdout] 121 | let result = service.transpile_circuit(&circuit, "ibm_fez").await?;
[INFO] [stdout]     |                                         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/transpiler/transpiler.rs:121:61
[INFO] [stdout]     |
[INFO] [stdout] 120 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_transpiler_transpiler_rs_120_0() {
[INFO] [stdout]     |                                      ----------------------------------------------------- this is not `async`
[INFO] [stdout] 121 | let result = service.transpile_circuit(&circuit, "ibm_fez").await?;
[INFO] [stdout]     |                                                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/simulator/simulator.rs - simulator::simulator::simulate_statevector (line 79) stdout ----
[INFO] [stdout] error[E0433]: cannot find `instruction` in `crate`
[INFO] [stdout]   --> src/simulator/simulator.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 | use crate::instruction::i_struct::IStruct;
[INFO] [stdout]    |            ^^^^^^^^^^^ unresolved import
[INFO] [stdout]    |
[INFO] [stdout] help: a similar path exists
[INFO] [stdout]    |
[INFO] [stdout] 80 | use crate::rusty_quantum::instruction::i_struct::IStruct;
[INFO] [stdout]    |            +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `simulate_statevector` in this scope
[INFO] [stdout]   --> src/simulator/simulator.rs:88:14
[INFO] [stdout]    |
[INFO] [stdout] 88 | let result = simulate_statevector(&instructions, 2)?;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 79 + use rusty_quantum::simulator::simulator::simulate_statevector;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/transpiler/coupling_map.rs - transpiler::coupling_map::Service::get_coupling_map (line 151) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `service` in this scope
[INFO] [stdout]    --> src/transpiler/coupling_map.rs:152:20
[INFO] [stdout]     |
[INFO] [stdout] 152 | let coupling_map = service.get_coupling_map("ibm_fez").await?;
[INFO] [stdout]     |                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/transpiler/coupling_map.rs:152:56
[INFO] [stdout]     |
[INFO] [stdout] 151 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_transpiler_coupling_map_rs_151_0() {
[INFO] [stdout]     |                                      ------------------------------------------------------- this is not `async`
[INFO] [stdout] 152 | let coupling_map = service.get_coupling_map("ibm_fez").await?;
[INFO] [stdout]     |                                                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/visualizer.rs - visualizer::export_html (line 162) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `export_html` in this scope
[INFO] [stdout]    --> src/visualizer.rs:163:1
[INFO] [stdout]     |
[INFO] [stdout] 163 | export_html(&counts, &meta, "Bell State — ibm_fez", "results/bell.html")?;
[INFO] [stdout]     | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 162 + use rusty_quantum::visualizer::export_html;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `counts` in this scope
[INFO] [stdout]    --> src/visualizer.rs:163:14
[INFO] [stdout]     |
[INFO] [stdout] 163 | export_html(&counts, &meta, "Bell State — ibm_fez", "results/bell.html")?;
[INFO] [stdout]     |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `meta` in this scope
[INFO] [stdout]    --> src/visualizer.rs:163:23
[INFO] [stdout]     |
[INFO] [stdout] 163 | export_html(&counts, &meta, "Bell State — ibm_fez", "results/bell.html")?;
[INFO] [stdout]     |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/visualizer.rs - visualizer::JobMetadata::from_job (line 37) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `JobMetadata` in this scope
[INFO] [stdout]   --> src/visualizer.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | let meta = JobMetadata::from_job(&job, 100);
[INFO] [stdout]    |            ^^^^^^^^^^^ use of undeclared type `JobMetadata`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 37 + use rusty_quantum::visualizer::JobMetadata;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `job` in this scope
[INFO] [stdout]   --> src/visualizer.rs:38:35
[INFO] [stdout]    |
[INFO] [stdout] 38 | let meta = JobMetadata::from_job(&job, 100);
[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, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/api/job.rs - api::job::Service::submit_job (line 56) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `JobRequest` in this scope
[INFO] [stdout]   --> src/api/job.rs:57:11
[INFO] [stdout]    |
[INFO] [stdout] 57 | let job = JobRequest::Sampler(
[INFO] [stdout]    |           ^^^^^^^^^^ use of undeclared type `JobRequest`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 56 + use rusty_quantum::api::job_builder::JobRequest;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SamplerJobBuilder` in this scope
[INFO] [stdout]   --> src/api/job.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 |     SamplerJobBuilder::new(service.backend_name())
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ use of undeclared type `SamplerJobBuilder`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 56 + use rusty_quantum::api::job_builder::SamplerJobBuilder;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `service` in this scope
[INFO] [stdout]   --> src/api/job.rs:58:28
[INFO] [stdout]    |
[INFO] [stdout] 58 |     SamplerJobBuilder::new(service.backend_name())
[INFO] [stdout]    |                            ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `SamplerPub` in this scope
[INFO] [stdout]   --> src/api/job.rs:59:18
[INFO] [stdout]    |
[INFO] [stdout] 59 |         .add_pub(SamplerPub::new(&qasm).shots(1024))
[INFO] [stdout]    |                  ^^^^^^^^^^ use of undeclared type `SamplerPub`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 56 + use rusty_quantum::api::job_builder::SamplerPub;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `qasm` in this scope
[INFO] [stdout]   --> src/api/job.rs:59:35
[INFO] [stdout]    |
[INFO] [stdout] 59 |         .add_pub(SamplerPub::new(&qasm).shots(1024))
[INFO] [stdout]    |                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `service` in this scope
[INFO] [stdout]   --> src/api/job.rs:61:16
[INFO] [stdout]    |
[INFO] [stdout] 61 | let response = service.submit_job(job).await?;
[INFO] [stdout]    |                ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/api/job.rs:61:40
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_job_rs_56_0() {
[INFO] [stdout]    |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 61 | let response = service.submit_job(job).await?;
[INFO] [stdout]    |                                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/visualizer.rs - visualizer::export_json (line 114) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `export_json` in this scope
[INFO] [stdout]    --> src/visualizer.rs:115:1
[INFO] [stdout]     |
[INFO] [stdout] 115 | export_json(&counts, &meta, "results/bell.json")?;
[INFO] [stdout]     | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 114 + use rusty_quantum::visualizer::export_json;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `counts` in this scope
[INFO] [stdout]    --> src/visualizer.rs:115:14
[INFO] [stdout]     |
[INFO] [stdout] 115 | export_json(&counts, &meta, "results/bell.json")?;
[INFO] [stdout]     |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `meta` in this scope
[INFO] [stdout]    --> src/visualizer.rs:115:23
[INFO] [stdout]     |
[INFO] [stdout] 115 | export_json(&counts, &meta, "results/bell.json")?;
[INFO] [stdout]     |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/transpiler/transpiler.rs - transpiler::transpiler::transpile (line 30) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `service` in this scope
[INFO] [stdout]   --> src/transpiler/transpiler.rs:31:20
[INFO] [stdout]    |
[INFO] [stdout] 31 | let coupling_map = service.get_coupling_map("ibm_fez").await?;
[INFO] [stdout]    |                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `transpile` in this scope
[INFO] [stdout]   --> src/transpiler/transpiler.rs:32:14
[INFO] [stdout]    |
[INFO] [stdout] 32 | let result = transpile(&circuit, &coupling_map)?;
[INFO] [stdout]    |              ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 30 + use rusty_quantum::transpiler::transpiler::transpile;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `circuit` in this scope
[INFO] [stdout]   --> src/transpiler/transpiler.rs:32:25
[INFO] [stdout]    |
[INFO] [stdout] 32 | let result = transpile(&circuit, &coupling_map)?;
[INFO] [stdout]    |                         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/transpiler/transpiler.rs:31:56
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_transpiler_transpiler_rs_30_0() {
[INFO] [stdout]    |                                      ---------------------------------------------------- this is not `async`
[INFO] [stdout] 31 | let coupling_map = service.get_coupling_map("ibm_fez").await?;
[INFO] [stdout]    |                                                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/api/job_struct.rs - api::job_struct::ResultRoot::to_counts (line 110) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `result` in this scope
[INFO] [stdout]    --> src/api/job_struct.rs:112:14
[INFO] [stdout]     |
[INFO] [stdout] 112 | let counts = result.to_counts()?;
[INFO] [stdout]     |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/api/service.rs - api::service::ServiceBuilder (line 40) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `Service` in this scope
[INFO] [stdout]   --> src/api/service.rs:41:15
[INFO] [stdout]    |
[INFO] [stdout] 41 | let service = Service::builder()
[INFO] [stdout]    |               ^^^^^^^ use of undeclared type `Service`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 40 + use rusty_quantum::api::service::Service;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/api/service.rs:45:6
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_service_rs_40_0() {
[INFO] [stdout]    |                                      ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 45 |     .await?;
[INFO] [stdout]    |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/visualizer.rs - visualizer::print_histogram (line 349) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `print_histogram` in this scope
[INFO] [stdout]    --> src/visualizer.rs:350:1
[INFO] [stdout]     |
[INFO] [stdout] 350 | print_histogram(&counts, &meta, "Bell State", 40);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 349 + use rusty_quantum::visualizer::print_histogram;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `counts` in this scope
[INFO] [stdout]    --> src/visualizer.rs:350:18
[INFO] [stdout]     |
[INFO] [stdout] 350 | print_histogram(&counts, &meta, "Bell State", 40);
[INFO] [stdout]     |                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `meta` in this scope
[INFO] [stdout]    --> src/visualizer.rs:350:27
[INFO] [stdout]     |
[INFO] [stdout] 350 | print_histogram(&counts, &meta, "Bell State", 40);
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/simulator/parser.rs - simulator::parser::parse_qasm (line 38) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `parse_qasm` in this scope
[INFO] [stdout]   --> src/simulator/parser.rs:40:20
[INFO] [stdout]    |
[INFO] [stdout] 40 | let instructions = parse_qasm(qasm)?;
[INFO] [stdout]    |                    ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 38 + use rusty_quantum::simulator::parser::parse_qasm;
[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 E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/api/job.rs - api::job::Service::run_and_collect (line 119)
[INFO] [stdout]     src/api/job.rs - api::job::Service::submit_job (line 56)
[INFO] [stdout]     src/api/job_struct.rs - api::job_struct::ResultRoot::to_counts (line 110)
[INFO] [stdout]     src/api/service.rs - api::service::Service::refresh_token_if_needed (line 186)
[INFO] [stdout]     src/api/service.rs - api::service::ServiceBuilder (line 40)
[INFO] [stdout]     src/circuit/unitary_gate.rs - circuit::unitary_gate::UnitaryGate::new (line 41)
[INFO] [stdout]     src/simulator/parser.rs - simulator::parser::parse_qasm (line 38)
[INFO] [stdout]     src/simulator/simulator.rs - simulator::simulator::simulate_statevector (line 79)
[INFO] [stdout]     src/transpiler/coupling_map.rs - transpiler::coupling_map::Service::get_coupling_map (line 151)
[INFO] [stdout]     src/transpiler/placement.rs - transpiler::placement::place (line 59)
[INFO] [stdout]     src/transpiler/transpiler.rs - transpiler::transpiler::Service::transpile_circuit (line 120)
[INFO] [stdout]     src/transpiler/transpiler.rs - transpiler::transpiler::transpile (line 30)
[INFO] [stdout]     src/visualizer.rs - visualizer::JobMetadata::from_job (line 37)
[INFO] [stdout]     src/visualizer.rs - visualizer::JobMetadata::new (line 69)
[INFO] [stdout]     src/visualizer.rs - visualizer::export_html (line 162)
[INFO] [stdout]     src/visualizer.rs - visualizer::export_json (line 114)
[INFO] [stdout]     src/visualizer.rs - visualizer::print_histogram (line 349)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 17 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.69s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "2b27e9dad5ae6ec1c9c38dd26c02d8c5ac98474fc7c1890008b15484d66afd22", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b27e9dad5ae6ec1c9c38dd26c02d8c5ac98474fc7c1890008b15484d66afd22", kill_on_drop: false }`
[INFO] [stdout] 2b27e9dad5ae6ec1c9c38dd26c02d8c5ac98474fc7c1890008b15484d66afd22
