[INFO] cloning repository https://github.com/shuyangsun/quantum [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shuyangsun/quantum" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshuyangsun%2Fquantum", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshuyangsun%2Fquantum'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6ea380c92ccf030763d5a8baab54d56283ea58e4 [INFO] testing shuyangsun/quantum against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshuyangsun%2Fquantum" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shuyangsun/quantum on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shuyangsun/quantum [INFO] finished tweaking git repo https://github.com/shuyangsun/quantum [INFO] tweaked toml for git repo https://github.com/shuyangsun/quantum written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/shuyangsun/quantum already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27484aeacbcc3d4b1678d4a63e5cea32d85ff1811bafe382eb53207870a0b788 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "27484aeacbcc3d4b1678d4a63e5cea32d85ff1811bafe382eb53207870a0b788", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27484aeacbcc3d4b1678d4a63e5cea32d85ff1811bafe382eb53207870a0b788", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27484aeacbcc3d4b1678d4a63e5cea32d85ff1811bafe382eb53207870a0b788", kill_on_drop: false }` [INFO] [stdout] 27484aeacbcc3d4b1678d4a63e5cea32d85ff1811bafe382eb53207870a0b788 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e813aa484bc1c5ddb9d52f2b7a87f72c770153c4f9ed4811bd24b7cf1b40ccaa [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e813aa484bc1c5ddb9d52f2b7a87f72c770153c4f9ed4811bd24b7cf1b40ccaa", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling alga v0.9.3 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling paste-impl v0.1.11 [INFO] [stderr] Compiling paste v0.1.11 [INFO] [stderr] Compiling simba v0.1.2 [INFO] [stderr] Compiling nalgebra v0.21.0 [INFO] [stderr] Compiling quantum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::SuperPosition` [INFO] [stdout] --> src/qubit.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::SuperPosition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Field` [INFO] [stdout] --> src/utility.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | use alga::general::{ComplexField, Field, RealField}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alga::linear::InversibleSquareMatrix` [INFO] [stdout] --> src/utility.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use alga::linear::InversibleSquareMatrix; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nalgebra::Matrix2` [INFO] [stdout] --> src/utility.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use nalgebra::Matrix2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Qubit` [INFO] [stdout] --> src/qubit.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Qubit {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vector_in_standard_basis` [INFO] [stdout] --> src/super_position.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | vector_in_standard_basis: S, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_scalars_and_basis` [INFO] [stdout] --> src/super_position.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | fn from_scalars_and_basis(scalars: S, basis: OrderedOrthonormalBasis) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_basis` [INFO] [stdout] --> src/super_position.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | fn to_basis(&self, new_basis: OrderedOrthonormalBasis) -> SuperPosition [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SuperPosition` [INFO] [stdout] --> src/main.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use quantum::{OrderedOrthonormalBasis, SuperPosition}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alga::linear::InversibleSquareMatrix` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use alga::linear::InversibleSquareMatrix; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector2` [INFO] [stdout] --> src/main.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use na::{Matrix2, Vector2}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `na::Matrix>: alga::linear::matrix::InversibleSquareMatrix` is not satisfied [INFO] [stdout] --> src/main.rs:7:49 [INFO] [stdout] | [INFO] [stdout] 7 | let basis_1 = OrderedOrthonormalBasis::from(Matrix2::::identity()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `alga::linear::matrix::InversibleSquareMatrix` is not implemented for `na::Matrix>` [INFO] [stdout] | [INFO] [stdout] = note: required by `quantum::ordered_basis::linalg::OrderedOrthonormalBasis::::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `na::Matrix>: alga::linear::matrix::InversibleSquareMatrix` is not satisfied [INFO] [stdout] --> src/main.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | let basis_1 = OrderedOrthonormalBasis::from(Matrix2::::identity()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `alga::linear::matrix::InversibleSquareMatrix` is not implemented for `na::Matrix>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ordered_basis.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | M: InversibleSquareMatrix, [INFO] [stdout] | ---------------------- required by this bound in `quantum::ordered_basis::linalg::OrderedOrthonormalBasis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `na::Matrix>: alga::linear::matrix::InversibleSquareMatrix` is not satisfied [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | println!("{}", basis_1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `alga::linear::matrix::InversibleSquareMatrix` is not implemented for `na::Matrix>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ordered_basis.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | M: InversibleSquareMatrix, [INFO] [stdout] | ---------------------- required by this bound in `quantum::ordered_basis::linalg::OrderedOrthonormalBasis` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `na::Matrix>: alga::linear::matrix::InversibleSquareMatrix` is not satisfied [INFO] [stdout] --> src/main.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | println!("{}", basis_1); [INFO] [stdout] | ^^^^^^^ the trait `alga::linear::matrix::InversibleSquareMatrix` is not implemented for `na::Matrix>` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `std::fmt::Display` for `quantum::ordered_basis::linalg::OrderedOrthonormalBasis>>` [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `quantum`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "e813aa484bc1c5ddb9d52f2b7a87f72c770153c4f9ed4811bd24b7cf1b40ccaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e813aa484bc1c5ddb9d52f2b7a87f72c770153c4f9ed4811bd24b7cf1b40ccaa", kill_on_drop: false }` [INFO] [stdout] e813aa484bc1c5ddb9d52f2b7a87f72c770153c4f9ed4811bd24b7cf1b40ccaa