[INFO] cloning repository https://github.com/Low-Zi-Hong/quancoms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Low-Zi-Hong/quancoms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLow-Zi-Hong%2Fquancoms", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLow-Zi-Hong%2Fquancoms'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae896c1e615fab1bbe7330e554545d0f78ddc05b [INFO] testing Low-Zi-Hong/quancoms against 1.99.0-beta.8 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLow-Zi-Hong%2Fquancoms" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Low-Zi-Hong/quancoms [INFO] finished tweaking git repo https://github.com/Low-Zi-Hong/quancoms [INFO] tweaked toml for git repo https://github.com/Low-Zi-Hong/quancoms written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Low-Zi-Hong/quancoms on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Low-Zi-Hong/quancoms 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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sysinfo v0.38.4 [INFO] [stderr] Downloaded objc2-io-kit v0.3.2 [INFO] [stderr] Downloaded web-sys v0.3.91 [INFO] [stderr] Downloaded pyo3-build-config v0.28.2 [INFO] [stderr] Downloaded pyo3-macros v0.28.2 [INFO] [stderr] Downloaded pyo3-ffi v0.28.2 [INFO] [stderr] Downloaded pyo3-macros-backend v0.28.2 [INFO] [stderr] Downloaded pyo3 v0.28.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 18f0a2a28efcdd6879069b9afae4ef5f5fb394d477fb5326cacff6addb89384d [INFO] running `Command { std: "docker" "start" "18f0a2a28efcdd6879069b9afae4ef5f5fb394d477fb5326cacff6addb89384d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18f0a2a28efcdd6879069b9afae4ef5f5fb394d477fb5326cacff6addb89384d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "18f0a2a28efcdd6879069b9afae4ef5f5fb394d477fb5326cacff6addb89384d" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18f0a2a28efcdd6879069b9afae4ef5f5fb394d477fb5326cacff6addb89384d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "18f0a2a28efcdd6879069b9afae4ef5f5fb394d477fb5326cacff6addb89384d" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.13.5 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling rand_core v0.10.0 [INFO] [stderr] Compiling cpufeatures v0.3.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling sysinfo v0.38.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling chacha20 v0.10.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling rand v0.10.0 [INFO] [stderr] Compiling pyo3-build-config v0.28.2 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling pyo3-ffi v0.28.2 [INFO] [stderr] Compiling pyo3-macros-backend v0.28.2 [INFO] [stderr] Compiling pyo3 v0.28.2 [INFO] [stderr] Compiling quancoms-core v0.1.5 (/opt/rustwide/workdir/crates/quancoms-core) [INFO] [stderr] Compiling pyo3-macros v0.28.2 [INFO] [stderr] Compiling quancoms-py v0.1.5 (/opt/rustwide/workdir/crates/quancoms-python) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.07s [INFO] running `Command { std: "docker" "inspect" "18f0a2a28efcdd6879069b9afae4ef5f5fb394d477fb5326cacff6addb89384d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "18f0a2a28efcdd6879069b9afae4ef5f5fb394d477fb5326cacff6addb89384d" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling zerocopy v0.8.47 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling clap v4.6.0 [INFO] [stderr] Compiling quancoms-core v0.1.5 (/opt/rustwide/workdir/crates/quancoms-core) [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling pyo3-macros-backend v0.28.2 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling zerocopy-derive v0.8.47 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling pyo3-macros v0.28.2 [INFO] [stderr] Compiling pyo3 v0.28.2 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling quancoms-py v0.1.5 (/opt/rustwide/workdir/crates/quancoms-python) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> crates/quancoms-core/tests/integration_test.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use quancoms_core::qubit::{self, QuantumRegister}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_X` should have a snake case name [INFO] [stdout] --> crates/quancoms-core/tests/integration_test.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn test_X() { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `test_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_H` should have a snake case name [INFO] [stdout] --> crates/quancoms-core/tests/integration_test.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn test_H() { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `test_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_CNOT` should have a snake case name [INFO] [stdout] --> crates/quancoms-core/tests/integration_test.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn test_CNOT() { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `test_cnot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_CCNOT` should have a snake case name [INFO] [stdout] --> crates/quancoms-core/tests/integration_test.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn test_CCNOT() { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `test_ccnot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_Rx` should have a snake case name [INFO] [stdout] --> crates/quancoms-core/tests/integration_test.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn test_Rx() { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `test_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_Ry` should have a snake case name [INFO] [stdout] --> crates/quancoms-core/tests/integration_test.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn test_Ry() { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `test_ry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_Rz` should have a snake case name [INFO] [stdout] --> crates/quancoms-core/tests/integration_test.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn test_Rz() { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `test_rz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_U` should have a snake case name [INFO] [stdout] --> crates/quancoms-core/tests/integration_test.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn test_U() { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `test_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_MCU_triple_control` should have a snake case name [INFO] [stdout] --> crates/quancoms-core/tests/integration_test.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn test_MCU_triple_control() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_mcu_triple_control` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 33.86s [INFO] running `Command { std: "docker" "inspect" "18f0a2a28efcdd6879069b9afae4ef5f5fb394d477fb5326cacff6addb89384d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "18f0a2a28efcdd6879069b9afae4ef5f5fb394d477fb5326cacff6addb89384d" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> crates/quancoms-core/tests/integration_test.rs:2:28 [INFO] [stderr] | [INFO] [stderr] 2 | use quancoms_core::qubit::{self, QuantumRegister}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `test_X` should have a snake case name [INFO] [stderr] --> crates/quancoms-core/tests/integration_test.rs:5:4 [INFO] [stderr] | [INFO] [stderr] 5 | fn test_X() { [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `test_x` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `test_H` should have a snake case name [INFO] [stderr] --> crates/quancoms-core/tests/integration_test.rs:15:4 [INFO] [stderr] | [INFO] [stderr] 15 | fn test_H() { [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `test_h` [INFO] [stderr] [INFO] [stderr] warning: function `test_CNOT` should have a snake case name [INFO] [stderr] --> crates/quancoms-core/tests/integration_test.rs:29:4 [INFO] [stderr] | [INFO] [stderr] 29 | fn test_CNOT() { [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `test_cnot` [INFO] [stderr] [INFO] [stderr] warning: function `test_CCNOT` should have a snake case name [INFO] [stderr] --> crates/quancoms-core/tests/integration_test.rs:42:4 [INFO] [stderr] | [INFO] [stderr] 42 | fn test_CCNOT() { [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `test_ccnot` [INFO] [stderr] [INFO] [stderr] warning: function `test_Rx` should have a snake case name [INFO] [stderr] --> crates/quancoms-core/tests/integration_test.rs:58:4 [INFO] [stderr] | [INFO] [stderr] 58 | fn test_Rx() { [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `test_rx` [INFO] [stderr] [INFO] [stderr] warning: function `test_Ry` should have a snake case name [INFO] [stderr] --> crates/quancoms-core/tests/integration_test.rs:70:4 [INFO] [stderr] | [INFO] [stderr] 70 | fn test_Ry() { [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `test_ry` [INFO] [stderr] [INFO] [stderr] warning: function `test_Rz` should have a snake case name [INFO] [stderr] --> crates/quancoms-core/tests/integration_test.rs:81:4 [INFO] [stderr] | [INFO] [stderr] 81 | fn test_Rz() { [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `test_rz` [INFO] [stderr] [INFO] [stderr] warning: function `test_U` should have a snake case name [INFO] [stderr] --> crates/quancoms-core/tests/integration_test.rs:91:4 [INFO] [stderr] | [INFO] [stderr] 91 | fn test_U() { [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `test_u` [INFO] [stderr] [INFO] [stderr] warning: function `test_MCU_triple_control` should have a snake case name [INFO] [stderr] --> crates/quancoms-core/tests/integration_test.rs:107:4 [INFO] [stderr] | [INFO] [stderr] 107 | fn test_MCU_triple_control() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_mcu_triple_control` [INFO] [stderr] [INFO] [stderr] warning: `quancoms-core` (test "integration_test") generated 10 warnings (run `cargo fix --test "integration_test" -p quancoms-core` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/quancoms_core-3c3b12831dd05a91) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/quancoms_core-5c4076cdc1cc735c) [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-bafc5572206c1373) [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] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test test_observe_mul_ghz_correlation ... ok [INFO] [stdout] test test_observe_one_consistency ... ok [INFO] [stdout] test test_CCNOT ... ok [INFO] [stdout] test test_X ... ok [INFO] [stdout] test test_bell_state_observation ... ok [INFO] [stdout] test test_Ry ... ok [INFO] [stdout] test test_Rx ... ok [INFO] [stdout] test test_H ... ok [INFO] [stdout] test test_MCU_triple_control ... ok [INFO] [stdout] test test_U ... ok [INFO] [stdout] test test_Rz ... ok [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/quancoms-4cf7fe8ca2a43958) [INFO] [stdout] test test_CNOT ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Doc-tests quancoms_core [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] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test crates/quancoms-core/src/qubit/mod.rs - qubit::QuantumRegister::U (line 460) ... ok [INFO] [stdout] test crates/quancoms-core/src/qubit/mod.rs - qubit::QuantumRegister::CNOT (line 535) ... ok [INFO] [stdout] test crates/quancoms-core/src/qubit/mod.rs - qubit::QuantumRegister::CCNOT (line 609) ... ok [INFO] [stdout] test crates/quancoms-core/src/qubit/mod.rs - qubit::QuantumRegister::observe_mul (line 203) ... ok [INFO] [stdout] test crates/quancoms-core/src/qubit/mod.rs - qubit::QuantumRegister::H (line 406) ... ok [INFO] [stdout] test crates/quancoms-core/src/qubit/mod.rs - qubit::QuantumRegister::X (line 357) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.63s; merged doctests compilation took 0.48s [INFO] running `Command { std: "docker" "inspect" "18f0a2a28efcdd6879069b9afae4ef5f5fb394d477fb5326cacff6addb89384d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18f0a2a28efcdd6879069b9afae4ef5f5fb394d477fb5326cacff6addb89384d", kill_on_drop: false }` [INFO] [stdout] 18f0a2a28efcdd6879069b9afae4ef5f5fb394d477fb5326cacff6addb89384d