[INFO] cloning repository https://github.com/aristaeus/MAST [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aristaeus/MAST" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faristaeus%2FMAST", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faristaeus%2FMAST'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7114118df9ebbb598f3425dd8e3402169c507af8 [INFO] checking aristaeus/MAST against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faristaeus%2FMAST" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aristaeus/MAST [INFO] finished tweaking git repo https://github.com/aristaeus/MAST [INFO] tweaked toml for git repo https://github.com/aristaeus/MAST written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aristaeus/MAST on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aristaeus/MAST 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 625d085c2df2567a11a392264f7fbd994fc921b2119f1cc21f400d27b62ba66e [INFO] running `Command { std: "docker" "start" "-a" "625d085c2df2567a11a392264f7fbd994fc921b2119f1cc21f400d27b62ba66e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "625d085c2df2567a11a392264f7fbd994fc921b2119f1cc21f400d27b62ba66e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "625d085c2df2567a11a392264f7fbd994fc921b2119f1cc21f400d27b62ba66e", kill_on_drop: false }` [INFO] [stdout] 625d085c2df2567a11a392264f7fbd994fc921b2119f1cc21f400d27b62ba66e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ee7f40216c41f4752a31bc4ad74f0836a9d8358d6b8e1844aec6723e082bc05 [INFO] running `Command { std: "docker" "start" "-a" "2ee7f40216c41f4752a31bc4ad74f0836a9d8358d6b8e1844aec6723e082bc05", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling rustls-pki-types v1.8.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling flate2 v1.0.33 [INFO] [stderr] Compiling rustls-native-certs v0.7.3 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking cblas-sys v0.1.4 [INFO] [stderr] Compiling pyo3-build-config v0.22.6 [INFO] [stderr] Checking lapack-sys v0.14.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Checking inventory v0.3.19 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling pyo3-macros-backend v0.22.6 [INFO] [stderr] Compiling pyo3-ffi v0.22.6 [INFO] [stderr] Compiling pyo3 v0.22.6 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Compiling xattr v1.3.1 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Compiling tar v0.4.41 [INFO] [stderr] Compiling katexit v0.1.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling einsum-codegen v0.1.0 (https://github.com/aristaeus/einsum-derive.git#8d428a0d) [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling einsum-derive v0.1.0 (https://github.com/aristaeus/einsum-derive.git#8d428a0d) [INFO] [stderr] Checking thiserror v2.0.11 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking proptest v1.5.0 [INFO] [stderr] Checking cauchy v0.4.0 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Compiling pyo3-macros v0.22.6 [INFO] [stderr] Compiling ureq v2.10.1 [INFO] [stderr] Compiling openblas-build v0.10.9 [INFO] [stderr] Checking quantypes v0.1.0 (https://github.com/aristaeus/quantypes.git#49577291) [INFO] [stderr] Compiling openblas-src v0.10.9 [INFO] [stderr] Checking lax v0.17.0 [INFO] [stderr] Checking ndarray-linalg v0.17.0 [INFO] [stderr] Checking mast v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 52 | fn get_largest_bond(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:88:43 [INFO] [stdout] | [INFO] [stdout] 88 | fn schmidt_values(&self, i: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:111:44 [INFO] [stdout] | [INFO] [stdout] 111 | fn get_bond_dim(&self, site: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:202:43 [INFO] [stdout] | [INFO] [stdout] 202 | fn project(&mut self, site: usize) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:328:45 [INFO] [stdout] | [INFO] [stdout] 328 | fn z_expectation(&self, site: usize) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:336:64 [INFO] [stdout] | [INFO] [stdout] 336 | fn expectation(&self, mut zs: Vec, mut xs: Vec) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:380:25 [INFO] [stdout] | [INFO] [stdout] 380 | fn get_sv(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:397:55 [INFO] [stdout] | [INFO] [stdout] 397 | fn apply_mps(&self, other: MatrixProductState) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:673:43 [INFO] [stdout] | [INFO] [stdout] 673 | fn schmidt_values(&self, i: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:677:44 [INFO] [stdout] | [INFO] [stdout] 677 | fn get_bond_dim(&self, site: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:681:35 [INFO] [stdout] | [INFO] [stdout] 681 | fn get_largest_bond(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:787:64 [INFO] [stdout] | [INFO] [stdout] 787 | fn expectation(&self, mut zs: Vec, mut xs: Vec) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:804:40 [INFO] [stdout] | [INFO] [stdout] 804 | fn project(&mut self, q: usize) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:809:54 [INFO] [stdout] | [INFO] [stdout] 809 | fn _project(&mut self, q: usize, magic: bool) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:1265:43 [INFO] [stdout] | [INFO] [stdout] 1265 | fn schmidt_values(&self, i: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:1269:44 [INFO] [stdout] | [INFO] [stdout] 1269 | fn get_bond_dim(&self, site: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:1273:35 [INFO] [stdout] | [INFO] [stdout] 1273 | fn get_largest_bond(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:1434:40 [INFO] [stdout] | [INFO] [stdout] 1434 | fn project(&mut self, q: usize) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:1449:64 [INFO] [stdout] | [INFO] [stdout] 1449 | fn expectation(&self, mut zs: Vec, mut xs: Vec) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stabilizer_simulator.rs:312:23 [INFO] [stdout] | [INFO] [stdout] 312 | fn get_zs_tableau(&self) -> ArrayView2 { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 312 | fn get_zs_tableau(&self) -> ArrayView2<'_, i8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stabilizer_simulator.rs:316:23 [INFO] [stdout] | [INFO] [stdout] 316 | fn get_xs_tableau(&self) -> ArrayView2 { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 316 | fn get_xs_tableau(&self) -> ArrayView2<'_, i8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stabilizer_simulator.rs:320:23 [INFO] [stdout] | [INFO] [stdout] 320 | fn get_zd_tableau(&self) -> ArrayView2 { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 320 | fn get_zd_tableau(&self) -> ArrayView2<'_, i8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stabilizer_simulator.rs:324:23 [INFO] [stdout] | [INFO] [stdout] 324 | fn get_xd_tableau(&self) -> ArrayView2 { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 324 | fn get_xd_tableau(&self) -> ArrayView2<'_, i8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stabilizer_simulator.rs:328:22 [INFO] [stdout] | [INFO] [stdout] 328 | fn get_signs_vec(&self) -> ArrayView1 { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 328 | fn get_signs_vec(&self) -> ArrayView1<'_, i8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stabilizer_simulator.rs:332:31 [INFO] [stdout] | [INFO] [stdout] 332 | fn get_stabilizer_tableau(&self) -> ArrayView2 { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 332 | fn get_stabilizer_tableau(&self) -> ArrayView2<'_, i8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stabilizer_simulator.rs:336:33 [INFO] [stdout] | [INFO] [stdout] 336 | fn get_destabilizer_tableau(&self) -> ArrayView2 { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 336 | fn get_destabilizer_tableau(&self) -> ArrayView2<'_, i8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mast` (lib) due to 19 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 52 | fn get_largest_bond(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:88:43 [INFO] [stdout] | [INFO] [stdout] 88 | fn schmidt_values(&self, i: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:111:44 [INFO] [stdout] | [INFO] [stdout] 111 | fn get_bond_dim(&self, site: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:202:43 [INFO] [stdout] | [INFO] [stdout] 202 | fn project(&mut self, site: usize) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:328:45 [INFO] [stdout] | [INFO] [stdout] 328 | fn z_expectation(&self, site: usize) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:336:64 [INFO] [stdout] | [INFO] [stdout] 336 | fn expectation(&self, mut zs: Vec, mut xs: Vec) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:380:25 [INFO] [stdout] | [INFO] [stdout] 380 | fn get_sv(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:397:55 [INFO] [stdout] | [INFO] [stdout] 397 | fn apply_mps(&self, other: MatrixProductState) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:673:43 [INFO] [stdout] | [INFO] [stdout] 673 | fn schmidt_values(&self, i: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:677:44 [INFO] [stdout] | [INFO] [stdout] 677 | fn get_bond_dim(&self, site: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:681:35 [INFO] [stdout] | [INFO] [stdout] 681 | fn get_largest_bond(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:787:64 [INFO] [stdout] | [INFO] [stdout] 787 | fn expectation(&self, mut zs: Vec, mut xs: Vec) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:804:40 [INFO] [stdout] | [INFO] [stdout] 804 | fn project(&mut self, q: usize) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:809:54 [INFO] [stdout] | [INFO] [stdout] 809 | fn _project(&mut self, q: usize, magic: bool) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:1265:43 [INFO] [stdout] | [INFO] [stdout] 1265 | fn schmidt_values(&self, i: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:1269:44 [INFO] [stdout] | [INFO] [stdout] 1269 | fn get_bond_dim(&self, site: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:1273:35 [INFO] [stdout] | [INFO] [stdout] 1273 | fn get_largest_bond(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:1434:40 [INFO] [stdout] | [INFO] [stdout] 1434 | fn project(&mut self, q: usize) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:1449:64 [INFO] [stdout] | [INFO] [stdout] 1449 | fn expectation(&self, mut zs: Vec, mut xs: Vec) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stabilizer_simulator.rs:312:23 [INFO] [stdout] | [INFO] [stdout] 312 | fn get_zs_tableau(&self) -> ArrayView2 { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 312 | fn get_zs_tableau(&self) -> ArrayView2<'_, i8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stabilizer_simulator.rs:316:23 [INFO] [stdout] | [INFO] [stdout] 316 | fn get_xs_tableau(&self) -> ArrayView2 { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 316 | fn get_xs_tableau(&self) -> ArrayView2<'_, i8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stabilizer_simulator.rs:320:23 [INFO] [stdout] | [INFO] [stdout] 320 | fn get_zd_tableau(&self) -> ArrayView2 { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 320 | fn get_zd_tableau(&self) -> ArrayView2<'_, i8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stabilizer_simulator.rs:324:23 [INFO] [stdout] | [INFO] [stdout] 324 | fn get_xd_tableau(&self) -> ArrayView2 { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 324 | fn get_xd_tableau(&self) -> ArrayView2<'_, i8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stabilizer_simulator.rs:328:22 [INFO] [stdout] | [INFO] [stdout] 328 | fn get_signs_vec(&self) -> ArrayView1 { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 328 | fn get_signs_vec(&self) -> ArrayView1<'_, i8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stabilizer_simulator.rs:332:31 [INFO] [stdout] | [INFO] [stdout] 332 | fn get_stabilizer_tableau(&self) -> ArrayView2 { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 332 | fn get_stabilizer_tableau(&self) -> ArrayView2<'_, i8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stabilizer_simulator.rs:336:33 [INFO] [stdout] | [INFO] [stdout] 336 | fn get_destabilizer_tableau(&self) -> ArrayView2 { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 336 | fn get_destabilizer_tableau(&self) -> ArrayView2<'_, i8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mast` (lib test) due to 19 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2ee7f40216c41f4752a31bc4ad74f0836a9d8358d6b8e1844aec6723e082bc05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ee7f40216c41f4752a31bc4ad74f0836a9d8358d6b8e1844aec6723e082bc05", kill_on_drop: false }` [INFO] [stdout] 2ee7f40216c41f4752a31bc4ad74f0836a9d8358d6b8e1844aec6723e082bc05