[INFO] cloning repository https://github.com/j-helland/smoot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/j-helland/smoot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj-helland%2Fsmoot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj-helland%2Fsmoot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 69048668bc64141bac5d9635abe3fdeaf0be0986 [INFO] checking j-helland/smoot 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%2Fj-helland%2Fsmoot" "/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/j-helland/smoot [INFO] finished tweaking git repo https://github.com/j-helland/smoot [INFO] tweaked toml for git repo https://github.com/j-helland/smoot written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/j-helland/smoot 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/j-helland/smoot 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] 1d60995148f5f1731d6f28ce76d46c6a17fe239091823a58ea4f6f71d379bcd4 [INFO] running `Command { std: "docker" "start" "-a" "1d60995148f5f1731d6f28ce76d46c6a17fe239091823a58ea4f6f71d379bcd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d60995148f5f1731d6f28ce76d46c6a17fe239091823a58ea4f6f71d379bcd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d60995148f5f1731d6f28ce76d46c6a17fe239091823a58ea4f6f71d379bcd4", kill_on_drop: false }` [INFO] [stdout] 1d60995148f5f1731d6f28ce76d46c6a17fe239091823a58ea4f6f71d379bcd4 [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] c2254de4efc88bdb1d8ebb794041050fd1cf824b06870e8b9d08b41d57c193b6 [INFO] running `Command { std: "docker" "start" "-a" "c2254de4efc88bdb1d8ebb794041050fd1cf824b06870e8b9d08b41d57c193b6", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Compiling peg-runtime v0.8.5 [INFO] [stderr] Checking unindent v0.2.4 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling cc v1.2.18 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking xxhash-rust v0.8.15 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling peg-macros v0.8.5 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking wide v0.7.32 [INFO] [stderr] Compiling libmimalloc-sys v0.1.41 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling pyo3-build-config v0.24.1 [INFO] [stderr] Checking peg v0.8.5 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Checking mimalloc v0.1.45 [INFO] [stderr] Compiling pyo3-macros-backend v0.24.1 [INFO] [stderr] Compiling pyo3-ffi v0.24.1 [INFO] [stderr] Compiling pyo3 v0.24.1 [INFO] [stderr] Compiling numpy v0.24.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling bitcode_derive v0.6.5 [INFO] [stderr] Compiling hashable v0.1.0 (/opt/rustwide/workdir/hashable) [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking bitcode v0.6.6 [INFO] [stderr] Checking smoot-rs v0.1.0 (/opt/rustwide/workdir/smoot-rs) [INFO] [stderr] Compiling pyo3-macros v0.24.1 [INFO] [stderr] Checking smoot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | fn get(&self) -> Result, PyErr> { [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] 146 | fn get(&self) -> Result, PyErr> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:181:59 [INFO] [stdout] | [INFO] [stdout] 181 | fn is_compatible_with(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1191 | create_unit_type!(Unit, f64); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `create_unit_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:420:57 [INFO] [stdout] | [INFO] [stdout] 420 | fn mul_scalar(&self, scalar: $base_type) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1192 | create_quantity_type!(Unit, F64Quantity, f64, f64); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:532:35 [INFO] [stdout] | [INFO] [stdout] 532 | fn __copy__(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1192 | create_quantity_type!(Unit, F64Quantity, f64, f64); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:536:65 [INFO] [stdout] | [INFO] [stdout] 536 | fn __deepcopy__(&self, _memo: Bound<'_, PyDict>) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1192 | create_quantity_type!(Unit, F64Quantity, f64, f64); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:640:58 [INFO] [stdout] | [INFO] [stdout] 640 | fn __round__(&self, ndigits: Option) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1192 | create_quantity_type!(Unit, F64Quantity, f64, f64); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:646:36 [INFO] [stdout] | [INFO] [stdout] 646 | fn __trunc__(&self) -> i64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1192 | create_quantity_type!(Unit, F64Quantity, f64, f64); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:652:36 [INFO] [stdout] | [INFO] [stdout] 652 | fn __floor__(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1192 | create_quantity_type!(Unit, F64Quantity, f64, f64); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:658:35 [INFO] [stdout] | [INFO] [stdout] 658 | fn __ceil__(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1192 | create_quantity_type!(Unit, F64Quantity, f64, f64); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:689:39 [INFO] [stdout] | [INFO] [stdout] 689 | fn __getstate__(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1192 | create_quantity_type!(Unit, F64Quantity, f64, f64); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(f64,), Infallible> [INFO] [stdout] --> src/lib.rs:693:41 [INFO] [stdout] | [INFO] [stdout] 693 | fn __getnewargs__(&self) -> ($storage_type,) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1192 | create_quantity_type!(Unit, F64Quantity, f64, f64); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:887:36 [INFO] [stdout] | [INFO] [stdout] 887 | fn transpose(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1193 | create_array_quantity_type!(ArrayF64Quantity, Unit, f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_array_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:896:34 [INFO] [stdout] | [INFO] [stdout] 896 | fn flatten(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1193 | create_array_quantity_type!(ArrayF64Quantity, Unit, f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_array_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:926:40 [INFO] [stdout] | [INFO] [stdout] 926 | fn count_nonzero(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1193 | create_array_quantity_type!(ArrayF64Quantity, Unit, f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_array_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:1043:35 [INFO] [stdout] | [INFO] [stdout] 1043 | fn __copy__(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1193 | create_array_quantity_type!(ArrayF64Quantity, Unit, f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_array_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:1047:65 [INFO] [stdout] | [INFO] [stdout] 1047 | fn __deepcopy__(&self, _memo: Bound<'_, PyDict>) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1193 | create_array_quantity_type!(ArrayF64Quantity, Unit, f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_array_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:1051:30 [INFO] [stdout] | [INFO] [stdout] 1051 | fn __iter__(slf: Py, py: Python<'_>) -> PyResult> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1193 | create_array_quantity_type!(ArrayF64Quantity, Unit, f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_array_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:1171:39 [INFO] [stdout] | [INFO] [stdout] 1171 | fn __getstate__(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1193 | create_array_quantity_type!(ArrayF64Quantity, Unit, f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_array_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(pyo3::Bound<'_, PyArray>>,), Infallible> [INFO] [stdout] --> src/lib.rs:1184:18 [INFO] [stdout] | [INFO] [stdout] 1184 | ) -> (Bound<'py, PyArrayDyn<$base_type>>,) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1193 | create_array_quantity_type!(ArrayF64Quantity, Unit, f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_array_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:1202:39 [INFO] [stdout] | [INFO] [stdout] 1202 | fn mul_unit(num: f64, unit: &Unit) -> F64Quantity { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:1209:67 [INFO] [stdout] | [INFO] [stdout] 1209 | fn arr_mul_unit(arr: &Bound<'_, PyArrayDyn>, unit: &Unit) -> ArrayF64Quantity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:1217:39 [INFO] [stdout] | [INFO] [stdout] 1217 | fn div_unit(unit: &Unit, num: f64) -> F64Quantity { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:1224:67 [INFO] [stdout] | [INFO] [stdout] 1224 | fn arr_div_unit(unit: &Unit, arr: &Bound<'_, PyArrayDyn>) -> ArrayF64Quantity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:1232:40 [INFO] [stdout] | [INFO] [stdout] 1232 | fn rdiv_unit(num: f64, unit: &Unit) -> F64Quantity { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:1239:68 [INFO] [stdout] | [INFO] [stdout] 1239 | fn arr_rdiv_unit(arr: &Bound<'_, PyArrayDyn>, unit: &Unit) -> ArrayF64Quantity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `smoot` (lib) due to 24 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | fn get(&self) -> Result, PyErr> { [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] 146 | fn get(&self) -> Result, PyErr> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:181:59 [INFO] [stdout] | [INFO] [stdout] 181 | fn is_compatible_with(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1191 | create_unit_type!(Unit, f64); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `create_unit_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:420:57 [INFO] [stdout] | [INFO] [stdout] 420 | fn mul_scalar(&self, scalar: $base_type) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1192 | create_quantity_type!(Unit, F64Quantity, f64, f64); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:532:35 [INFO] [stdout] | [INFO] [stdout] 532 | fn __copy__(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1192 | create_quantity_type!(Unit, F64Quantity, f64, f64); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:536:65 [INFO] [stdout] | [INFO] [stdout] 536 | fn __deepcopy__(&self, _memo: Bound<'_, PyDict>) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1192 | create_quantity_type!(Unit, F64Quantity, f64, f64); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:640:58 [INFO] [stdout] | [INFO] [stdout] 640 | fn __round__(&self, ndigits: Option) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1192 | create_quantity_type!(Unit, F64Quantity, f64, f64); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:646:36 [INFO] [stdout] | [INFO] [stdout] 646 | fn __trunc__(&self) -> i64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1192 | create_quantity_type!(Unit, F64Quantity, f64, f64); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:652:36 [INFO] [stdout] | [INFO] [stdout] 652 | fn __floor__(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1192 | create_quantity_type!(Unit, F64Quantity, f64, f64); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:658:35 [INFO] [stdout] | [INFO] [stdout] 658 | fn __ceil__(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1192 | create_quantity_type!(Unit, F64Quantity, f64, f64); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:689:39 [INFO] [stdout] | [INFO] [stdout] 689 | fn __getstate__(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1192 | create_quantity_type!(Unit, F64Quantity, f64, f64); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(f64,), Infallible> [INFO] [stdout] --> src/lib.rs:693:41 [INFO] [stdout] | [INFO] [stdout] 693 | fn __getnewargs__(&self) -> ($storage_type,) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1192 | create_quantity_type!(Unit, F64Quantity, f64, f64); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:887:36 [INFO] [stdout] | [INFO] [stdout] 887 | fn transpose(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1193 | create_array_quantity_type!(ArrayF64Quantity, Unit, f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_array_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:896:34 [INFO] [stdout] | [INFO] [stdout] 896 | fn flatten(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1193 | create_array_quantity_type!(ArrayF64Quantity, Unit, f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_array_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:926:40 [INFO] [stdout] | [INFO] [stdout] 926 | fn count_nonzero(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1193 | create_array_quantity_type!(ArrayF64Quantity, Unit, f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_array_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:1043:35 [INFO] [stdout] | [INFO] [stdout] 1043 | fn __copy__(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1193 | create_array_quantity_type!(ArrayF64Quantity, Unit, f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_array_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:1047:65 [INFO] [stdout] | [INFO] [stdout] 1047 | fn __deepcopy__(&self, _memo: Bound<'_, PyDict>) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1193 | create_array_quantity_type!(ArrayF64Quantity, Unit, f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_array_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:1051:30 [INFO] [stdout] | [INFO] [stdout] 1051 | fn __iter__(slf: Py, py: Python<'_>) -> PyResult> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1193 | create_array_quantity_type!(ArrayF64Quantity, Unit, f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_array_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:1171:39 [INFO] [stdout] | [INFO] [stdout] 1171 | fn __getstate__(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1193 | create_array_quantity_type!(ArrayF64Quantity, Unit, f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_array_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(pyo3::Bound<'_, PyArray>>,), Infallible> [INFO] [stdout] --> src/lib.rs:1184:18 [INFO] [stdout] | [INFO] [stdout] 1184 | ) -> (Bound<'py, PyArrayDyn<$base_type>>,) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1193 | create_array_quantity_type!(ArrayF64Quantity, Unit, f64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_array_quantity_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:1202:39 [INFO] [stdout] | [INFO] [stdout] 1202 | fn mul_unit(num: f64, unit: &Unit) -> F64Quantity { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:1209:67 [INFO] [stdout] | [INFO] [stdout] 1209 | fn arr_mul_unit(arr: &Bound<'_, PyArrayDyn>, unit: &Unit) -> ArrayF64Quantity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:1217:39 [INFO] [stdout] | [INFO] [stdout] 1217 | fn div_unit(unit: &Unit, num: f64) -> F64Quantity { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:1224:67 [INFO] [stdout] | [INFO] [stdout] 1224 | fn arr_div_unit(unit: &Unit, arr: &Bound<'_, PyArrayDyn>) -> ArrayF64Quantity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:1232:40 [INFO] [stdout] | [INFO] [stdout] 1232 | fn rdiv_unit(num: f64, unit: &Unit) -> F64Quantity { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:1239:68 [INFO] [stdout] | [INFO] [stdout] 1239 | fn arr_rdiv_unit(arr: &Bound<'_, PyArrayDyn>, unit: &Unit) -> ArrayF64Quantity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `smoot` (lib test) due to 24 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c2254de4efc88bdb1d8ebb794041050fd1cf824b06870e8b9d08b41d57c193b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2254de4efc88bdb1d8ebb794041050fd1cf824b06870e8b9d08b41d57c193b6", kill_on_drop: false }` [INFO] [stdout] c2254de4efc88bdb1d8ebb794041050fd1cf824b06870e8b9d08b41d57c193b6