[INFO] fetching crate quil-py 0.17.0... [INFO] checking quil-py-0.17.0 against try#943e2200e35c3825486c4671b6cab0107a07f8c1 for pr-148952 [INFO] extracting crate quil-py 0.17.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate quil-py 0.17.0 [INFO] finished tweaking crates.io crate quil-py 0.17.0 [INFO] tweaked toml for crates.io crate quil-py 0.17.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate quil-py 0.17.0 on toolchain 943e2200e35c3825486c4671b6cab0107a07f8c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate quil-py 0.17.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" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15bb10863b66b03719f881619f114736a3a4e41fa77ecda78e18c0ff613d8d7f [INFO] running `Command { std: "docker" "start" "-a" "15bb10863b66b03719f881619f114736a3a4e41fa77ecda78e18c0ff613d8d7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15bb10863b66b03719f881619f114736a3a4e41fa77ecda78e18c0ff613d8d7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15bb10863b66b03719f881619f114736a3a4e41fa77ecda78e18c0ff613d8d7f", kill_on_drop: false }` [INFO] [stdout] 15bb10863b66b03719f881619f114736a3a4e41fa77ecda78e18c0ff613d8d7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6c7f4cd177807b217f83e64043ce330a55855868ca9f3eb0d9ebf6d8aebd0c6 [INFO] running `Command { std: "docker" "start" "-a" "f6c7f4cd177807b217f83e64043ce330a55855868ca9f3eb0d9ebf6d8aebd0c6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Checking foldhash v0.1.4 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking lexical-util v1.0.6 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking inventory v0.3.20 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Checking unindent v0.2.4 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking either v1.14.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Checking lexical-parse-integer v1.0.5 [INFO] [stderr] Checking lexical-write-integer v1.0.5 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking lexical-parse-float v1.0.5 [INFO] [stderr] Checking wide v0.7.32 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Checking num-traits v0.2.19 [INFO] [stderr] Checking lexical-write-float v1.0.5 [INFO] [stderr] Compiling pyo3-build-config v0.20.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking lexical-core v1.0.5 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking lexical v7.0.4 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Compiling pyo3-ffi v0.20.3 [INFO] [stderr] Compiling pyo3 v0.20.3 [INFO] [stderr] Compiling quil-py v0.17.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking simba v0.6.0 [INFO] [stderr] Compiling pyo3-macros-backend v0.20.3 [INFO] [stderr] Checking nom_locate v4.2.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Compiling pyo3-macros v0.20.3 [INFO] [stderr] Checking internment v0.8.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking nalgebra v0.29.0 [INFO] [stderr] Checking numpy v0.20.0 [INFO] [stderr] Checking rigetti-pyo3 v0.4.3 [INFO] [stderr] Checking statrs v0.16.1 [INFO] [stderr] Checking quil-rs v0.32.0 [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/expression.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / py_wrap_union_enum! { [INFO] [stdout] 36 | | #[derive(Debug, Hash, PartialEq, Eq)] [INFO] [stdout] 37 | | #[pyo3(module="quil.expression")] [INFO] [stdout] 38 | | PyExpression(Expression) as "Expression" { [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/expression.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / py_wrap_union_enum! { [INFO] [stdout] 36 | | #[derive(Debug, Hash, PartialEq, Eq)] [INFO] [stdout] 37 | | #[pyo3(module="quil.expression")] [INFO] [stdout] 38 | | PyExpression(Expression) as "Expression" { [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/expression.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / py_wrap_union_enum! { [INFO] [stdout] 36 | | #[derive(Debug, Hash, PartialEq, Eq)] [INFO] [stdout] 37 | | #[pyo3(module="quil.expression")] [INFO] [stdout] 38 | | PyExpression(Expression) as "Expression" { [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/expression.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / py_wrap_union_enum! { [INFO] [stdout] 36 | | #[derive(Debug, Hash, PartialEq, Eq)] [INFO] [stdout] 37 | | #[pyo3(module="quil.expression")] [INFO] [stdout] 38 | | PyExpression(Expression) as "Expression" { [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/expression.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / py_wrap_union_enum! { [INFO] [stdout] 36 | | #[derive(Debug, Hash, PartialEq, Eq)] [INFO] [stdout] 37 | | #[pyo3(module="quil.expression")] [INFO] [stdout] 38 | | PyExpression(Expression) as "Expression" { [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/expression.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / py_wrap_union_enum! { [INFO] [stdout] 36 | | #[derive(Debug, Hash, PartialEq, Eq)] [INFO] [stdout] 37 | | #[pyo3(module="quil.expression")] [INFO] [stdout] 38 | | PyExpression(Expression) as "Expression" { [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/expression.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / py_wrap_union_enum! { [INFO] [stdout] 36 | | #[derive(Debug, Hash, PartialEq, Eq)] [INFO] [stdout] 37 | | #[pyo3(module="quil.expression")] [INFO] [stdout] 38 | | PyExpression(Expression) as "Expression" { [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/expression.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / py_wrap_union_enum! { [INFO] [stdout] 36 | | #[derive(Debug, Hash, PartialEq, Eq)] [INFO] [stdout] 37 | | #[pyo3(module="quil.expression")] [INFO] [stdout] 38 | | PyExpression(Expression) as "Expression" { [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/expression.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | impl_to_quil!(PyExpression); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/expression.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | impl_parse!(PyExpression); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `impl_parse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/expression.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/expression.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | / py_wrap_data_struct! { [INFO] [stdout] 111 | | #[pyo3(subclass)] [INFO] [stdout] 112 | | #[derive(Debug)] [INFO] [stdout] 113 | | PyFunctionCallExpression(FunctionCallExpression) as "FunctionCallExpression" { [INFO] [stdout] ... | [INFO] [stdout] 117 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/expression.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | / py_wrap_data_struct! { [INFO] [stdout] 136 | | #[derive(Debug)] [INFO] [stdout] 137 | | #[pyo3(subclass)] [INFO] [stdout] 138 | | PyInfixExpression(InfixExpression) as "InfixExpression" { [INFO] [stdout] ... | [INFO] [stdout] 143 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/expression.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | / py_wrap_data_struct! { [INFO] [stdout] 164 | | #[derive(Debug)] [INFO] [stdout] 165 | | #[pyo3(subclass)] [INFO] [stdout] 166 | | PyPrefixExpression(PrefixExpression) as "PrefixExpression" { [INFO] [stdout] ... | [INFO] [stdout] 170 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/calibration.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / py_wrap_data_struct! { [INFO] [stdout] 23 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 24 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 25 | | PyCalibration(Calibration) as "Calibration" { [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/calibration.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_to_quil!(PyCalibration); [INFO] [stdout] | ---------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/calibration.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_copy_for_instruction!(PyCalibration); [INFO] [stdout] | ----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/calibration.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | impl_pickle_for_instruction!(PyCalibration); [INFO] [stdout] | ------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/calibration.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/expression.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / py_wrap_union_enum! { [INFO] [stdout] 36 | | #[derive(Debug, Hash, PartialEq, Eq)] [INFO] [stdout] 37 | | #[pyo3(module="quil.expression")] [INFO] [stdout] 38 | | PyExpression(Expression) as "Expression" { [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/expression.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / py_wrap_union_enum! { [INFO] [stdout] 36 | | #[derive(Debug, Hash, PartialEq, Eq)] [INFO] [stdout] 37 | | #[pyo3(module="quil.expression")] [INFO] [stdout] 38 | | PyExpression(Expression) as "Expression" { [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/expression.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / py_wrap_union_enum! { [INFO] [stdout] 36 | | #[derive(Debug, Hash, PartialEq, Eq)] [INFO] [stdout] 37 | | #[pyo3(module="quil.expression")] [INFO] [stdout] 38 | | PyExpression(Expression) as "Expression" { [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/calibration.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | / py_wrap_data_struct! { [INFO] [stdout] 94 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 95 | | #[pyo3(subclass)] [INFO] [stdout] 96 | | PyCalibrationIdentifier(CalibrationIdentifier) as "CalibrationIdentifier" { [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/expression.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / py_wrap_union_enum! { [INFO] [stdout] 36 | | #[derive(Debug, Hash, PartialEq, Eq)] [INFO] [stdout] 37 | | #[pyo3(module="quil.expression")] [INFO] [stdout] 38 | | PyExpression(Expression) as "Expression" { [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/expression.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / py_wrap_union_enum! { [INFO] [stdout] 36 | | #[derive(Debug, Hash, PartialEq, Eq)] [INFO] [stdout] 37 | | #[pyo3(module="quil.expression")] [INFO] [stdout] 38 | | PyExpression(Expression) as "Expression" { [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/expression.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / py_wrap_union_enum! { [INFO] [stdout] 36 | | #[derive(Debug, Hash, PartialEq, Eq)] [INFO] [stdout] 37 | | #[pyo3(module="quil.expression")] [INFO] [stdout] 38 | | PyExpression(Expression) as "Expression" { [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/calibration.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | impl_to_quil!(PyCalibrationIdentifier); [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/calibration.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_copy_for_instruction!(PyCalibrationIdentifier); [INFO] [stdout] | --------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/expression.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / py_wrap_union_enum! { [INFO] [stdout] 36 | | #[derive(Debug, Hash, PartialEq, Eq)] [INFO] [stdout] 37 | | #[pyo3(module="quil.expression")] [INFO] [stdout] 38 | | PyExpression(Expression) as "Expression" { [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/expression.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / py_wrap_union_enum! { [INFO] [stdout] 36 | | #[derive(Debug, Hash, PartialEq, Eq)] [INFO] [stdout] 37 | | #[pyo3(module="quil.expression")] [INFO] [stdout] 38 | | PyExpression(Expression) as "Expression" { [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/calibration.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | / py_wrap_data_struct! { [INFO] [stdout] 132 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 133 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 134 | | PyMeasureCalibrationDefinition(MeasureCalibrationDefinition) as "MeasureCalibrationDefinition" { [INFO] [stdout] ... | [INFO] [stdout] 138 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/expression.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | impl_to_quil!(PyExpression); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/calibration.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 140 | impl_to_quil!(PyMeasureCalibrationDefinition); [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/calibration.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | impl_copy_for_instruction!(PyMeasureCalibrationDefinition); [INFO] [stdout] | ---------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/expression.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | impl_parse!(PyExpression); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `impl_parse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/calibration.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | impl_pickle_for_instruction!(PyMeasureCalibrationDefinition); [INFO] [stdout] | ------------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/calibration.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/expression.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/calibration.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | / py_wrap_data_struct! { [INFO] [stdout] 172 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 173 | | #[pyo3(subclass)] [INFO] [stdout] 174 | | PyMeasureCalibrationIdentifier(MeasureCalibrationIdentifier) as "MeasureCalibrationIdentifier" { [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/calibration.rs:180:1 [INFO] [stdout] | [INFO] [stdout] 180 | impl_to_quil!(PyMeasureCalibrationIdentifier); [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/expression.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | / py_wrap_data_struct! { [INFO] [stdout] 111 | | #[pyo3(subclass)] [INFO] [stdout] 112 | | #[derive(Debug)] [INFO] [stdout] 113 | | PyFunctionCallExpression(FunctionCallExpression) as "FunctionCallExpression" { [INFO] [stdout] ... | [INFO] [stdout] 117 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/calibration.rs:181:1 [INFO] [stdout] | [INFO] [stdout] 181 | impl_copy_for_instruction!(PyMeasureCalibrationIdentifier); [INFO] [stdout] | ---------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/expression.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | / py_wrap_data_struct! { [INFO] [stdout] 136 | | #[derive(Debug)] [INFO] [stdout] 137 | | #[pyo3(subclass)] [INFO] [stdout] 138 | | PyInfixExpression(InfixExpression) as "InfixExpression" { [INFO] [stdout] ... | [INFO] [stdout] 143 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/circuit.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / py_wrap_data_struct! { [INFO] [stdout] 13 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 14 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 15 | | PyCircuitDefinition(CircuitDefinition) as "CircuitDefinition" { [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/circuit.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | impl_to_quil!(PyCircuitDefinition); [INFO] [stdout] | ---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/circuit.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | impl_copy_for_instruction!(PyCircuitDefinition); [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/expression.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | / py_wrap_data_struct! { [INFO] [stdout] 164 | | #[derive(Debug)] [INFO] [stdout] 165 | | #[pyo3(subclass)] [INFO] [stdout] 166 | | PyPrefixExpression(PrefixExpression) as "PrefixExpression" { [INFO] [stdout] ... | [INFO] [stdout] 170 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/circuit.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | impl_pickle_for_instruction!(PyCircuitDefinition); [INFO] [stdout] | ------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / py_wrap_data_struct! { [INFO] [stdout] 21 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 22 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 23 | | PyArithmetic(Arithmetic) as "Arithmetic" { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | impl_to_quil!(PyArithmetic); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_copy_for_instruction!(PyArithmetic); [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | impl_pickle_for_instruction!(PyArithmetic); [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/calibration.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / py_wrap_data_struct! { [INFO] [stdout] 23 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 24 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 25 | | PyCalibration(Calibration) as "Calibration" { [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / py_wrap_union_enum! { [INFO] [stdout] 54 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 55 | | PyArithmeticOperand(ArithmeticOperand) as "ArithmeticOperand" { [INFO] [stdout] 56 | | literal_integer: LiteralInteger => Py, [INFO] [stdout] ... | [INFO] [stdout] 60 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/calibration.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_to_quil!(PyCalibration); [INFO] [stdout] | ---------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / py_wrap_union_enum! { [INFO] [stdout] 54 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 55 | | PyArithmeticOperand(ArithmeticOperand) as "ArithmeticOperand" { [INFO] [stdout] 56 | | literal_integer: LiteralInteger => Py, [INFO] [stdout] ... | [INFO] [stdout] 60 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/calibration.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_copy_for_instruction!(PyCalibration); [INFO] [stdout] | ----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / py_wrap_union_enum! { [INFO] [stdout] 54 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 55 | | PyArithmeticOperand(ArithmeticOperand) as "ArithmeticOperand" { [INFO] [stdout] 56 | | literal_integer: LiteralInteger => Py, [INFO] [stdout] ... | [INFO] [stdout] 60 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/calibration.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | impl_pickle_for_instruction!(PyCalibration); [INFO] [stdout] | ------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / py_wrap_union_enum! { [INFO] [stdout] 54 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 55 | | PyArithmeticOperand(ArithmeticOperand) as "ArithmeticOperand" { [INFO] [stdout] 56 | | literal_integer: LiteralInteger => Py, [INFO] [stdout] ... | [INFO] [stdout] 60 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/calibration.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | impl_to_quil!(PyArithmeticOperand); [INFO] [stdout] | ---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/calibration.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | / py_wrap_data_struct! { [INFO] [stdout] 94 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 95 | | #[pyo3(subclass)] [INFO] [stdout] 96 | | PyCalibrationIdentifier(CalibrationIdentifier) as "CalibrationIdentifier" { [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/calibration.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | impl_to_quil!(PyCalibrationIdentifier); [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | impl_to_quil!(PyArithmeticOperator); [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/calibration.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_copy_for_instruction!(PyCalibrationIdentifier); [INFO] [stdout] | --------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/calibration.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | / py_wrap_data_struct! { [INFO] [stdout] 132 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 133 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 134 | | PyMeasureCalibrationDefinition(MeasureCalibrationDefinition) as "MeasureCalibrationDefinition" { [INFO] [stdout] ... | [INFO] [stdout] 138 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | / py_wrap_union_enum! { [INFO] [stdout] 81 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 82 | | #[pyo3(subclass)] [INFO] [stdout] 83 | | PyBinaryOperand(BinaryOperand) as "BinaryOperand" { [INFO] [stdout] ... | [INFO] [stdout] 87 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | / py_wrap_union_enum! { [INFO] [stdout] 81 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 82 | | #[pyo3(subclass)] [INFO] [stdout] 83 | | PyBinaryOperand(BinaryOperand) as "BinaryOperand" { [INFO] [stdout] ... | [INFO] [stdout] 87 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/calibration.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 140 | impl_to_quil!(PyMeasureCalibrationDefinition); [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | / py_wrap_union_enum! { [INFO] [stdout] 81 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 82 | | #[pyo3(subclass)] [INFO] [stdout] 83 | | PyBinaryOperand(BinaryOperand) as "BinaryOperand" { [INFO] [stdout] ... | [INFO] [stdout] 87 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/calibration.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | impl_copy_for_instruction!(PyMeasureCalibrationDefinition); [INFO] [stdout] | ---------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | impl_to_quil!(PyBinaryOperand); [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/calibration.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | impl_pickle_for_instruction!(PyMeasureCalibrationDefinition); [INFO] [stdout] | ------------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/calibration.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | impl_to_quil!(PyBinaryOperator); [INFO] [stdout] | ------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/calibration.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | / py_wrap_data_struct! { [INFO] [stdout] 172 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 173 | | #[pyo3(subclass)] [INFO] [stdout] 174 | | PyMeasureCalibrationIdentifier(MeasureCalibrationIdentifier) as "MeasureCalibrationIdentifier" { [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/calibration.rs:180:1 [INFO] [stdout] | [INFO] [stdout] 180 | impl_to_quil!(PyMeasureCalibrationIdentifier); [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/calibration.rs:181:1 [INFO] [stdout] | [INFO] [stdout] 181 | impl_copy_for_instruction!(PyMeasureCalibrationIdentifier); [INFO] [stdout] | ---------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / py_wrap_data_struct! { [INFO] [stdout] 107 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 108 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 109 | | PyBinaryLogic(BinaryLogic) as "BinaryLogic" { [INFO] [stdout] ... | [INFO] [stdout] 114 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | impl_to_quil!(PyBinaryLogic); [INFO] [stdout] | ---------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | impl_copy_for_instruction!(PyBinaryLogic); [INFO] [stdout] | ----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/circuit.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / py_wrap_data_struct! { [INFO] [stdout] 13 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 14 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 15 | | PyCircuitDefinition(CircuitDefinition) as "CircuitDefinition" { [INFO] [stdout] ... | [INFO] [stdout] 21 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | impl_pickle_for_instruction!(PyBinaryLogic); [INFO] [stdout] | ------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/circuit.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | impl_to_quil!(PyCircuitDefinition); [INFO] [stdout] | ---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/circuit.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | impl_copy_for_instruction!(PyCircuitDefinition); [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/circuit.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | impl_pickle_for_instruction!(PyCircuitDefinition); [INFO] [stdout] | ------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | / py_wrap_data_struct! { [INFO] [stdout] 139 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 140 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 141 | | PyConvert(Convert) as "Convert" { [INFO] [stdout] ... | [INFO] [stdout] 145 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | impl_to_quil!(PyConvert); [INFO] [stdout] | ------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | impl_copy_for_instruction!(PyConvert); [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / py_wrap_data_struct! { [INFO] [stdout] 21 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 22 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 23 | | PyArithmetic(Arithmetic) as "Arithmetic" { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | impl_pickle_for_instruction!(PyConvert); [INFO] [stdout] | --------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | impl_to_quil!(PyArithmetic); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_copy_for_instruction!(PyArithmetic); [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:168:1 [INFO] [stdout] | [INFO] [stdout] 168 | / py_wrap_data_struct! { [INFO] [stdout] 169 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 170 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 171 | | PyMove(Move) as "Move" { [INFO] [stdout] ... | [INFO] [stdout] 175 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | impl_pickle_for_instruction!(PyArithmetic); [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | impl_to_quil!(PyMove); [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:178:1 [INFO] [stdout] | [INFO] [stdout] 178 | impl_copy_for_instruction!(PyMove); [INFO] [stdout] | ---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / py_wrap_union_enum! { [INFO] [stdout] 54 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 55 | | PyArithmeticOperand(ArithmeticOperand) as "ArithmeticOperand" { [INFO] [stdout] 56 | | literal_integer: LiteralInteger => Py, [INFO] [stdout] ... | [INFO] [stdout] 60 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:181:1 [INFO] [stdout] | [INFO] [stdout] 181 | impl_pickle_for_instruction!(PyMove); [INFO] [stdout] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / py_wrap_union_enum! { [INFO] [stdout] 54 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 55 | | PyArithmeticOperand(ArithmeticOperand) as "ArithmeticOperand" { [INFO] [stdout] 56 | | literal_integer: LiteralInteger => Py, [INFO] [stdout] ... | [INFO] [stdout] 60 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / py_wrap_union_enum! { [INFO] [stdout] 54 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 55 | | PyArithmeticOperand(ArithmeticOperand) as "ArithmeticOperand" { [INFO] [stdout] 56 | | literal_integer: LiteralInteger => Py, [INFO] [stdout] ... | [INFO] [stdout] 60 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / py_wrap_union_enum! { [INFO] [stdout] 54 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 55 | | PyArithmeticOperand(ArithmeticOperand) as "ArithmeticOperand" { [INFO] [stdout] 56 | | literal_integer: LiteralInteger => Py, [INFO] [stdout] ... | [INFO] [stdout] 60 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:198:1 [INFO] [stdout] | [INFO] [stdout] 198 | / py_wrap_data_struct! { [INFO] [stdout] 199 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 200 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 201 | | PyExchange(Exchange) as "Exchange" { [INFO] [stdout] ... | [INFO] [stdout] 205 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 207 | impl_to_quil!(PyExchange); [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | impl_to_quil!(PyArithmeticOperand); [INFO] [stdout] | ---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | impl_copy_for_instruction!(PyExchange); [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | impl_pickle_for_instruction!(PyExchange); [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | impl_to_quil!(PyArithmeticOperator); [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:228:1 [INFO] [stdout] | [INFO] [stdout] 228 | / py_wrap_union_enum! { [INFO] [stdout] 229 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 230 | | #[pyo3(subclass)] [INFO] [stdout] 231 | | PyComparisonOperand(ComparisonOperand) as "ComparisonOperand" { [INFO] [stdout] ... | [INFO] [stdout] 236 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:228:1 [INFO] [stdout] | [INFO] [stdout] 228 | / py_wrap_union_enum! { [INFO] [stdout] 229 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 230 | | #[pyo3(subclass)] [INFO] [stdout] 231 | | PyComparisonOperand(ComparisonOperand) as "ComparisonOperand" { [INFO] [stdout] ... | [INFO] [stdout] 236 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:228:1 [INFO] [stdout] | [INFO] [stdout] 228 | / py_wrap_union_enum! { [INFO] [stdout] 229 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 230 | | #[pyo3(subclass)] [INFO] [stdout] 231 | | PyComparisonOperand(ComparisonOperand) as "ComparisonOperand" { [INFO] [stdout] ... | [INFO] [stdout] 236 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:228:1 [INFO] [stdout] | [INFO] [stdout] 228 | / py_wrap_union_enum! { [INFO] [stdout] 229 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 230 | | #[pyo3(subclass)] [INFO] [stdout] 231 | | PyComparisonOperand(ComparisonOperand) as "ComparisonOperand" { [INFO] [stdout] ... | [INFO] [stdout] 236 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | / py_wrap_union_enum! { [INFO] [stdout] 81 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 82 | | #[pyo3(subclass)] [INFO] [stdout] 83 | | PyBinaryOperand(BinaryOperand) as "BinaryOperand" { [INFO] [stdout] ... | [INFO] [stdout] 87 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | / py_wrap_union_enum! { [INFO] [stdout] 81 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 82 | | #[pyo3(subclass)] [INFO] [stdout] 83 | | PyBinaryOperand(BinaryOperand) as "BinaryOperand" { [INFO] [stdout] ... | [INFO] [stdout] 87 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:238:1 [INFO] [stdout] | [INFO] [stdout] 238 | impl_to_quil!(PyComparisonOperand); [INFO] [stdout] | ---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | / py_wrap_union_enum! { [INFO] [stdout] 81 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 82 | | #[pyo3(subclass)] [INFO] [stdout] 83 | | PyBinaryOperand(BinaryOperand) as "BinaryOperand" { [INFO] [stdout] ... | [INFO] [stdout] 87 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | impl_to_quil!(PyBinaryOperand); [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252 | / py_wrap_data_struct! { [INFO] [stdout] 253 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 254 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 255 | | PyComparison(Comparison) as "Comparison" { [INFO] [stdout] ... | [INFO] [stdout] 261 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | impl_to_quil!(PyBinaryOperator); [INFO] [stdout] | ------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:263:1 [INFO] [stdout] | [INFO] [stdout] 263 | impl_to_quil!(PyComparison); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:264:1 [INFO] [stdout] | [INFO] [stdout] 264 | impl_copy_for_instruction!(PyComparison); [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / py_wrap_data_struct! { [INFO] [stdout] 107 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 108 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 109 | | PyBinaryLogic(BinaryLogic) as "BinaryLogic" { [INFO] [stdout] ... | [INFO] [stdout] 114 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:267:1 [INFO] [stdout] | [INFO] [stdout] 267 | impl_pickle_for_instruction!(PyComparison); [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | impl_to_quil!(PyBinaryLogic); [INFO] [stdout] | ---------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | impl_copy_for_instruction!(PyBinaryLogic); [INFO] [stdout] | ----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | impl_pickle_for_instruction!(PyBinaryLogic); [INFO] [stdout] | ------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | impl_to_quil!(PyUnaryOperator); [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:299:1 [INFO] [stdout] | [INFO] [stdout] 299 | / py_wrap_data_struct! { [INFO] [stdout] 300 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 301 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 302 | | PyUnaryLogic(UnaryLogic) as "UnaryLogic" { [INFO] [stdout] ... | [INFO] [stdout] 306 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | / py_wrap_data_struct! { [INFO] [stdout] 139 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 140 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 141 | | PyConvert(Convert) as "Convert" { [INFO] [stdout] ... | [INFO] [stdout] 145 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:308:1 [INFO] [stdout] | [INFO] [stdout] 308 | impl_to_quil!(PyUnaryLogic); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | impl_to_quil!(PyConvert); [INFO] [stdout] | ------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:309:1 [INFO] [stdout] | [INFO] [stdout] 309 | impl_copy_for_instruction!(PyUnaryLogic); [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | impl_copy_for_instruction!(PyConvert); [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:312:1 [INFO] [stdout] | [INFO] [stdout] 312 | impl_pickle_for_instruction!(PyUnaryLogic); [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | impl_pickle_for_instruction!(PyConvert); [INFO] [stdout] | --------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/control_flow.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / py_wrap_data_struct! { [INFO] [stdout] 43 | | #[derive(Debug, Hash, PartialEq, Eq)] [INFO] [stdout] 44 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 45 | | PyLabel(Label) as "Label" { [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:168:1 [INFO] [stdout] | [INFO] [stdout] 168 | / py_wrap_data_struct! { [INFO] [stdout] 169 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 170 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 171 | | PyMove(Move) as "Move" { [INFO] [stdout] ... | [INFO] [stdout] 175 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/control_flow.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | impl_to_quil!(PyLabel); [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/control_flow.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] ... [INFO] [stdout] 52 | impl_copy_for_target_containing_instructions!(PyLabel); [INFO] [stdout] | ------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_target_containing_instructions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | impl_to_quil!(PyMove); [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:178:1 [INFO] [stdout] | [INFO] [stdout] 178 | impl_copy_for_instruction!(PyMove); [INFO] [stdout] | ---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/control_flow.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | impl_pickle_for_instruction!(PyLabel); [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:181:1 [INFO] [stdout] | [INFO] [stdout] 181 | impl_pickle_for_instruction!(PyMove); [INFO] [stdout] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/control_flow.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / py_wrap_union_enum! { [INFO] [stdout] 65 | | #[derive(Debug, Hash, PartialEq, Eq)] [INFO] [stdout] 66 | | PyTarget(Target) as "Target" { [INFO] [stdout] 67 | | fixed: Fixed => Py, [INFO] [stdout] ... | [INFO] [stdout] 70 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/control_flow.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / py_wrap_union_enum! { [INFO] [stdout] 65 | | #[derive(Debug, Hash, PartialEq, Eq)] [INFO] [stdout] 66 | | PyTarget(Target) as "Target" { [INFO] [stdout] 67 | | fixed: Fixed => Py, [INFO] [stdout] ... | [INFO] [stdout] 70 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/control_flow.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / py_wrap_union_enum! { [INFO] [stdout] 65 | | #[derive(Debug, Hash, PartialEq, Eq)] [INFO] [stdout] 66 | | PyTarget(Target) as "Target" { [INFO] [stdout] 67 | | fixed: Fixed => Py, [INFO] [stdout] ... | [INFO] [stdout] 70 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:198:1 [INFO] [stdout] | [INFO] [stdout] 198 | / py_wrap_data_struct! { [INFO] [stdout] 199 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 200 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 201 | | PyExchange(Exchange) as "Exchange" { [INFO] [stdout] ... | [INFO] [stdout] 205 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/control_flow.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | impl_to_quil!(PyTarget); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 207 | impl_to_quil!(PyExchange); [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | impl_copy_for_instruction!(PyExchange); [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | impl_pickle_for_instruction!(PyExchange); [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/control_flow.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/control_flow.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / py_wrap_data_struct! { [INFO] [stdout] 99 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 100 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 101 | | PyJump(Jump) as "Jump" { [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:228:1 [INFO] [stdout] | [INFO] [stdout] 228 | / py_wrap_union_enum! { [INFO] [stdout] 229 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 230 | | #[pyo3(subclass)] [INFO] [stdout] 231 | | PyComparisonOperand(ComparisonOperand) as "ComparisonOperand" { [INFO] [stdout] ... | [INFO] [stdout] 236 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:228:1 [INFO] [stdout] | [INFO] [stdout] 228 | / py_wrap_union_enum! { [INFO] [stdout] 229 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 230 | | #[pyo3(subclass)] [INFO] [stdout] 231 | | PyComparisonOperand(ComparisonOperand) as "ComparisonOperand" { [INFO] [stdout] ... | [INFO] [stdout] 236 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/control_flow.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | impl_to_quil!(PyJump); [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/control_flow.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] ... [INFO] [stdout] 107 | impl_copy_for_target_containing_instructions!(PyJump); [INFO] [stdout] | ----------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_target_containing_instructions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:228:1 [INFO] [stdout] | [INFO] [stdout] 228 | / py_wrap_union_enum! { [INFO] [stdout] 229 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 230 | | #[pyo3(subclass)] [INFO] [stdout] 231 | | PyComparisonOperand(ComparisonOperand) as "ComparisonOperand" { [INFO] [stdout] ... | [INFO] [stdout] 236 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/control_flow.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | impl_pickle_for_instruction!(PyJump); [INFO] [stdout] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:228:1 [INFO] [stdout] | [INFO] [stdout] 228 | / py_wrap_union_enum! { [INFO] [stdout] 229 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 230 | | #[pyo3(subclass)] [INFO] [stdout] 231 | | PyComparisonOperand(ComparisonOperand) as "ComparisonOperand" { [INFO] [stdout] ... | [INFO] [stdout] 236 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:238:1 [INFO] [stdout] | [INFO] [stdout] 238 | impl_to_quil!(PyComparisonOperand); [INFO] [stdout] | ---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/control_flow.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | / py_wrap_data_struct! { [INFO] [stdout] 120 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 121 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 122 | | PyJumpWhen(JumpWhen) as "JumpWhen" { [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/control_flow.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | impl_to_quil!(PyJumpWhen); [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/control_flow.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] ... [INFO] [stdout] 129 | impl_copy_for_target_containing_instructions!(PyJumpWhen); [INFO] [stdout] | --------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_target_containing_instructions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/control_flow.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | impl_pickle_for_instruction!(PyJumpWhen); [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252 | / py_wrap_data_struct! { [INFO] [stdout] 253 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 254 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 255 | | PyComparison(Comparison) as "Comparison" { [INFO] [stdout] ... | [INFO] [stdout] 261 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:263:1 [INFO] [stdout] | [INFO] [stdout] 263 | impl_to_quil!(PyComparison); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/control_flow.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / py_wrap_data_struct! { [INFO] [stdout] 142 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 143 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 144 | | PyJumpUnless(JumpUnless) as "JumpUnless" { [INFO] [stdout] ... | [INFO] [stdout] 148 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:264:1 [INFO] [stdout] | [INFO] [stdout] 264 | impl_copy_for_instruction!(PyComparison); [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/control_flow.rs:150:1 [INFO] [stdout] | [INFO] [stdout] 150 | impl_to_quil!(PyJumpUnless); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/control_flow.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] ... [INFO] [stdout] 151 | impl_copy_for_target_containing_instructions!(PyJumpUnless); [INFO] [stdout] | ----------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_target_containing_instructions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:267:1 [INFO] [stdout] | [INFO] [stdout] 267 | impl_pickle_for_instruction!(PyComparison); [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/control_flow.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | impl_pickle_for_instruction!(PyJumpUnless); [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | impl_to_quil!(PyUnaryOperator); [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/classical.rs:299:1 [INFO] [stdout] | [INFO] [stdout] 299 | / py_wrap_data_struct! { [INFO] [stdout] 300 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 301 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 302 | | PyUnaryLogic(UnaryLogic) as "UnaryLogic" { [INFO] [stdout] ... | [INFO] [stdout] 306 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/declaration.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | impl_to_quil!(PyScalarType); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:308:1 [INFO] [stdout] | [INFO] [stdout] 308 | impl_to_quil!(PyUnaryLogic); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:309:1 [INFO] [stdout] | [INFO] [stdout] 309 | impl_copy_for_instruction!(PyUnaryLogic); [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/declaration.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / py_wrap_data_struct! { [INFO] [stdout] 57 | | #[derive(Debug, Hash, PartialEq, Eq)] [INFO] [stdout] 58 | | #[pyo3(subclass)] [INFO] [stdout] 59 | | PyVector(Vector) as "Vector" { [INFO] [stdout] ... | [INFO] [stdout] 63 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/declaration.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | impl_to_quil!(PyVector); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/classical.rs:312:1 [INFO] [stdout] | [INFO] [stdout] 312 | impl_pickle_for_instruction!(PyUnaryLogic); [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/control_flow.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / py_wrap_data_struct! { [INFO] [stdout] 43 | | #[derive(Debug, Hash, PartialEq, Eq)] [INFO] [stdout] 44 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 45 | | PyLabel(Label) as "Label" { [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/declaration.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | / py_wrap_data_struct! { [INFO] [stdout] 81 | | #[derive(Debug, PartialEq, Eq, Hash)] [INFO] [stdout] 82 | | #[pyo3(subclass)] [INFO] [stdout] 83 | | PyOffset(Offset) as "Offset" { [INFO] [stdout] ... | [INFO] [stdout] 87 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/declaration.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | impl_to_quil!(PyOffset); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/control_flow.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | impl_to_quil!(PyLabel); [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/control_flow.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] ... [INFO] [stdout] 52 | impl_copy_for_target_containing_instructions!(PyLabel); [INFO] [stdout] | ------------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_target_containing_instructions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/control_flow.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | impl_pickle_for_instruction!(PyLabel); [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/declaration.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | / py_wrap_data_struct! { [INFO] [stdout] 105 | | #[derive(Debug, PartialEq, Eq, Hash)] [INFO] [stdout] 106 | | #[pyo3(subclass)] [INFO] [stdout] 107 | | PySharing(Sharing) as "Sharing" { [INFO] [stdout] ... | [INFO] [stdout] 111 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/control_flow.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / py_wrap_union_enum! { [INFO] [stdout] 65 | | #[derive(Debug, Hash, PartialEq, Eq)] [INFO] [stdout] 66 | | PyTarget(Target) as "Target" { [INFO] [stdout] 67 | | fixed: Fixed => Py, [INFO] [stdout] ... | [INFO] [stdout] 70 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/control_flow.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / py_wrap_union_enum! { [INFO] [stdout] 65 | | #[derive(Debug, Hash, PartialEq, Eq)] [INFO] [stdout] 66 | | PyTarget(Target) as "Target" { [INFO] [stdout] 67 | | fixed: Fixed => Py, [INFO] [stdout] ... | [INFO] [stdout] 70 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/control_flow.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / py_wrap_union_enum! { [INFO] [stdout] 65 | | #[derive(Debug, Hash, PartialEq, Eq)] [INFO] [stdout] 66 | | PyTarget(Target) as "Target" { [INFO] [stdout] 67 | | fixed: Fixed => Py, [INFO] [stdout] ... | [INFO] [stdout] 70 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/declaration.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 127 | / py_wrap_data_struct! { [INFO] [stdout] 128 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 129 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 130 | | PyDeclaration(Declaration) as "Declaration" { [INFO] [stdout] ... | [INFO] [stdout] 135 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/control_flow.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | impl_to_quil!(PyTarget); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/declaration.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | impl_to_quil!(PyDeclaration); [INFO] [stdout] | ---------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/declaration.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | impl_copy_for_instruction!(PyDeclaration); [INFO] [stdout] | ----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/declaration.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | impl_pickle_for_instruction!(PyDeclaration); [INFO] [stdout] | ------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/control_flow.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/control_flow.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / py_wrap_data_struct! { [INFO] [stdout] 99 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 100 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 101 | | PyJump(Jump) as "Jump" { [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/control_flow.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | impl_to_quil!(PyJump); [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/declaration.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / py_wrap_data_struct! { [INFO] [stdout] 161 | | #[derive(Debug, Hash, PartialEq)] [INFO] [stdout] 162 | | #[pyo3(subclass)] [INFO] [stdout] 163 | | PyMemoryReference(MemoryReference) as "MemoryReference" { [INFO] [stdout] ... | [INFO] [stdout] 167 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/control_flow.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] ... [INFO] [stdout] 107 | impl_copy_for_target_containing_instructions!(PyJump); [INFO] [stdout] | ----------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_target_containing_instructions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/declaration.rs:170:1 [INFO] [stdout] | [INFO] [stdout] 170 | impl_to_quil!(PyMemoryReference); [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/declaration.rs:172:1 [INFO] [stdout] | [INFO] [stdout] 172 | impl_parse!(PyMemoryReference); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `impl_parse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/control_flow.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | impl_pickle_for_instruction!(PyJump); [INFO] [stdout] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/control_flow.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | / py_wrap_data_struct! { [INFO] [stdout] 120 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 121 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 122 | | PyJumpWhen(JumpWhen) as "JumpWhen" { [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/declaration.rs:183:1 [INFO] [stdout] | [INFO] [stdout] 183 | / py_wrap_data_struct! { [INFO] [stdout] 184 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 185 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 186 | | PyLoad(Load) as "Load" { [INFO] [stdout] ... | [INFO] [stdout] 191 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/control_flow.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | impl_to_quil!(PyJumpWhen); [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/declaration.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | impl_to_quil!(PyLoad); [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/control_flow.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] ... [INFO] [stdout] 129 | impl_copy_for_target_containing_instructions!(PyJumpWhen); [INFO] [stdout] | --------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_target_containing_instructions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/declaration.rs:194:1 [INFO] [stdout] | [INFO] [stdout] 194 | impl_copy_for_instruction!(PyLoad); [INFO] [stdout] | ---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/control_flow.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | impl_pickle_for_instruction!(PyJumpWhen); [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/declaration.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | impl_pickle_for_instruction!(PyLoad); [INFO] [stdout] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/control_flow.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / py_wrap_data_struct! { [INFO] [stdout] 142 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 143 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 144 | | PyJumpUnless(JumpUnless) as "JumpUnless" { [INFO] [stdout] ... | [INFO] [stdout] 148 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/declaration.rs:216:1 [INFO] [stdout] | [INFO] [stdout] 216 | / py_wrap_data_struct! { [INFO] [stdout] 217 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 218 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 219 | | PyStore(Store) as "Store" { [INFO] [stdout] ... | [INFO] [stdout] 224 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/control_flow.rs:150:1 [INFO] [stdout] | [INFO] [stdout] 150 | impl_to_quil!(PyJumpUnless); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/control_flow.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] ... [INFO] [stdout] 151 | impl_copy_for_target_containing_instructions!(PyJumpUnless); [INFO] [stdout] | ----------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_target_containing_instructions` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/declaration.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | impl_to_quil!(PyStore); [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/declaration.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 | impl_copy_for_instruction!(PyStore); [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/control_flow.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | impl_pickle_for_instruction!(PyJumpUnless); [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/declaration.rs:230:1 [INFO] [stdout] | [INFO] [stdout] 230 | impl_pickle_for_instruction!(PyStore); [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/declaration.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | impl_to_quil!(PyScalarType); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/extern_call.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/declaration.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / py_wrap_data_struct! { [INFO] [stdout] 57 | | #[derive(Debug, Hash, PartialEq, Eq)] [INFO] [stdout] 58 | | #[pyo3(subclass)] [INFO] [stdout] 59 | | PyVector(Vector) as "Vector" { [INFO] [stdout] ... | [INFO] [stdout] 63 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/extern_call.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | impl_to_quil!(PyCall); [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/extern_call.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | impl_copy_for_instruction!(PyCall); [INFO] [stdout] | ---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/declaration.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | impl_to_quil!(PyVector); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/extern_call.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | impl_pickle_for_instruction!(PyCall); [INFO] [stdout] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/extern_call.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / py_wrap_union_enum! { [INFO] [stdout] 74 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 75 | | PyCallArgument(UnresolvedCallArgument) as "CallArgument" { [INFO] [stdout] 76 | | identifier: Identifier => Py, [INFO] [stdout] ... | [INFO] [stdout] 80 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/declaration.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | / py_wrap_data_struct! { [INFO] [stdout] 81 | | #[derive(Debug, PartialEq, Eq, Hash)] [INFO] [stdout] 82 | | #[pyo3(subclass)] [INFO] [stdout] 83 | | PyOffset(Offset) as "Offset" { [INFO] [stdout] ... | [INFO] [stdout] 87 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/extern_call.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / py_wrap_union_enum! { [INFO] [stdout] 74 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 75 | | PyCallArgument(UnresolvedCallArgument) as "CallArgument" { [INFO] [stdout] 76 | | identifier: Identifier => Py, [INFO] [stdout] ... | [INFO] [stdout] 80 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/extern_call.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / py_wrap_union_enum! { [INFO] [stdout] 74 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 75 | | PyCallArgument(UnresolvedCallArgument) as "CallArgument" { [INFO] [stdout] 76 | | identifier: Identifier => Py, [INFO] [stdout] ... | [INFO] [stdout] 80 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/declaration.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | impl_to_quil!(PyOffset); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/extern_call.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / py_wrap_union_enum! { [INFO] [stdout] 74 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 75 | | PyCallArgument(UnresolvedCallArgument) as "CallArgument" { [INFO] [stdout] 76 | | identifier: Identifier => Py, [INFO] [stdout] ... | [INFO] [stdout] 80 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/extern_call.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | impl_to_quil!(PyCallArgument); [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/declaration.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | / py_wrap_data_struct! { [INFO] [stdout] 105 | | #[derive(Debug, PartialEq, Eq, Hash)] [INFO] [stdout] 106 | | #[pyo3(subclass)] [INFO] [stdout] 107 | | PySharing(Sharing) as "Sharing" { [INFO] [stdout] ... | [INFO] [stdout] 111 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/extern_call.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / py_wrap_union_enum! { [INFO] [stdout] 87 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 88 | | PyExternParameterType(ExternParameterType) as "ExternParameterType" { [INFO] [stdout] 89 | | scalar: Scalar => PyScalarType, [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/extern_call.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / py_wrap_union_enum! { [INFO] [stdout] 87 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 88 | | PyExternParameterType(ExternParameterType) as "ExternParameterType" { [INFO] [stdout] 89 | | scalar: Scalar => PyScalarType, [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/extern_call.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / py_wrap_union_enum! { [INFO] [stdout] 87 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 88 | | PyExternParameterType(ExternParameterType) as "ExternParameterType" { [INFO] [stdout] 89 | | scalar: Scalar => PyScalarType, [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/declaration.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 127 | / py_wrap_data_struct! { [INFO] [stdout] 128 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 129 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 130 | | PyDeclaration(Declaration) as "Declaration" { [INFO] [stdout] ... | [INFO] [stdout] 135 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/extern_call.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / py_wrap_union_enum! { [INFO] [stdout] 87 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 88 | | PyExternParameterType(ExternParameterType) as "ExternParameterType" { [INFO] [stdout] 89 | | scalar: Scalar => PyScalarType, [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/declaration.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | impl_to_quil!(PyDeclaration); [INFO] [stdout] | ---------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/declaration.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | impl_copy_for_instruction!(PyDeclaration); [INFO] [stdout] | ----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/extern_call.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | impl_to_quil!(PyExternParameterType); [INFO] [stdout] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/declaration.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | impl_pickle_for_instruction!(PyDeclaration); [INFO] [stdout] | ------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/extern_call.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | impl_to_quil!(PyExternParameter); [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/extern_call.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | impl_copy_for_instruction!(PyExternParameter); [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/declaration.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / py_wrap_data_struct! { [INFO] [stdout] 161 | | #[derive(Debug, Hash, PartialEq)] [INFO] [stdout] 162 | | #[pyo3(subclass)] [INFO] [stdout] 163 | | PyMemoryReference(MemoryReference) as "MemoryReference" { [INFO] [stdout] ... | [INFO] [stdout] 167 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/extern_call.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | impl_pickle_for_instruction!(PyExternParameter); [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/extern_call.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/declaration.rs:170:1 [INFO] [stdout] | [INFO] [stdout] 170 | impl_to_quil!(PyMemoryReference); [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/declaration.rs:172:1 [INFO] [stdout] | [INFO] [stdout] 172 | impl_parse!(PyMemoryReference); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `impl_parse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/extern_call.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | impl_to_quil!(PyExternSignature); [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/extern_call.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | impl_copy_for_instruction!(PyExternSignature); [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/declaration.rs:183:1 [INFO] [stdout] | [INFO] [stdout] 183 | / py_wrap_data_struct! { [INFO] [stdout] 184 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 185 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 186 | | PyLoad(Load) as "Load" { [INFO] [stdout] ... | [INFO] [stdout] 191 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/extern_call.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | impl_pickle_for_instruction!(PyExternSignature); [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/declaration.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | impl_to_quil!(PyLoad); [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/extern_call.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/declaration.rs:194:1 [INFO] [stdout] | [INFO] [stdout] 194 | impl_copy_for_instruction!(PyLoad); [INFO] [stdout] | ---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/declaration.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | impl_pickle_for_instruction!(PyLoad); [INFO] [stdout] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/frame.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / py_wrap_union_enum! { [INFO] [stdout] 31 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 32 | | #[pyo3(module = "quil.instructions")] [INFO] [stdout] 33 | | PyAttributeValue(AttributeValue) as "AttributeValue" { [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/frame.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / py_wrap_union_enum! { [INFO] [stdout] 31 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 32 | | #[pyo3(module = "quil.instructions")] [INFO] [stdout] 33 | | PyAttributeValue(AttributeValue) as "AttributeValue" { [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/frame.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / py_wrap_union_enum! { [INFO] [stdout] 31 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 32 | | #[pyo3(module = "quil.instructions")] [INFO] [stdout] 33 | | PyAttributeValue(AttributeValue) as "AttributeValue" { [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/declaration.rs:216:1 [INFO] [stdout] | [INFO] [stdout] 216 | / py_wrap_data_struct! { [INFO] [stdout] 217 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 218 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 219 | | PyStore(Store) as "Store" { [INFO] [stdout] ... | [INFO] [stdout] 224 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | impl_to_quil!(PyAttributeValue); [INFO] [stdout] | ------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/declaration.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | impl_to_quil!(PyStore); [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/declaration.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 | impl_copy_for_instruction!(PyStore); [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/frame.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / py_wrap_data_struct! { [INFO] [stdout] 46 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 47 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 48 | | PyFrameDefinition(FrameDefinition) as "FrameDefinition" { [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/declaration.rs:230:1 [INFO] [stdout] | [INFO] [stdout] 230 | impl_pickle_for_instruction!(PyStore); [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | impl_to_quil!(PyFrameDefinition); [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | impl_copy_for_instruction!(PyFrameDefinition); [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | impl_pickle_for_instruction!(PyFrameDefinition); [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/extern_call.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/frame.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | / py_wrap_data_struct! { [INFO] [stdout] 75 | | #[derive(Debug, PartialEq, Eq, Hash)] [INFO] [stdout] 76 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 77 | | PyFrameIdentifier(FrameIdentifier) as "FrameIdentifier" { [INFO] [stdout] ... | [INFO] [stdout] 81 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/extern_call.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | impl_to_quil!(PyCall); [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/extern_call.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | impl_copy_for_instruction!(PyCall); [INFO] [stdout] | ---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | impl_to_quil!(PyFrameIdentifier); [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/extern_call.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | impl_pickle_for_instruction!(PyCall); [INFO] [stdout] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/extern_call.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / py_wrap_union_enum! { [INFO] [stdout] 74 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 75 | | PyCallArgument(UnresolvedCallArgument) as "CallArgument" { [INFO] [stdout] 76 | | identifier: Identifier => Py, [INFO] [stdout] ... | [INFO] [stdout] 80 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/frame.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / py_wrap_data_struct! { [INFO] [stdout] 99 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 100 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 101 | | PyCapture(Capture) as "Capture" { [INFO] [stdout] ... | [INFO] [stdout] 107 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/extern_call.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / py_wrap_union_enum! { [INFO] [stdout] 74 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 75 | | PyCallArgument(UnresolvedCallArgument) as "CallArgument" { [INFO] [stdout] 76 | | identifier: Identifier => Py, [INFO] [stdout] ... | [INFO] [stdout] 80 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/extern_call.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / py_wrap_union_enum! { [INFO] [stdout] 74 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 75 | | PyCallArgument(UnresolvedCallArgument) as "CallArgument" { [INFO] [stdout] 76 | | identifier: Identifier => Py, [INFO] [stdout] ... | [INFO] [stdout] 80 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | impl_to_quil!(PyCapture); [INFO] [stdout] | ------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/extern_call.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / py_wrap_union_enum! { [INFO] [stdout] 74 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 75 | | PyCallArgument(UnresolvedCallArgument) as "CallArgument" { [INFO] [stdout] 76 | | identifier: Identifier => Py, [INFO] [stdout] ... | [INFO] [stdout] 80 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | impl_copy_for_instruction!(PyCapture); [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | impl_pickle_for_instruction!(PyCapture); [INFO] [stdout] | --------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/extern_call.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | impl_to_quil!(PyCallArgument); [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/extern_call.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / py_wrap_union_enum! { [INFO] [stdout] 87 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 88 | | PyExternParameterType(ExternParameterType) as "ExternParameterType" { [INFO] [stdout] 89 | | scalar: Scalar => PyScalarType, [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/frame.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | / py_wrap_data_struct! { [INFO] [stdout] 134 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 135 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 136 | | PyPulse(Pulse) as "Pulse" { [INFO] [stdout] ... | [INFO] [stdout] 141 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/extern_call.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / py_wrap_union_enum! { [INFO] [stdout] 87 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 88 | | PyExternParameterType(ExternParameterType) as "ExternParameterType" { [INFO] [stdout] 89 | | scalar: Scalar => PyScalarType, [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/extern_call.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / py_wrap_union_enum! { [INFO] [stdout] 87 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 88 | | PyExternParameterType(ExternParameterType) as "ExternParameterType" { [INFO] [stdout] 89 | | scalar: Scalar => PyScalarType, [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | impl_to_quil!(PyPulse); [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:144:1 [INFO] [stdout] | [INFO] [stdout] 144 | impl_copy_for_instruction!(PyPulse); [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/extern_call.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / py_wrap_union_enum! { [INFO] [stdout] 87 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 88 | | PyExternParameterType(ExternParameterType) as "ExternParameterType" { [INFO] [stdout] 89 | | scalar: Scalar => PyScalarType, [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:146:1 [INFO] [stdout] | [INFO] [stdout] 146 | impl_pickle_for_instruction!(PyPulse); [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/extern_call.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | impl_to_quil!(PyExternParameterType); [INFO] [stdout] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/frame.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | / py_wrap_data_struct! { [INFO] [stdout] 166 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 167 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 168 | | PyRawCapture(RawCapture) as "RawCapture" { [INFO] [stdout] ... | [INFO] [stdout] 174 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/extern_call.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | impl_to_quil!(PyExternParameter); [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/extern_call.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | impl_copy_for_instruction!(PyExternParameter); [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | impl_to_quil!(PyRawCapture); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:178:1 [INFO] [stdout] | [INFO] [stdout] 178 | impl_copy_for_instruction!(PyRawCapture); [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/extern_call.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | impl_pickle_for_instruction!(PyExternParameter); [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:181:1 [INFO] [stdout] | [INFO] [stdout] 181 | impl_pickle_for_instruction!(PyRawCapture); [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/extern_call.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/extern_call.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | impl_to_quil!(PyExternSignature); [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/extern_call.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | impl_copy_for_instruction!(PyExternSignature); [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/frame.rs:202:1 [INFO] [stdout] | [INFO] [stdout] 202 | / py_wrap_data_struct! { [INFO] [stdout] 203 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 204 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 205 | | PySetFrequency(SetFrequency) as "SetFrequency" { [INFO] [stdout] ... | [INFO] [stdout] 209 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/extern_call.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | impl_pickle_for_instruction!(PyExternSignature); [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | impl_to_quil!(PySetFrequency); [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/extern_call.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | impl_copy_for_instruction!(PySetFrequency); [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:215:1 [INFO] [stdout] | [INFO] [stdout] 215 | impl_pickle_for_instruction!(PySetFrequency); [INFO] [stdout] | -------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/frame.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / py_wrap_union_enum! { [INFO] [stdout] 31 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 32 | | #[pyo3(module = "quil.instructions")] [INFO] [stdout] 33 | | PyAttributeValue(AttributeValue) as "AttributeValue" { [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/frame.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / py_wrap_union_enum! { [INFO] [stdout] 31 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 32 | | #[pyo3(module = "quil.instructions")] [INFO] [stdout] 33 | | PyAttributeValue(AttributeValue) as "AttributeValue" { [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/frame.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / py_wrap_union_enum! { [INFO] [stdout] 31 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 32 | | #[pyo3(module = "quil.instructions")] [INFO] [stdout] 33 | | PyAttributeValue(AttributeValue) as "AttributeValue" { [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/frame.rs:232:1 [INFO] [stdout] | [INFO] [stdout] 232 | / py_wrap_data_struct! { [INFO] [stdout] 233 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 234 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 235 | | PySetPhase(SetPhase) as "SetPhase" { [INFO] [stdout] ... | [INFO] [stdout] 239 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | impl_to_quil!(PyAttributeValue); [INFO] [stdout] | ------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:241:1 [INFO] [stdout] | [INFO] [stdout] 241 | impl_to_quil!(PySetPhase); [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | impl_copy_for_instruction!(PySetPhase); [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/frame.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / py_wrap_data_struct! { [INFO] [stdout] 46 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 47 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 48 | | PyFrameDefinition(FrameDefinition) as "FrameDefinition" { [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | impl_pickle_for_instruction!(PySetPhase); [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | impl_to_quil!(PyFrameDefinition); [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | impl_copy_for_instruction!(PyFrameDefinition); [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/frame.rs:258:1 [INFO] [stdout] | [INFO] [stdout] 258 | / py_wrap_data_struct! { [INFO] [stdout] 259 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 260 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 261 | | PySetScale(SetScale) as "SetScale" { [INFO] [stdout] ... | [INFO] [stdout] 265 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | impl_pickle_for_instruction!(PyFrameDefinition); [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:267:1 [INFO] [stdout] | [INFO] [stdout] 267 | impl_to_quil!(PySetScale); [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:268:1 [INFO] [stdout] | [INFO] [stdout] 268 | impl_copy_for_instruction!(PySetScale); [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/frame.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | / py_wrap_data_struct! { [INFO] [stdout] 75 | | #[derive(Debug, PartialEq, Eq, Hash)] [INFO] [stdout] 76 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 77 | | PyFrameIdentifier(FrameIdentifier) as "FrameIdentifier" { [INFO] [stdout] ... | [INFO] [stdout] 81 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 271 | impl_pickle_for_instruction!(PySetScale); [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | impl_to_quil!(PyFrameIdentifier); [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/frame.rs:284:1 [INFO] [stdout] | [INFO] [stdout] 284 | / py_wrap_data_struct! { [INFO] [stdout] 285 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 286 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 287 | | PyShiftFrequency(ShiftFrequency) as "ShiftFrequency" { [INFO] [stdout] ... | [INFO] [stdout] 291 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:293:1 [INFO] [stdout] | [INFO] [stdout] 293 | impl_to_quil!(PyShiftFrequency); [INFO] [stdout] | ------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/frame.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / py_wrap_data_struct! { [INFO] [stdout] 99 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 100 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 101 | | PyCapture(Capture) as "Capture" { [INFO] [stdout] ... | [INFO] [stdout] 107 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:294:1 [INFO] [stdout] | [INFO] [stdout] 294 | impl_copy_for_instruction!(PyShiftFrequency); [INFO] [stdout] | -------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:297:1 [INFO] [stdout] | [INFO] [stdout] 297 | impl_pickle_for_instruction!(PyShiftFrequency); [INFO] [stdout] | ---------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | impl_to_quil!(PyCapture); [INFO] [stdout] | ------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | impl_copy_for_instruction!(PyCapture); [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | impl_pickle_for_instruction!(PyCapture); [INFO] [stdout] | --------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/frame.rs:314:1 [INFO] [stdout] | [INFO] [stdout] 314 | / py_wrap_data_struct! { [INFO] [stdout] 315 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 316 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 317 | | PyShiftPhase(ShiftPhase) as "ShiftPhase" { [INFO] [stdout] ... | [INFO] [stdout] 321 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 323 | impl_to_quil!(PyShiftPhase); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:324:1 [INFO] [stdout] | [INFO] [stdout] 324 | impl_copy_for_instruction!(PyShiftPhase); [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/frame.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | / py_wrap_data_struct! { [INFO] [stdout] 134 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 135 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 136 | | PyPulse(Pulse) as "Pulse" { [INFO] [stdout] ... | [INFO] [stdout] 141 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:327:1 [INFO] [stdout] | [INFO] [stdout] 327 | impl_pickle_for_instruction!(PyShiftPhase); [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | impl_to_quil!(PyPulse); [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:144:1 [INFO] [stdout] | [INFO] [stdout] 144 | impl_copy_for_instruction!(PyPulse); [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:146:1 [INFO] [stdout] | [INFO] [stdout] 146 | impl_pickle_for_instruction!(PyPulse); [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/frame.rs:340:1 [INFO] [stdout] | [INFO] [stdout] 340 | / py_wrap_data_struct! { [INFO] [stdout] 341 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 342 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 343 | | PySwapPhases(SwapPhases) as "SwapPhases" { [INFO] [stdout] ... | [INFO] [stdout] 347 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:349:1 [INFO] [stdout] | [INFO] [stdout] 349 | impl_to_quil!(PySwapPhases); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:350:1 [INFO] [stdout] | [INFO] [stdout] 350 | impl_copy_for_instruction!(PySwapPhases); [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/frame.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | / py_wrap_data_struct! { [INFO] [stdout] 166 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 167 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 168 | | PyRawCapture(RawCapture) as "RawCapture" { [INFO] [stdout] ... | [INFO] [stdout] 174 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:353:1 [INFO] [stdout] | [INFO] [stdout] 353 | impl_pickle_for_instruction!(PySwapPhases); [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | impl_to_quil!(PyRawCapture); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:178:1 [INFO] [stdout] | [INFO] [stdout] 178 | impl_copy_for_instruction!(PyRawCapture); [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:181:1 [INFO] [stdout] | [INFO] [stdout] 181 | impl_pickle_for_instruction!(PyRawCapture); [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/gate.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / py_wrap_data_struct! { [INFO] [stdout] 34 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 35 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 36 | | PyGate(Gate) as "Gate" { [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/gate.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | impl_copy_for_instruction!(PyGate); [INFO] [stdout] | ---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/gate.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | impl_to_quil!(PyGate); [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/frame.rs:202:1 [INFO] [stdout] | [INFO] [stdout] 202 | / py_wrap_data_struct! { [INFO] [stdout] 203 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 204 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 205 | | PySetFrequency(SetFrequency) as "SetFrequency" { [INFO] [stdout] ... | [INFO] [stdout] 209 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | impl_to_quil!(PySetFrequency); [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/gate.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | impl_pickle_for_instruction!(PyGate); [INFO] [stdout] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | impl_copy_for_instruction!(PySetFrequency); [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/gate.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:215:1 [INFO] [stdout] | [INFO] [stdout] 215 | impl_pickle_for_instruction!(PySetFrequency); [INFO] [stdout] | -------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/frame.rs:232:1 [INFO] [stdout] | [INFO] [stdout] 232 | / py_wrap_data_struct! { [INFO] [stdout] 233 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 234 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 235 | | PySetPhase(SetPhase) as "SetPhase" { [INFO] [stdout] ... | [INFO] [stdout] 239 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/gate.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | impl_to_quil!(PyGateModifier); [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:241:1 [INFO] [stdout] | [INFO] [stdout] 241 | impl_to_quil!(PySetPhase); [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | impl_copy_for_instruction!(PySetPhase); [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | impl_pickle_for_instruction!(PySetPhase); [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/gate.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | impl_parse!(PyPauliGate); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `impl_parse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/frame.rs:258:1 [INFO] [stdout] | [INFO] [stdout] 258 | / py_wrap_data_struct! { [INFO] [stdout] 259 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 260 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 261 | | PySetScale(SetScale) as "SetScale" { [INFO] [stdout] ... | [INFO] [stdout] 265 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/gate.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | / py_wrap_data_struct! { [INFO] [stdout] 156 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 157 | | #[pyo3(subclass)] [INFO] [stdout] 158 | | PyPauliTerm(PauliTerm) as "PauliTerm" { [INFO] [stdout] ... | [INFO] [stdout] 162 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:267:1 [INFO] [stdout] | [INFO] [stdout] 267 | impl_to_quil!(PySetScale); [INFO] [stdout] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:268:1 [INFO] [stdout] | [INFO] [stdout] 268 | impl_copy_for_instruction!(PySetScale); [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/gate.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 271 | impl_pickle_for_instruction!(PySetScale); [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/gate.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / py_wrap_data_struct! { [INFO] [stdout] 226 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 227 | | #[pyo3(subclass)] [INFO] [stdout] 228 | | PyPauliSum(PauliSum) as "PauliSum" { [INFO] [stdout] ... | [INFO] [stdout] 232 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/frame.rs:284:1 [INFO] [stdout] | [INFO] [stdout] 284 | / py_wrap_data_struct! { [INFO] [stdout] 285 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 286 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 287 | | PyShiftFrequency(ShiftFrequency) as "ShiftFrequency" { [INFO] [stdout] ... | [INFO] [stdout] 291 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:293:1 [INFO] [stdout] | [INFO] [stdout] 293 | impl_to_quil!(PyShiftFrequency); [INFO] [stdout] | ------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/gate.rs:248:1 [INFO] [stdout] | [INFO] [stdout] 248 | / py_wrap_union_enum! { [INFO] [stdout] 249 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 250 | | PyGateSpecification(GateSpecification) as "GateSpecification" { [INFO] [stdout] 251 | | matrix: Matrix => Vec>, [INFO] [stdout] ... | [INFO] [stdout] 255 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:294:1 [INFO] [stdout] | [INFO] [stdout] 294 | impl_copy_for_instruction!(PyShiftFrequency); [INFO] [stdout] | -------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/gate.rs:248:1 [INFO] [stdout] | [INFO] [stdout] 248 | / py_wrap_union_enum! { [INFO] [stdout] 249 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 250 | | PyGateSpecification(GateSpecification) as "GateSpecification" { [INFO] [stdout] 251 | | matrix: Matrix => Vec>, [INFO] [stdout] ... | [INFO] [stdout] 255 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/gate.rs:248:1 [INFO] [stdout] | [INFO] [stdout] 248 | / py_wrap_union_enum! { [INFO] [stdout] 249 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 250 | | PyGateSpecification(GateSpecification) as "GateSpecification" { [INFO] [stdout] 251 | | matrix: Matrix => Vec>, [INFO] [stdout] ... | [INFO] [stdout] 255 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:297:1 [INFO] [stdout] | [INFO] [stdout] 297 | impl_pickle_for_instruction!(PyShiftFrequency); [INFO] [stdout] | ---------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/gate.rs:248:1 [INFO] [stdout] | [INFO] [stdout] 248 | / py_wrap_union_enum! { [INFO] [stdout] 249 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 250 | | PyGateSpecification(GateSpecification) as "GateSpecification" { [INFO] [stdout] 251 | | matrix: Matrix => Vec>, [INFO] [stdout] ... | [INFO] [stdout] 255 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/frame.rs:314:1 [INFO] [stdout] | [INFO] [stdout] 314 | / py_wrap_data_struct! { [INFO] [stdout] 315 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 316 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 317 | | PyShiftPhase(ShiftPhase) as "ShiftPhase" { [INFO] [stdout] ... | [INFO] [stdout] 321 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/gate.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | impl_to_quil!(PyGateSpecification); [INFO] [stdout] | ---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 323 | impl_to_quil!(PyShiftPhase); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:324:1 [INFO] [stdout] | [INFO] [stdout] 324 | impl_copy_for_instruction!(PyShiftPhase); [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/gate.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / py_wrap_data_struct! { [INFO] [stdout] 262 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 263 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 264 | | PyGateDefinition(GateDefinition) as "GateDefinition" { [INFO] [stdout] ... | [INFO] [stdout] 269 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:327:1 [INFO] [stdout] | [INFO] [stdout] 327 | impl_pickle_for_instruction!(PyShiftPhase); [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/gate.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 271 | impl_to_quil!(PyGateDefinition); [INFO] [stdout] | ------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/gate.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | impl_copy_for_instruction!(PyGateDefinition); [INFO] [stdout] | -------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/frame.rs:340:1 [INFO] [stdout] | [INFO] [stdout] 340 | / py_wrap_data_struct! { [INFO] [stdout] 341 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 342 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 343 | | PySwapPhases(SwapPhases) as "SwapPhases" { [INFO] [stdout] ... | [INFO] [stdout] 347 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/gate.rs:275:1 [INFO] [stdout] | [INFO] [stdout] 275 | impl_pickle_for_instruction!(PyGateDefinition); [INFO] [stdout] | ---------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:349:1 [INFO] [stdout] | [INFO] [stdout] 349 | impl_to_quil!(PySwapPhases); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:350:1 [INFO] [stdout] | [INFO] [stdout] 350 | impl_copy_for_instruction!(PySwapPhases); [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/measurement.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / py_wrap_data_struct! { [INFO] [stdout] 14 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 15 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 16 | | PyMeasurement(Measurement) as "Measurement" { [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/frame.rs:353:1 [INFO] [stdout] | [INFO] [stdout] 353 | impl_pickle_for_instruction!(PySwapPhases); [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/measurement.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | impl_to_quil!(PyMeasurement); [INFO] [stdout] | ---------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/measurement.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | impl_copy_for_instruction!(PyMeasurement); [INFO] [stdout] | ----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/measurement.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | impl_pickle_for_instruction!(PyMeasurement); [INFO] [stdout] | ------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/gate.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / py_wrap_data_struct! { [INFO] [stdout] 34 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 35 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 36 | | PyGate(Gate) as "Gate" { [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/pragma.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / py_wrap_data_struct! { [INFO] [stdout] 16 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 17 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 18 | | PyPragma(Pragma) as "Pragma" { [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/gate.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | impl_copy_for_instruction!(PyGate); [INFO] [stdout] | ---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/gate.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | impl_to_quil!(PyGate); [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/pragma.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | impl_to_quil!(PyPragma); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/pragma.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | impl_copy_for_instruction!(PyPragma); [INFO] [stdout] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/gate.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | impl_pickle_for_instruction!(PyGate); [INFO] [stdout] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/pragma.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | impl_pickle_for_instruction!(PyPragma); [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/gate.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/pragma.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / py_wrap_union_enum! { [INFO] [stdout] 49 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 50 | | PyPragmaArgument(PragmaArgument) as "PragmaArgument" { [INFO] [stdout] 51 | | identifier: Identifier => Py, [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/pragma.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / py_wrap_union_enum! { [INFO] [stdout] 49 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 50 | | PyPragmaArgument(PragmaArgument) as "PragmaArgument" { [INFO] [stdout] 51 | | identifier: Identifier => Py, [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/gate.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | impl_to_quil!(PyGateModifier); [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/pragma.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / py_wrap_union_enum! { [INFO] [stdout] 49 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 50 | | PyPragmaArgument(PragmaArgument) as "PragmaArgument" { [INFO] [stdout] 51 | | identifier: Identifier => Py, [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/pragma.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | impl_to_quil!(PyPragmaArgument); [INFO] [stdout] | ------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/gate.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | impl_parse!(PyPauliGate); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `impl_parse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/pragma.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / py_wrap_data_struct! { [INFO] [stdout] 61 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 62 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 63 | | PyInclude(Include) as "Include" { [INFO] [stdout] ... | [INFO] [stdout] 66 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/pragma.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | impl_to_quil!(PyInclude); [INFO] [stdout] | ------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/pragma.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | impl_copy_for_instruction!(PyInclude); [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/gate.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | / py_wrap_data_struct! { [INFO] [stdout] 156 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 157 | | #[pyo3(subclass)] [INFO] [stdout] 158 | | PyPauliTerm(PauliTerm) as "PauliTerm" { [INFO] [stdout] ... | [INFO] [stdout] 162 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/pragma.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | impl_pickle_for_instruction!(PyInclude); [INFO] [stdout] | --------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/gate.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/qubit.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / py_wrap_union_enum! { [INFO] [stdout] 15 | | #[derive(Debug, Eq, Hash, PartialEq)] [INFO] [stdout] 16 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 17 | | PyQubit(Qubit) as "Qubit" { [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/gate.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / py_wrap_data_struct! { [INFO] [stdout] 226 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 227 | | #[pyo3(subclass)] [INFO] [stdout] 228 | | PyPauliSum(PauliSum) as "PauliSum" { [INFO] [stdout] ... | [INFO] [stdout] 232 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/qubit.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / py_wrap_union_enum! { [INFO] [stdout] 15 | | #[derive(Debug, Eq, Hash, PartialEq)] [INFO] [stdout] 16 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 17 | | PyQubit(Qubit) as "Qubit" { [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/qubit.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / py_wrap_union_enum! { [INFO] [stdout] 15 | | #[derive(Debug, Eq, Hash, PartialEq)] [INFO] [stdout] 16 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 17 | | PyQubit(Qubit) as "Qubit" { [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/qubit.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / py_wrap_union_enum! { [INFO] [stdout] 15 | | #[derive(Debug, Eq, Hash, PartialEq)] [INFO] [stdout] 16 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 17 | | PyQubit(Qubit) as "Qubit" { [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/gate.rs:248:1 [INFO] [stdout] | [INFO] [stdout] 248 | / py_wrap_union_enum! { [INFO] [stdout] 249 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 250 | | PyGateSpecification(GateSpecification) as "GateSpecification" { [INFO] [stdout] 251 | | matrix: Matrix => Vec>, [INFO] [stdout] ... | [INFO] [stdout] 255 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/gate.rs:248:1 [INFO] [stdout] | [INFO] [stdout] 248 | / py_wrap_union_enum! { [INFO] [stdout] 249 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 250 | | PyGateSpecification(GateSpecification) as "GateSpecification" { [INFO] [stdout] 251 | | matrix: Matrix => Vec>, [INFO] [stdout] ... | [INFO] [stdout] 255 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/qubit.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | impl_to_quil!(PyQubit); [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/gate.rs:248:1 [INFO] [stdout] | [INFO] [stdout] 248 | / py_wrap_union_enum! { [INFO] [stdout] 249 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 250 | | PyGateSpecification(GateSpecification) as "GateSpecification" { [INFO] [stdout] 251 | | matrix: Matrix => Vec>, [INFO] [stdout] ... | [INFO] [stdout] 255 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/gate.rs:248:1 [INFO] [stdout] | [INFO] [stdout] 248 | / py_wrap_union_enum! { [INFO] [stdout] 249 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 250 | | PyGateSpecification(GateSpecification) as "GateSpecification" { [INFO] [stdout] 251 | | matrix: Matrix => Vec>, [INFO] [stdout] ... | [INFO] [stdout] 255 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/gate.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | impl_to_quil!(PyGateSpecification); [INFO] [stdout] | ---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/reset.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / py_wrap_data_struct! { [INFO] [stdout] 15 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 16 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 17 | | PyReset(Reset) as "Reset" { [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/reset.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | impl_copy_for_instruction!(PyReset); [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/reset.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | impl_to_quil!(PyReset); [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/gate.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / py_wrap_data_struct! { [INFO] [stdout] 262 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 263 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 264 | | PyGateDefinition(GateDefinition) as "GateDefinition" { [INFO] [stdout] ... | [INFO] [stdout] 269 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/reset.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | impl_pickle_for_instruction!(PyReset); [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/gate.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 271 | impl_to_quil!(PyGateDefinition); [INFO] [stdout] | ------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/gate.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | impl_copy_for_instruction!(PyGateDefinition); [INFO] [stdout] | -------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/gate.rs:275:1 [INFO] [stdout] | [INFO] [stdout] 275 | impl_pickle_for_instruction!(PyGateDefinition); [INFO] [stdout] | ---------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/timing.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / py_wrap_data_struct! { [INFO] [stdout] 15 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 16 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 17 | | PyDelay(Delay) as "Delay" { [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/timing.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | impl_to_quil!(PyDelay); [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/timing.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | impl_copy_for_instruction!(PyDelay); [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/measurement.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / py_wrap_data_struct! { [INFO] [stdout] 14 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 15 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 16 | | PyMeasurement(Measurement) as "Measurement" { [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/measurement.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | impl_to_quil!(PyMeasurement); [INFO] [stdout] | ---------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/timing.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | impl_pickle_for_instruction!(PyDelay); [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/measurement.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | impl_copy_for_instruction!(PyMeasurement); [INFO] [stdout] | ----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/timing.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / py_wrap_data_struct! { [INFO] [stdout] 48 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 49 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 50 | | PyFence(Fence) as "Fence" { [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/measurement.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | impl_pickle_for_instruction!(PyMeasurement); [INFO] [stdout] | ------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/timing.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | impl_to_quil!(PyFence); [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/timing.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | impl_copy_for_instruction!(PyFence); [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/pragma.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / py_wrap_data_struct! { [INFO] [stdout] 16 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 17 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 18 | | PyPragma(Pragma) as "Pragma" { [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/timing.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | impl_pickle_for_instruction!(PyFence); [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/pragma.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | impl_to_quil!(PyPragma); [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/pragma.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | impl_copy_for_instruction!(PyPragma); [INFO] [stdout] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/waveform.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / py_wrap_data_struct! { [INFO] [stdout] 20 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 21 | | #[pyo3(subclass)] [INFO] [stdout] 22 | | PyWaveform(Waveform) as "Waveform" { [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/pragma.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | impl_pickle_for_instruction!(PyPragma); [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/waveform.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / py_wrap_data_struct! { [INFO] [stdout] 47 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 48 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 49 | | PyWaveformDefinition(WaveformDefinition) as "WaveformDefinition" { [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/pragma.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / py_wrap_union_enum! { [INFO] [stdout] 49 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 50 | | PyPragmaArgument(PragmaArgument) as "PragmaArgument" { [INFO] [stdout] 51 | | identifier: Identifier => Py, [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/pragma.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / py_wrap_union_enum! { [INFO] [stdout] 49 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 50 | | PyPragmaArgument(PragmaArgument) as "PragmaArgument" { [INFO] [stdout] 51 | | identifier: Identifier => Py, [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/waveform.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | impl_to_quil!(PyWaveformDefinition); [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/waveform.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | impl_copy_for_instruction!(PyWaveformDefinition); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/pragma.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / py_wrap_union_enum! { [INFO] [stdout] 49 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 50 | | PyPragmaArgument(PragmaArgument) as "PragmaArgument" { [INFO] [stdout] 51 | | identifier: Identifier => Py, [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/pragma.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | impl_to_quil!(PyPragmaArgument); [INFO] [stdout] | ------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/waveform.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | impl_pickle_for_instruction!(PyWaveformDefinition); [INFO] [stdout] | -------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/pragma.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / py_wrap_data_struct! { [INFO] [stdout] 61 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 62 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 63 | | PyInclude(Include) as "Include" { [INFO] [stdout] ... | [INFO] [stdout] 66 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/waveform.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | / py_wrap_data_struct! { [INFO] [stdout] 75 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 76 | | #[pyo3(subclass)] [INFO] [stdout] 77 | | PyWaveformInvocation(WaveformInvocation) as "WaveformInvocation" { [INFO] [stdout] ... | [INFO] [stdout] 81 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/pragma.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | impl_to_quil!(PyInclude); [INFO] [stdout] | ------------------------ [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/pragma.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | impl_copy_for_instruction!(PyInclude); [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/waveform.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | impl_to_quil!(PyWaveformInvocation); [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/pragma.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | impl_pickle_for_instruction!(PyInclude); [INFO] [stdout] | --------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/qubit.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / py_wrap_union_enum! { [INFO] [stdout] 15 | | #[derive(Debug, Eq, Hash, PartialEq)] [INFO] [stdout] 16 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 17 | | PyQubit(Qubit) as "Qubit" { [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/qubit.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / py_wrap_union_enum! { [INFO] [stdout] 15 | | #[derive(Debug, Eq, Hash, PartialEq)] [INFO] [stdout] 16 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 17 | | PyQubit(Qubit) as "Qubit" { [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/qubit.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / py_wrap_union_enum! { [INFO] [stdout] 15 | | #[derive(Debug, Eq, Hash, PartialEq)] [INFO] [stdout] 16 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 17 | | PyQubit(Qubit) as "Qubit" { [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/qubit.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / py_wrap_union_enum! { [INFO] [stdout] 15 | | #[derive(Debug, Eq, Hash, PartialEq)] [INFO] [stdout] 16 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 17 | | PyQubit(Qubit) as "Qubit" { [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/qubit.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | impl_to_quil!(PyQubit); [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/reset.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / py_wrap_data_struct! { [INFO] [stdout] 15 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 16 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 17 | | PyReset(Reset) as "Reset" { [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/reset.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | impl_copy_for_instruction!(PyReset); [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/reset.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | impl_to_quil!(PyReset); [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/reset.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | impl_pickle_for_instruction!(PyReset); [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/timing.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / py_wrap_data_struct! { [INFO] [stdout] 15 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 16 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 17 | | PyDelay(Delay) as "Delay" { [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/timing.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | impl_to_quil!(PyDelay); [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/timing.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | impl_copy_for_instruction!(PyDelay); [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_copy_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/timing.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | impl_pickle_for_instruction!(PyDelay); [INFO] [stdout] | ------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_pickle_for_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/timing.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / py_wrap_data_struct! { [INFO] [stdout] 48 | | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 49 | | #[pyo3(subclass, module = "quil.instructions")] [INFO] [stdout] 50 | | PyFence(Fence) as "Fence" { [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rigetti_pyo3::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_data_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/timing.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | impl_to_quil!(PyFence); [INFO] [stdout] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `pyo3::pymethods` which comes from the expansion of the macro `impl_to_quil` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / py_wrap_union_enum! { [INFO] [stdout] 66 | | #[derive(Debug, PartialEq)] [INFO] [stdout] 67 | | PyInstruction(Instruction) as "Instruction" { [INFO] [stdout] 68 | | arithmetic: Arithmetic => PyArithmetic, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | |_temporary value is freed at the end of this statement [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `$crate::pyo3::pymethods` which comes from the expansion of the macro `py_wrap_union_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/instruction/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | #[pyo3::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | this usage requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] ::: src/instruction/timing.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | impl_copy_for_instruction!(PyFence); [INFO] [stdout] | ----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | temporary value is freed at the end of this statement [INFO] [stdout] | in this macro invocation [WARN] too many lines in the log, truncating it