[INFO] fetching crate qoqo_qasm 0.9.2... [INFO] checking qoqo_qasm-0.9.2 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate qoqo_qasm 0.9.2 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate qoqo_qasm 0.9.2 on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate qoqo_qasm 0.9.2 [INFO] finished tweaking crates.io crate qoqo_qasm 0.9.2 [INFO] tweaked toml for crates.io crate qoqo_qasm 0.9.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded struqture-py v1.5.1 [INFO] [stderr] Downloaded pyo3-macros v0.19.2 [INFO] [stderr] Downloaded struqture-py-macros v1.5.2 [INFO] [stderr] Downloaded qoqo-macros v1.9.1 [INFO] [stderr] Downloaded roqoqo-derive v1.9.1 [INFO] [stderr] Downloaded qoqo_calculator v1.1.5 [INFO] [stderr] Downloaded qoqo_calculator_pyo3 v1.1.4 [INFO] [stderr] Downloaded pyo3-macros-backend v0.19.2 [INFO] [stderr] Downloaded roqoqo v1.9.1 [INFO] [stderr] Downloaded pyo3 v0.19.2 [INFO] [stderr] Downloaded struqture v1.5.2 [INFO] [stderr] Downloaded qoqo v1.7.1 [INFO] [stderr] Downloaded numpy v0.19.0 [INFO] [stderr] Downloaded pyo3-ffi v0.19.2 [INFO] [stderr] Downloaded pyo3-build-config v0.19.2 [INFO] [stderr] Downloaded roqoqo-qasm v0.9.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e71d2c1abed5bd39d24ecb0a6668f677e00e267965a54369dc4e982866901076 [INFO] running `Command { std: "docker" "start" "-a" "e71d2c1abed5bd39d24ecb0a6668f677e00e267965a54369dc4e982866901076", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e71d2c1abed5bd39d24ecb0a6668f677e00e267965a54369dc4e982866901076", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e71d2c1abed5bd39d24ecb0a6668f677e00e267965a54369dc4e982866901076", kill_on_drop: false }` [INFO] [stdout] e71d2c1abed5bd39d24ecb0a6668f677e00e267965a54369dc4e982866901076 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b310bf36668d32effb9271c84c402e327812ad2332af1d1ccae22e40cc19bac [INFO] running `Command { std: "docker" "start" "-a" "2b310bf36668d32effb9271c84c402e327812ad2332af1d1ccae22e40cc19bac", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling target-lexicon v0.12.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling schemars v0.8.16 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking bytemuck v1.14.1 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking inventory v0.3.15 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Checking wide v0.7.15 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling pyo3-build-config v0.19.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling pyo3-ffi v0.19.2 [INFO] [stderr] Compiling pyo3 v0.19.2 [INFO] [stderr] Compiling qoqo_qasm v0.9.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling pyo3-macros-backend v0.19.2 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Compiling schemars_derive v0.8.16 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Compiling roqoqo v1.9.1 [INFO] [stderr] Compiling roqoqo-derive v1.9.1 [INFO] [stderr] Compiling struqture-py v1.5.1 [INFO] [stderr] Compiling qoqo v1.7.1 [INFO] [stderr] Compiling qoqo-macros v1.9.1 [INFO] [stderr] Checking test-case v3.3.1 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Compiling pyo3-macros v0.19.2 [INFO] [stderr] Checking serde v1.0.196 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking serde_json v1.0.113 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Compiling struqture-py-macros v1.5.2 [INFO] [stderr] Checking qoqo_calculator v1.1.5 [INFO] [stderr] Checking qoqo_calculator_pyo3 v1.1.4 [INFO] [stderr] Checking struqture v1.5.2 [INFO] [stderr] Checking numpy v0.19.0 [INFO] [stderr] Checking nalgebra v0.32.3 [INFO] [stderr] Checking roqoqo-qasm v0.9.4 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.87s [INFO] running `Command { std: "docker" "inspect" "2b310bf36668d32effb9271c84c402e327812ad2332af1d1ccae22e40cc19bac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b310bf36668d32effb9271c84c402e327812ad2332af1d1ccae22e40cc19bac", kill_on_drop: false }` [INFO] [stdout] 2b310bf36668d32effb9271c84c402e327812ad2332af1d1ccae22e40cc19bac [INFO] checking qoqo_qasm-0.9.2 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate qoqo_qasm 0.9.2 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate qoqo_qasm 0.9.2 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate qoqo_qasm 0.9.2 [INFO] finished tweaking crates.io crate qoqo_qasm 0.9.2 [INFO] tweaked toml for crates.io crate qoqo_qasm 0.9.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf1a29251baa1bd7b141b02d3a6ad080e3edf58a14895d280f2dff63c8cba9cd [INFO] running `Command { std: "docker" "start" "-a" "bf1a29251baa1bd7b141b02d3a6ad080e3edf58a14895d280f2dff63c8cba9cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf1a29251baa1bd7b141b02d3a6ad080e3edf58a14895d280f2dff63c8cba9cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf1a29251baa1bd7b141b02d3a6ad080e3edf58a14895d280f2dff63c8cba9cd", kill_on_drop: false }` [INFO] [stdout] bf1a29251baa1bd7b141b02d3a6ad080e3edf58a14895d280f2dff63c8cba9cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f7543527aa117768e794bfcef73f16a33e55e3dedd2d2ce1d4929ee5efb259a [INFO] running `Command { std: "docker" "start" "-a" "4f7543527aa117768e794bfcef73f16a33e55e3dedd2d2ce1d4929ee5efb259a", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling target-lexicon v0.12.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling schemars v0.8.16 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Checking bytemuck v1.14.1 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking inventory v0.3.15 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Checking wide v0.7.15 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling pyo3-build-config v0.19.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling pyo3-ffi v0.19.2 [INFO] [stderr] Compiling pyo3 v0.19.2 [INFO] [stderr] Compiling qoqo_qasm v0.9.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling pyo3-macros-backend v0.19.2 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Compiling schemars_derive v0.8.16 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Compiling roqoqo v1.9.1 [INFO] [stderr] Compiling roqoqo-derive v1.9.1 [INFO] [stderr] Compiling struqture-py v1.5.1 [INFO] [stderr] Compiling qoqo v1.7.1 [INFO] [stderr] Compiling qoqo-macros v1.9.1 [INFO] [stderr] Checking test-case v3.3.1 [INFO] [stderr] Compiling pyo3-macros v0.19.2 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Checking serde v1.0.196 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking serde_json v1.0.113 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Compiling struqture-py-macros v1.5.2 [INFO] [stderr] Checking qoqo_calculator v1.1.5 [INFO] [stderr] Checking qoqo_calculator_pyo3 v1.1.4 [INFO] [stderr] Checking struqture v1.5.2 [INFO] [stderr] Checking numpy v0.19.0 [INFO] [stderr] Checking nalgebra v0.32.3 [INFO] [stderr] Checking roqoqo-qasm v0.9.4 [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/backend.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [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: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/backend.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `trampoline` and up 4 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qoqo_qasm` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `qoqo_qasm` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "4f7543527aa117768e794bfcef73f16a33e55e3dedd2d2ce1d4929ee5efb259a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f7543527aa117768e794bfcef73f16a33e55e3dedd2d2ce1d4929ee5efb259a", kill_on_drop: false }` [INFO] [stdout] 4f7543527aa117768e794bfcef73f16a33e55e3dedd2d2ce1d4929ee5efb259a