qdk_sim_rs 0.28.291394

Rust-based simulators for use with the Quantum Development Kit.
Build #874525 2023-07-31T19:26:49.743688+00:00
# rustc version
rustc 1.73.0-nightly (32303b219 2023-07-29)# docs.rs version
docsrs 0.6.0 (8f6b9e45 2023-07-31)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/qdk_sim_rs-0.28.291394/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/qdk_sim_rs-0.28.291394/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "document-features" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"--html-in-header\", \"docs-includes/header.html\", \"--html-after-content\", \"docs-includes/after.html\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20230729-1.73.0-nightly-32303b219\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j3" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] a5486c9f9e5e006610bb475888012e924128b967e39cc874e9621a661c03df3c
[INFO] running `Command { std: "docker" "start" "-a" "a5486c9f9e5e006610bb475888012e924128b967e39cc874e9621a661c03df3c", kill_on_drop: false }`
[INFO] [stderr] warning: Target filter specified, but no targets matched. This is a no-op
[INFO] [stderr]  Documenting qdk_sim_rs v0.28.291394 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unknown lint: `rustdoc::missing_doc_code_examples`
[INFO] [stderr]   --> src/lib.rs:19:18
[INFO] [stderr]    |
[INFO] [stderr] 19 | #![cfg_attr(doc, warn(rustdoc::missing_doc_code_examples))]
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: the `rustdoc::missing_doc_code_examples` lint is unstable
[INFO] [stderr]    = note: see issue #101730 <https://github.com/rust-lang/rust/issues/101730> for more information
[INFO] [stderr]    = help: add `#![feature(rustdoc_missing_doc_code_examples)]` to the crate attributes to enable
[INFO] [stderr]    = note: `#[warn(unknown_lints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error: Could not find documented features in Cargo.toml
[INFO] [stderr]  --> src/lib.rs:7:25
[INFO] [stderr]   |
[INFO] [stderr] 7 |     cfg_attr(doc, doc = ::document_features::document_features!())
[INFO] [stderr]   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `::document_features::document_features` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0407]: method `backtrace` is not a member of trait `std::error::Error`
[INFO] [stderr]   --> src/error.rs:13:29
[INFO] [stderr]    |
[INFO] [stderr] 13 | #[derive(Debug, Diagnostic, Error)]
[INFO] [stderr]    |                             ^^^^^ not a member of trait `std::error::Error`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around index expression
[INFO] [stderr]   --> src/linalg/tensor.rs:27:18
[INFO] [stderr]    |
[INFO] [stderr] 27 |             self[(i)] * other[(j)]
[INFO] [stderr]    |                  ^ ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 27 -             self[(i)] * other[(j)]
[INFO] [stderr] 27 +             self[i] * other[(j)]
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around index expression
[INFO] [stderr]   --> src/linalg/tensor.rs:27:31
[INFO] [stderr]    |
[INFO] [stderr] 27 |             self[(i)] * other[(j)]
[INFO] [stderr]    |                               ^ ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 27 -             self[(i)] * other[(j)]
[INFO] [stderr] 27 +             self[(i)] * other[j]
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around index expression
[INFO] [stderr]   --> src/linalg/decompositions/eig.rs:86:39
[INFO] [stderr]    |
[INFO] [stderr] 86 |                         * new_eigvals[(idx_eig)]
[INFO] [stderr]    |                                       ^       ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 86 -                         * new_eigvals[(idx_eig)]
[INFO] [stderr] 86 +                         * new_eigvals[idx_eig]
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0407`.
[INFO] [stderr] warning: `qdk_sim_rs` (lib doc) generated 4 warnings
[INFO] [stderr] error: could not document `qdk_sim_rs`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustdoc --edition=2018 --crate-type rlib --crate-type staticlib --crate-type cdylib --crate-name qdk_sim src/lib.rs --target x86_64-unknown-linux-gnu -o /opt/rustwide/target/x86_64-unknown-linux-gnu/doc --cfg 'feature="default"' --cfg 'feature="document-features"' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat -C metadata=8f0d2c90c971e89e -L dependency=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern anyhow=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libanyhow-813651c95e19bece.rmeta --extern built=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libbuilt-5955e389a8d80c8c.rmeta --extern cauchy=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libcauchy-cfd5b3cc20db2ebd.rmeta --extern cfg_if=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libcfg_if-84545954218b0895.rmeta --extern derive_more=/opt/rustwide/target/debug/deps/libderive_more-c25db0c996cc6a04.so --extern document_features=/opt/rustwide/target/debug/deps/libdocument_features-35068cdf7ebd876e.so --extern getrandom=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-cdb95e76be6fba47.rmeta --extern itertools=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libitertools-d7b805f21ad22826.rmeta --extern lazy_static=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/liblazy_static-f9f6403925ae84ce.rmeta --extern miette=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libmiette-6d174fbc6e47a194.rmeta --extern ndarray=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libndarray-affb1529b44419b6.rmeta --extern num_complex=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libnum_complex-8eb34ddb445d2ede.rmeta --extern num_traits=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libnum_traits-432fc2309bfcb1e5.rmeta --extern num_enum=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libnum_enum-ec68649e4eff94aa.rmeta --extern once_cell=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libonce_cell-8ade15158ed1ac78.rmeta --extern rand=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/librand-03692847219983d8.rmeta --extern serde=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libserde-3e4b7b3355fed4e3.rmeta --extern serde_json=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libserde_json-7fae2a9ec7d6b5c2.rmeta --extern thiserror=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libthiserror-2ebfd4bdbdf68d71.rmeta --extern-html-root-url 'anyhow=https://docs.rs/anyhow/1.0.72/x86_64-unknown-linux-gnu' --extern-html-root-url 'built=https://docs.rs/built/0.5.2/x86_64-unknown-linux-gnu' --extern-html-root-url 'cauchy=https://docs.rs/cauchy/0.4.0/x86_64-unknown-linux-gnu' --extern-html-root-url 'cfg_if=https://docs.rs/cfg-if/1.0.0/x86_64-unknown-linux-gnu' --extern-html-root-url 'derive_more=https://docs.rs/derive_more/0.99.17/x86_64-unknown-linux-gnu' --extern-html-root-url 'document_features=https://docs.rs/document-features/0.2.7/x86_64-unknown-linux-gnu' --extern-html-root-url 'getrandom=https://docs.rs/getrandom/0.1.16/x86_64-unknown-linux-gnu' --extern-html-root-url 'itertools=https://docs.rs/itertools/0.9.0/x86_64-unknown-linux-gnu' --extern-html-root-url 'lazy_static=https://docs.rs/lazy_static/1.4.0/x86_64-unknown-linux-gnu' --extern-html-root-url 'miette=https://docs.rs/miette/4.7.1/x86_64-unknown-linux-gnu' --extern-html-root-url 'ndarray=https://docs.rs/ndarray/0.15.6/x86_64-unknown-linux-gnu' --extern-html-root-url 'num_complex=https://docs.rs/num-complex/0.4.3/x86_64-unknown-linux-gnu' --extern-html-root-url 'num_traits=https://docs.rs/num-traits/0.2.16/x86_64-unknown-linux-gnu' --extern-html-root-url 'num_enum=https://docs.rs/num_enum/0.5.11/x86_64-unknown-linux-gnu' --extern-html-root-url 'once_cell=https://docs.rs/once_cell/1.18.0/x86_64-unknown-linux-gnu' --extern-html-root-url 'rand=https://docs.rs/rand/0.7.3/x86_64-unknown-linux-gnu' --extern-html-root-url 'serde=https://docs.rs/serde/1.0.180/x86_64-unknown-linux-gnu' --extern-html-root-url 'serde_json=https://docs.rs/serde_json/1.0.104/x86_64-unknown-linux-gnu' --extern-html-root-url 'thiserror=https://docs.rs/thiserror/1.0.30/x86_64-unknown-linux-gnu' -Zunstable-options --html-in-header docs-includes/header.html --html-after-content docs-includes/after.html -Z unstable-options --emit=invocation-specific --resource-suffix -20230729-1.73.0-nightly-32303b219 --static-root-path /-/rustdoc.static/ --cap-lints warn --disable-per-crate-search --extern-html-root-takes-precedence --crate-version 0.28.291394` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "a5486c9f9e5e006610bb475888012e924128b967e39cc874e9621a661c03df3c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a5486c9f9e5e006610bb475888012e924128b967e39cc874e9621a661c03df3c", kill_on_drop: false }`
[INFO] [stdout] a5486c9f9e5e006610bb475888012e924128b967e39cc874e9621a661c03df3c