[INFO] fetching crate libket 0.6.0... [INFO] testing libket-0.6.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate libket 0.6.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate libket 0.6.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate libket 0.6.0 [INFO] tweaked toml for crates.io crate libket 0.6.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libket 0.6.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate libket 0.6.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded plotly_derive v0.13.4 [INFO] [stderr] Downloaded serde-untagged v0.1.7 [INFO] [stderr] Downloaded cargo-util-schemas v0.2.0 [INFO] [stderr] Downloaded build-info-proc v0.0.41 [INFO] [stderr] Downloaded build-info v0.0.41 [INFO] [stderr] Downloaded build-info-common v0.0.41 [INFO] [stderr] Downloaded cargo_metadata v0.20.0 [INFO] [stderr] Downloaded build-info-build v0.0.41 [INFO] [stderr] Downloaded plotly v0.13.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21ca1169ffc727698d14f043dde6e0e5301103c016b671775f06f72c3bf23aa1 [INFO] running `Command { std: "docker" "start" "-a" "21ca1169ffc727698d14f043dde6e0e5301103c016b671775f06f72c3bf23aa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21ca1169ffc727698d14f043dde6e0e5301103c016b671775f06f72c3bf23aa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21ca1169ffc727698d14f043dde6e0e5301103c016b671775f06f72c3bf23aa1", kill_on_drop: false }` [INFO] [stdout] 21ca1169ffc727698d14f043dde6e0e5301103c016b671775f06f72c3bf23aa1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa0edff89303a12d0b79e1f9d0dbc47e4409d26c212c43f87d70be42f1bc3cbd [INFO] running `Command { std: "docker" "start" "-a" "fa0edff89303a12d0b79e1f9d0dbc47e4409d26c212c43f87d70be42f1bc3cbd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling anyhow v1.0.90 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling unty v0.0.4 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling jiff v0.2.4 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling cc v1.1.30 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling genawaiter-macro v0.99.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling bimap v0.6.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling libgit2-sys v0.18.0+1.9.0 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling syn-mid v0.5.4 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling genawaiter-proc-macro v0.99.1 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling genawaiter v0.99.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling git2 v0.20.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling erased-serde v0.4.5 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling bincode v2.0.1 [INFO] [stderr] Compiling cargo-platform v0.2.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling serde-untagged v0.1.7 [INFO] [stderr] Compiling build-info-common v0.0.41 [INFO] [stderr] Compiling build-info-proc v0.0.41 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling build-info v0.0.41 [INFO] [stderr] Compiling cargo-util-schemas v0.2.0 [INFO] [stderr] Compiling cargo_metadata v0.20.0 [INFO] [stderr] Compiling build-info-build v0.0.41 [INFO] [stderr] Compiling libket v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/circuit.rs:67:34 [INFO] [stdout] | [INFO] [stdout] 67 | .all(|qubit| (self.last_gate_index(*qubit) == Some(index))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - .all(|qubit| (self.last_gate_index(*qubit) == Some(index))) [INFO] [stdout] 67 + .all(|qubit| self.last_gate_index(*qubit) == Some(index)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "fa0edff89303a12d0b79e1f9d0dbc47e4409d26c212c43f87d70be42f1bc3cbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa0edff89303a12d0b79e1f9d0dbc47e4409d26c212c43f87d70be42f1bc3cbd", kill_on_drop: false }` [INFO] [stdout] fa0edff89303a12d0b79e1f9d0dbc47e4409d26c212c43f87d70be42f1bc3cbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a52247801bbf512ea84c42f67d51f4abf2de17ce859cc1d16d07c96bc644c967 [INFO] running `Command { std: "docker" "start" "-a" "a52247801bbf512ea84c42f67d51f4abf2de17ce859cc1d16d07c96bc644c967", kill_on_drop: false }` [INFO] [stderr] Compiling libket v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/circuit.rs:67:34 [INFO] [stdout] | [INFO] [stdout] 67 | .all(|qubit| (self.last_gate_index(*qubit) == Some(index))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - .all(|qubit| (self.last_gate_index(*qubit) == Some(index))) [INFO] [stdout] 67 + .all(|qubit| self.last_gate_index(*qubit) == Some(index)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/circuit.rs:67:34 [INFO] [stdout] | [INFO] [stdout] 67 | .all(|qubit| (self.last_gate_index(*qubit) == Some(index))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - .all(|qubit| (self.last_gate_index(*qubit) == Some(index))) [INFO] [stdout] 67 + .all(|qubit| self.last_gate_index(*qubit) == Some(index)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.67s [INFO] running `Command { std: "docker" "inspect" "a52247801bbf512ea84c42f67d51f4abf2de17ce859cc1d16d07c96bc644c967", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a52247801bbf512ea84c42f67d51f4abf2de17ce859cc1d16d07c96bc644c967", kill_on_drop: false }` [INFO] [stdout] a52247801bbf512ea84c42f67d51f4abf2de17ce859cc1d16d07c96bc644c967 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3bbb9d08cabec15d6ea235c577101cbf6502790b9ff57ad854a8aebface41739 [INFO] running `Command { std: "docker" "start" "-a" "3bbb9d08cabec15d6ea235c577101cbf6502790b9ff57ad854a8aebface41739", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/circuit.rs:67:34 [INFO] [stderr] | [INFO] [stderr] 67 | .all(|qubit| (self.last_gate_index(*qubit) == Some(index))) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 67 - .all(|qubit| (self.last_gate_index(*qubit) == Some(index))) [INFO] [stderr] 67 + .all(|qubit| self.last_gate_index(*qubit) == Some(index)) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `libket` (lib) generated 1 warning (run `cargo fix --lib -p libket` to apply 1 suggestion) [INFO] [stderr] warning: `libket` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ket-81861ed08b658e72) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test error::tests::success_is_zero ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests ket [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/circuit.rs:67:34 [INFO] [stderr] | [INFO] [stderr] 67 | .all(|qubit| (self.last_gate_index(*qubit) == Some(index))) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 67 - .all(|qubit| (self.last_gate_index(*qubit) == Some(index))) [INFO] [stderr] 67 + .all(|qubit| self.last_gate_index(*qubit) == Some(index)) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3bbb9d08cabec15d6ea235c577101cbf6502790b9ff57ad854a8aebface41739", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bbb9d08cabec15d6ea235c577101cbf6502790b9ff57ad854a8aebface41739", kill_on_drop: false }` [INFO] [stdout] 3bbb9d08cabec15d6ea235c577101cbf6502790b9ff57ad854a8aebface41739