[INFO] fetching crate quantr 0.6.0... [INFO] testing quantr-0.6.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate quantr 0.6.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate quantr 0.6.0 [INFO] finished tweaking crates.io crate quantr 0.6.0 [INFO] tweaked toml for crates.io crate quantr 0.6.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate quantr 0.6.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate quantr 0.6.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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3decebc598b9532f4b23980cfd4c16da265394ba23e87745a00dcd56391e2bff [INFO] running `Command { std: "docker" "start" "-a" "3decebc598b9532f4b23980cfd4c16da265394ba23e87745a00dcd56391e2bff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3decebc598b9532f4b23980cfd4c16da265394ba23e87745a00dcd56391e2bff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3decebc598b9532f4b23980cfd4c16da265394ba23e87745a00dcd56391e2bff", kill_on_drop: false }` [INFO] [stdout] 3decebc598b9532f4b23980cfd4c16da265394ba23e87745a00dcd56391e2bff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2897f83e4455f7985b454aed31018ebfb24d3bbf00454e67f6ff1a54b5c0e280 [INFO] running `Command { std: "docker" "start" "-a" "2897f83e4455f7985b454aed31018ebfb24d3bbf00454e67f6ff1a54b5c0e280", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling quantr v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/circuit/gate.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Clone, PartialEq, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 102 | fn(ProductState) -> Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/circuit/gate.rs:140:26 [INFO] [stdout] | [INFO] [stdout] 140 | pub(crate) fn linker(&self) -> GateCategory { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 140 | pub(crate) fn linker(&self) -> GateCategory<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/circuit/gate.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(PartialEq, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 245 | Single(fn(Qubit) -> SuperPosition), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/circuit/gate.rs:246:20 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(PartialEq, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 246 | SingleArg(f64, fn(Qubit, f64) -> SuperPosition), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/circuit/gate.rs:247:19 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(PartialEq, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 247 | Double(usize, fn(Qubit, Qubit) -> SuperPosition), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/circuit/gate.rs:248:27 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(PartialEq, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 248 | DoubleArg(f64, usize, fn(Qubit, Qubit, f64) -> SuperPosition), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/circuit/gate.rs:249:30 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(PartialEq, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 249 | DoubleArgInt(i32, usize, fn(Qubit, Qubit, i32) -> SuperPosition), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/circuit/gate.rs:250:26 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(PartialEq, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 250 | Triple(usize, usize, fn(Qubit, Qubit, Qubit) -> SuperPosition), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/circuit/gate.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(PartialEq, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 251 | Custom(fn(ProductState) -> Option, &'a [usize]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/circuit/printer.rs:217:45 [INFO] [stdout] | [INFO] [stdout] 217 | fn into_printer_gate_info(gates_column: &[Gate]) -> (Vec, usize) { [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 217 | fn into_printer_gate_info(gates_column: &[Gate]) -> (Vec>, usize) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.91s [INFO] running `Command { std: "docker" "inspect" "2897f83e4455f7985b454aed31018ebfb24d3bbf00454e67f6ff1a54b5c0e280", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2897f83e4455f7985b454aed31018ebfb24d3bbf00454e67f6ff1a54b5c0e280", kill_on_drop: false }` [INFO] [stdout] 2897f83e4455f7985b454aed31018ebfb24d3bbf00454e67f6ff1a54b5c0e280 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd701b60cbb567e430edb9f8e10a3b711e1b66d0f6973f432d17aeeb0ab23373 [INFO] running `Command { std: "docker" "start" "-a" "bd701b60cbb567e430edb9f8e10a3b711e1b66d0f6973f432d17aeeb0ab23373", kill_on_drop: false }` [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/circuit/gate.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Clone, PartialEq, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 102 | fn(ProductState) -> Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/circuit/gate.rs:140:26 [INFO] [stdout] | [INFO] [stdout] 140 | pub(crate) fn linker(&self) -> GateCategory { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 140 | pub(crate) fn linker(&self) -> GateCategory<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/circuit/gate.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(PartialEq, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 245 | Single(fn(Qubit) -> SuperPosition), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/circuit/gate.rs:246:20 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(PartialEq, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 246 | SingleArg(f64, fn(Qubit, f64) -> SuperPosition), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/circuit/gate.rs:247:19 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(PartialEq, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 247 | Double(usize, fn(Qubit, Qubit) -> SuperPosition), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/circuit/gate.rs:248:27 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(PartialEq, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 248 | DoubleArg(f64, usize, fn(Qubit, Qubit, f64) -> SuperPosition), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/circuit/gate.rs:249:30 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(PartialEq, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 249 | DoubleArgInt(i32, usize, fn(Qubit, Qubit, i32) -> SuperPosition), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/circuit/gate.rs:250:26 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(PartialEq, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 250 | Triple(usize, usize, fn(Qubit, Qubit, Qubit) -> SuperPosition), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/circuit/gate.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(PartialEq, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 251 | Custom(fn(ProductState) -> Option, &'a [usize]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/circuit/printer.rs:217:45 [INFO] [stdout] | [INFO] [stdout] 217 | fn into_printer_gate_info(gates_column: &[Gate]) -> (Vec, usize) { [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 217 | fn into_printer_gate_info(gates_column: &[Gate]) -> (Vec>, usize) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quantr v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/circuit/gate.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Clone, PartialEq, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 102 | fn(ProductState) -> Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/circuit/gate.rs:140:26 [INFO] [stdout] | [INFO] [stdout] 140 | pub(crate) fn linker(&self) -> GateCategory { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 140 | pub(crate) fn linker(&self) -> GateCategory<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/circuit/gate.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(PartialEq, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 245 | Single(fn(Qubit) -> SuperPosition), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/circuit/gate.rs:246:20 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(PartialEq, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 246 | SingleArg(f64, fn(Qubit, f64) -> SuperPosition), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/circuit/gate.rs:247:19 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(PartialEq, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 247 | Double(usize, fn(Qubit, Qubit) -> SuperPosition), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/circuit/gate.rs:248:27 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(PartialEq, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 248 | DoubleArg(f64, usize, fn(Qubit, Qubit, f64) -> SuperPosition), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/circuit/gate.rs:249:30 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(PartialEq, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 249 | DoubleArgInt(i32, usize, fn(Qubit, Qubit, i32) -> SuperPosition), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/circuit/gate.rs:250:26 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(PartialEq, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 250 | Triple(usize, usize, fn(Qubit, Qubit, Qubit) -> SuperPosition), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/circuit/gate.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 242 | #[derive(PartialEq, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 251 | Custom(fn(ProductState) -> Option, &'a [usize]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/circuit/printer.rs:217:45 [INFO] [stdout] | [INFO] [stdout] 217 | fn into_printer_gate_info(gates_column: &[Gate]) -> (Vec, usize) { [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 217 | fn into_printer_gate_info(gates_column: &[Gate]) -> (Vec>, usize) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.48s [INFO] running `Command { std: "docker" "inspect" "bd701b60cbb567e430edb9f8e10a3b711e1b66d0f6973f432d17aeeb0ab23373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd701b60cbb567e430edb9f8e10a3b711e1b66d0f6973f432d17aeeb0ab23373", kill_on_drop: false }` [INFO] [stdout] bd701b60cbb567e430edb9f8e10a3b711e1b66d0f6973f432d17aeeb0ab23373 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] db69f456effc267d791d457a3921c67a4272b2d896fe64a37b468b369dcbd80e [INFO] running `Command { std: "docker" "start" "-a" "db69f456effc267d791d457a3921c67a4272b2d896fe64a37b468b369dcbd80e", kill_on_drop: false }` [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/circuit/gate.rs:102:9 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Clone, PartialEq, Debug)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] ... [INFO] [stderr] 102 | fn(ProductState) -> Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/circuit/gate.rs:140:26 [INFO] [stderr] | [INFO] [stderr] 140 | pub(crate) fn linker(&self) -> GateCategory { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 140 | pub(crate) fn linker(&self) -> GateCategory<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/circuit/gate.rs:245:12 [INFO] [stderr] | [INFO] [stderr] 242 | #[derive(PartialEq, Debug)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] ... [INFO] [stderr] 245 | Single(fn(Qubit) -> SuperPosition), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/circuit/gate.rs:246:20 [INFO] [stderr] | [INFO] [stderr] 242 | #[derive(PartialEq, Debug)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] ... [INFO] [stderr] 246 | SingleArg(f64, fn(Qubit, f64) -> SuperPosition), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/circuit/gate.rs:247:19 [INFO] [stderr] | [INFO] [stderr] 242 | #[derive(PartialEq, Debug)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] ... [INFO] [stderr] 247 | Double(usize, fn(Qubit, Qubit) -> SuperPosition), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/circuit/gate.rs:248:27 [INFO] [stderr] | [INFO] [stderr] 242 | #[derive(PartialEq, Debug)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] ... [INFO] [stderr] 248 | DoubleArg(f64, usize, fn(Qubit, Qubit, f64) -> SuperPosition), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/circuit/gate.rs:249:30 [INFO] [stderr] | [INFO] [stderr] 242 | #[derive(PartialEq, Debug)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] ... [INFO] [stderr] 249 | DoubleArgInt(i32, usize, fn(Qubit, Qubit, i32) -> SuperPosition), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/circuit/gate.rs:250:26 [INFO] [stderr] | [INFO] [stderr] 242 | #[derive(PartialEq, Debug)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] ... [INFO] [stderr] 250 | Triple(usize, usize, fn(Qubit, Qubit, Qubit) -> SuperPosition), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/circuit/gate.rs:251:12 [INFO] [stderr] | [INFO] [stderr] 242 | #[derive(PartialEq, Debug)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] ... [INFO] [stderr] 251 | Custom(fn(ProductState) -> Option, &'a [usize]), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/circuit/printer.rs:217:45 [INFO] [stderr] | [INFO] [stderr] 217 | fn into_printer_gate_info(gates_column: &[Gate]) -> (Vec, usize) { [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 217 | fn into_printer_gate_info(gates_column: &[Gate]) -> (Vec>, usize) { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `quantr` (lib) generated 10 warnings (run `cargo fix --lib -p quantr` to apply 2 suggestions) [INFO] [stderr] warning: `quantr` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/quantr-2a36f98832b19923) [INFO] [stdout] [INFO] [stdout] running 50 tests [INFO] [stdout] test circuit::printer::tests::producing_string_circuit ... ok [INFO] [stdout] test circuit::states::product_states::tests::converts_productstate_to_superpos ... ok [INFO] [stdout] test circuit::states::product_states::tests::converts_from_binary_to_comp_basis ... ok [INFO] [stdout] test circuit::states::product_states::tests::converts_from_integer_to_product_state ... ok [INFO] [stdout] test circuit::states::product_states::tests::insert_qubits_in_state ... ok [INFO] [stdout] test circuit::printer::tests::producing_string_circuit_custom ... ok [INFO] [stdout] test circuit::states::product_states::tests::inverting_binary_digit ... ok [INFO] [stdout] test circuit::states::product_states::tests::iterates_through_qubits ... ok [INFO] [stdout] test circuit::states::super_positions::tests::retrieve_amplitude_from_list_pos ... ok [INFO] [stdout] test circuit::states::super_positions::tests::retrieve_amplitude_from_state ... ok [INFO] [stdout] test circuit::states::super_positions::tests::sets_amplitude_from_states ... ok [INFO] [stdout] test circuit::tests::add_gates_to_circuit_with_positions ... ok [INFO] [stdout] test circuit::tests::add_gates_to_circuit_with_vec ... ok [INFO] [stdout] test circuit::tests::add_repeating_gates_to_circuits ... ok [INFO] [stdout] test circuit::tests::add_two_rows_single_gates ... ok [INFO] [stdout] test circuit::tests::cnot_gate_simply_flipped ... ok [INFO] [stdout] test circuit::tests::crk_gate ... ok [INFO] [stdout] test circuit::tests::custom_gates ... ok [INFO] [stdout] test circuit::tests::cnot_gate_simply_use_works ... ok [INFO] [stdout] test circuit::tests::cnot_gate_extended_control_works_asymmetric ... ok [INFO] [stdout] test circuit::tests::cr_gate ... ok [INFO] [stdout] test circuit::tests::cz_and_swap_gates_work ... ok [INFO] [stdout] test circuit::tests::global_gate ... ok [INFO] [stdout] test circuit::tests::pushes_multi_gates ... ok [INFO] [stdout] test circuit::tests::pushes_multi_gates_using_vec ... ok [INFO] [stdout] test circuit::tests::runs_three_pauli_gates_with_hadamard ... ok [INFO] [stdout] test circuit::tests::rx_gate ... ok [INFO] [stdout] test circuit::tests::hash_map_with_two_gates ... ok [INFO] [stdout] test circuit::tests::ry_gate ... ok [INFO] [stdout] test circuit::tests::rz_gate ... ok [INFO] [stdout] test circuit::tests::swap_and_conjugate_gates ... ok [INFO] [stdout] test circuit::tests::t_and_conjugate_gates ... ok [INFO] [stdout] test circuit::tests::two_hadamard_gates_work ... ok [INFO] [stdout] test circuit::tests::x90_and_mx90_gate ... ok [INFO] [stdout] test circuit::tests::toffoli_gates ... ok [INFO] [stdout] test circuit::tests::y90_and_my90_gate ... ok [INFO] [stdout] test circuit::tests::cy_and_swap_gates_work ... ok [INFO] [stdout] test circuit::states::super_positions::tests::catches_retrieve_amplitude_from_wrong_list_pos - should panic ... ok [INFO] [stdout] test circuit::states::super_positions::tests::catches_super_position_breaking_conservation - should panic ... ok [INFO] [stdout] test circuit::states::super_positions::tests::catches_retrieve_amplitude_from_wrong_state - should panic ... ok [INFO] [stdout] test circuit::tests::catches_overlapping_control_nodes_using_vec - should panic ... ok [INFO] [stdout] test circuit::tests::catches_overlapping_control_nodes - should panic ... ok [INFO] [stdout] test circuit::tests::catches_overlapping_nodes_custom_gate - should panic ... ok [INFO] [stdout] test circuit::tests::catches_repeating_positions - should panic ... ok [INFO] [stdout] test circuit::states::super_positions::tests::sets_amplitude_from_states_wrong_dimension - should panic ... ok [INFO] [stdout] test circuit::states::super_positions::tests::sets_amplitude_from_states_breaks_probability - should panic ... ok [INFO] [stderr] Running tests/grovers.rs (/opt/rustwide/target/debug/deps/grovers-ac31f5032c825c00) [INFO] [stdout] test circuit::tests::custom_non_ascii_name - should panic ... ok [INFO] [stdout] test circuit::tests::custom_register ... ok [INFO] [stdout] test circuit::tests::control_node_greater_than_circuit_size - should panic ... ok [INFO] [stdout] test circuit::tests::custom_register_wrong_dimension - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 50 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test grovers_3qubit ... ok [INFO] [stdout] test x3sudoko ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.09s [INFO] [stdout] [INFO] [stderr] Running tests/qft.rs (/opt/rustwide/target/debug/deps/qft-bec1ab13f7655298) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test simple_qft ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests quantr [INFO] [stdout] [INFO] [stdout] running 44 tests [INFO] [stdout] test src/circuit.rs - circuit::Circuit::add_gate (line 113) ... ok [INFO] [stdout] test src/circuit.rs - circuit::Circuit::set_print_progress (line 80) ... ok [INFO] [stdout] test src/circuit.rs - circuit::Circuit::new (line 42) ... ok [INFO] [stdout] test src/circuit.rs - circuit::Circuit::add_gates (line 197) ... ok [INFO] [stdout] test src/circuit/printer.rs - circuit::printer::Printer<'_>::save_diagram (line 98) ... ok [INFO] [stdout] test src/circuit.rs - circuit::Circuit::clone_and_simulate (line 400) ... ok [INFO] [stdout] test src/circuit/printer.rs - circuit::printer::Printer<'_>::print_diagram (line 68) ... ok [INFO] [stdout] test src/circuit.rs - circuit::Circuit::add_gates_with_positions (line 135) ... ok [INFO] [stdout] test src/circuit.rs - circuit::Circuit::add_repeating_gate (line 313) ... ok [INFO] [stdout] test src/circuit.rs - circuit::Circuit::change_register (line 444) ... ok [INFO] [stdout] test src/circuit/states/product_states.rs - circuit::states::product_states::ProductState::fmt (line 222) ... ok [INFO] [stdout] test src/circuit.rs - circuit::Circuit::simulate (line 351) ... ok [INFO] [stdout] test src/circuit.rs - circuit::Circuit::get_gates (line 95) ... ok [INFO] [stdout] test src/circuit/printer.rs - circuit::printer::Printer<'_>::get_diagram (line 144) ... ok [INFO] [stdout] test src/circuit.rs - circuit::Circuit::get_num_qubits (line 67) ... ok [INFO] [stdout] test src/circuit/states/product_states.rs - circuit::states::product_states::ProductState::get (line 56) ... ok [INFO] [stdout] test src/circuit/states/product_states.rs - circuit::states::product_states::ProductState::from (line 246) ... ok [INFO] [stdout] test src/circuit/states/product_states.rs - circuit::states::product_states::ProductState::get_qubits (line 73) ... ok [INFO] [stdout] test src/circuit/gate.rs - circuit::gate::Gate::Custom (line 78) ... ok [INFO] [stdout] test src/circuit/states/product_states.rs - circuit::states::product_states::ProductState::get_mut_qubits (line 90) ... ok [INFO] [stdout] test src/circuit/states/product_states_iter.rs - circuit::states::product_states_iter::ProductStateIter (line 17) ... ok [INFO] [stdout] test src/circuit/states/qubit.rs - circuit::states::qubit::Qubit::kronecker_prod (line 26) ... ok [INFO] [stdout] test src/circuit/printer.rs - circuit::printer::Printer<'_>::print_and_save_diagram (line 120) ... ok [INFO] [stdout] test src/circuit/states/super_position_iter.rs - circuit::states::super_position_iter::SuperPositionIterator (line 17) ... ok [INFO] [stdout] test src/circuit/states/product_states.rs - circuit::states::product_states::ProductState::kronecker_prod (line 171) ... ok [INFO] [stdout] test src/circuit/states/product_states.rs - circuit::states::product_states::ProductState::num_qubits (line 128) ... ok [INFO] [stdout] test src/circuit/states/super_positions.rs - circuit::states::super_positions::SuperPosition::get_dimension (line 167) ... ok [INFO] [stdout] test src/circuit/states/product_states.rs - circuit::states::product_states::ProductState::new (line 32) ... ok [INFO] [stdout] test src/circuit/states/super_positions.rs - circuit::states::super_positions::SuperPosition::from (line 382) ... ok [INFO] [stdout] test src/circuit/states/super_positions.rs - circuit::states::super_positions::SuperPosition::get_amplitude (line 137) ... ok [INFO] [stdout] test src/circuit/states/product_states.rs - circuit::states::product_states::ProductState::invert_digit (line 145) ... ok [INFO] [stdout] test src/circuit/states/super_positions.rs - circuit::states::super_positions::SuperPosition::get_amplitudes (line 183) ... ok [INFO] [stdout] test src/circuit/states/super_positions.rs - circuit::states::super_positions::SuperPosition::from (line 364) ... ok [INFO] [stdout] test src/circuit/states/super_positions.rs - circuit::states::super_positions::SuperPosition::set_amplitudes_from_states (line 257) ... ok [INFO] [stdout] test src/circuit/states/super_positions.rs - circuit::states::super_positions::SuperPosition::to_hash_map (line 303) ... ok [INFO] [stdout] test src/circuit/states/super_positions.rs - circuit::states::super_positions::SuperPosition::new_with_hash_amplitudes (line 94) ... ok [INFO] [stdout] test src/circuit/states/super_positions.rs - circuit::states::super_positions::SuperPosition::set_amplitudes (line 220) ... ok [INFO] [stdout] test src/circuit/states/super_positions.rs - circuit::states::super_positions::SuperPosition::get_num_qubits (line 152) ... ok [INFO] [stdout] test src/circuit/states/super_positions.rs - circuit::states::super_positions::SuperPosition::new_with_amplitudes (line 60) ... ok [INFO] [stdout] test src/circuit/states/super_positions.rs - circuit::states::super_positions::SuperPosition::new (line 33) ... ok [INFO] [stdout] test src/circuit/states/super_positions.rs - circuit::states::super_positions::SuperPosition::get_amplitude_from_state (line 198) ... ok [INFO] [stdout] test src/lib.rs - (line 40) ... ok [INFO] [stdout] test src/simulated_circuit.rs - simulated_circuit::SimulatedCircuit::measure_all (line 43) ... ok [INFO] [stdout] test src/simulated_circuit.rs - simulated_circuit::SimulatedCircuit::get_state (line 138) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 44 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.70s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "db69f456effc267d791d457a3921c67a4272b2d896fe64a37b468b369dcbd80e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db69f456effc267d791d457a3921c67a4272b2d896fe64a37b468b369dcbd80e", kill_on_drop: false }` [INFO] [stdout] db69f456effc267d791d457a3921c67a4272b2d896fe64a37b468b369dcbd80e