[INFO] cloning repository https://github.com/snqre/math [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/snqre/math" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnqre%2Fmath", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnqre%2Fmath'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f60cb49ee33b19e396d522ec0ee91d0cbabc0477 [INFO] checking snqre/math against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnqre%2Fmath" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/snqre/math [INFO] finished tweaking git repo https://github.com/snqre/math [INFO] tweaked toml for git repo https://github.com/snqre/math written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/snqre/math on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/snqre/math 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/snqre/toga.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml_write v0.1.1 [INFO] [stderr] Downloaded rstest v0.25.0 [INFO] [stderr] Downloaded parity-scale-codec v3.7.4 [INFO] [stderr] Downloaded parity-scale-codec-derive v3.7.4 [INFO] [stderr] Downloaded docify v0.2.9 [INFO] [stderr] Downloaded docify_macros v0.2.9 [INFO] [stderr] Downloaded common-path v1.0.0 [INFO] [stderr] Downloaded array-bytes v6.2.3 [INFO] [stderr] Downloaded xcm-procedural v8.0.0 [INFO] [stderr] Downloaded bounded-collections v0.2.4 [INFO] [stderr] Downloaded getrandom_or_panic v0.0.3 [INFO] [stderr] Downloaded polkavm-derive-impl-macro v0.9.0 [INFO] [stderr] Downloaded const_env_impl v0.1.2 [INFO] [stderr] Downloaded array-init v2.1.0 [INFO] [stderr] Downloaded scale-decode-derive v0.11.1 [INFO] [stderr] Downloaded scale-type-resolver v0.1.1 [INFO] [stderr] Downloaded linkme v0.3.32 [INFO] [stderr] Downloaded ink_env v5.1.1 [INFO] [stderr] Downloaded const_env v0.1.2 [INFO] [stderr] Downloaded secp256k1 v0.28.2 [INFO] [stderr] Downloaded toml v0.8.22 [INFO] [stderr] Downloaded staging-xcm v11.0.0 [INFO] [stderr] Downloaded rstest_macros v0.25.0 [INFO] [stderr] Downloaded cc v1.2.21 [INFO] [stderr] Downloaded toml_edit v0.22.26 [INFO] [stderr] Downloaded criterion v0.4.0 [INFO] [stderr] Downloaded ink_allocator v5.1.1 [INFO] [stderr] Downloaded ink_engine v5.1.1 [INFO] [stderr] Downloaded rlibc v1.0.0 [INFO] [stderr] Downloaded scale-encode v0.6.0 [INFO] [stderr] Downloaded ink_codegen v5.1.1 [INFO] [stderr] Downloaded ink v5.1.1 [INFO] [stderr] Downloaded ink_storage v5.1.1 [INFO] [stderr] Downloaded sp-debug-derive v14.0.0 [INFO] [stderr] Downloaded sp-weights v31.1.0 [INFO] [stderr] Downloaded versal v0.1.0 [INFO] [stderr] Downloaded secp256k1-sys v0.9.2 [INFO] [stderr] Downloaded ink_ir v5.1.1 [INFO] [stderr] Downloaded ink_macro v5.1.1 [INFO] [stderr] Downloaded sp-arithmetic v26.1.0 [INFO] [stderr] Downloaded schnorrkel v0.11.4 [INFO] [stderr] Downloaded ink_metadata v5.1.1 [INFO] [stderr] Downloaded scale-decode v0.11.1 [INFO] [stderr] Downloaded polkavm-derive-impl v0.9.0 [INFO] [stderr] Downloaded polkavm-derive v0.9.1 [INFO] [stderr] Downloaded linkme-impl v0.3.32 [INFO] [stderr] Downloaded ink_prelude v5.1.1 [INFO] [stderr] Downloaded scale-bits v0.5.0 [INFO] [stderr] Downloaded environmental v1.1.4 [INFO] [stderr] Downloaded ink_primitives v5.1.1 [INFO] [stderr] Downloaded scale-encode-derive v0.6.0 [INFO] [stderr] Downloaded ink_storage_traits v5.1.1 [INFO] [stderr] Downloaded polkavm-common v0.9.0 [INFO] [stderr] Downloaded pallet-contracts-uapi v9.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11ba6c0c45ced9a0e5854e60348fa6165a258b252154bba6543a0771864b0b7e [INFO] running `Command { std: "docker" "start" "-a" "11ba6c0c45ced9a0e5854e60348fa6165a258b252154bba6543a0771864b0b7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11ba6c0c45ced9a0e5854e60348fa6165a258b252154bba6543a0771864b0b7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11ba6c0c45ced9a0e5854e60348fa6165a258b252154bba6543a0771864b0b7e", kill_on_drop: false }` [INFO] [stdout] 11ba6c0c45ced9a0e5854e60348fa6165a258b252154bba6543a0771864b0b7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be0f37f8c641449d3737cb99c90d03b67cb8b9abec7f387d5a7f39cef8ec2f44 [INFO] running `Command { std: "docker" "start" "-a" "be0f37f8c641449d3737cb99c90d03b67cb8b9abec7f387d5a7f39cef8ec2f44", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling toml_write v0.1.1 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Checking dyn-clone v1.0.19 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking scale-type-resolver v0.1.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Compiling linkme-impl v0.3.32 [INFO] [stderr] Checking ink_prelude v5.1.1 [INFO] [stderr] Checking xxhash-rust v0.8.15 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking pallet-contracts-uapi v9.0.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking environmental v1.1.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking array-bytes v6.2.3 [INFO] [stderr] Compiling rstest_macros v0.25.0 [INFO] [stderr] Checking ink_allocator v5.1.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling parity-scale-codec v3.7.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking versal v0.1.0 [INFO] [stderr] Checking getrandom_or_panic v0.0.3 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling const_env_impl v0.1.2 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling const_env v0.1.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling xcm-procedural v8.0.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling toga v0.1.2 (https://github.com/snqre/toga.git#67f8c2e6) [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking linkme v0.3.32 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling scale-decode-derive v0.11.1 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking schnorrkel v0.11.4 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling ink_ir v5.1.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.4 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Compiling scale-encode-derive v0.6.0 [INFO] [stderr] Checking docify v0.2.9 [INFO] [stderr] Compiling scale-bits v0.5.0 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling scale-encode v0.6.0 [INFO] [stderr] Compiling scale-decode v0.11.1 [INFO] [stderr] Checking rstest v0.25.0 [INFO] [stderr] Checking bounded-collections v0.2.4 [INFO] [stderr] Checking sp-arithmetic v26.1.0 [INFO] [stderr] Checking ink_primitives v5.1.1 [INFO] [stderr] Checking ink_metadata v5.1.1 [INFO] [stderr] Checking ink_engine v5.1.1 [INFO] [stderr] Compiling ink_codegen v5.1.1 [INFO] [stderr] Checking sp-weights v31.1.0 [INFO] [stderr] Checking staging-xcm v11.0.0 [INFO] [stderr] Checking ink_storage_traits v5.1.1 [INFO] [stderr] Compiling ink_macro v5.1.1 [INFO] [stderr] Checking ink_env v5.1.1 [INFO] [stderr] Checking ink_storage v5.1.1 [INFO] [stderr] Checking ink v5.1.1 [INFO] [stderr] Checking math v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `zero` in module `q` [INFO] [stdout] --> src/coordinate/point_n.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | let mut sum = q::zero(); [INFO] [stdout] | ^^^^ not found in `q` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use num_traits::zero; [INFO] [stdout] | [INFO] [stdout] help: if you import `zero`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 15 - let mut sum = q::zero(); [INFO] [stdout] 15 + let mut sum = zero(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `zero` in module `q` [INFO] [stdout] --> src/coordinate/point_n.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | let mut sum = q::zero(); [INFO] [stdout] | ^^^^ not found in `q` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use num_traits::zero; [INFO] [stdout] | [INFO] [stdout] help: if you import `zero`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 15 - let mut sum = q::zero(); [INFO] [stdout] 15 + let mut sum = zero(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `common::q::Q` with `common::q::Q` [INFO] [stdout] --> src/common/q/ord_impl.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | impl Ord for Q [INFO] [stdout] | ^^^^^^^^^^ no implementation for `common::q::Q < common::q::Q` and `common::q::Q > common::q::Q` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialOrd` is not implemented for `common::q::Q` [INFO] [stdout] note: required by a bound in `Ord` [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/core/src/cmp.rs:961:1 [INFO] [stdout] help: consider annotating `common::q::Q` with `#[derive(PartialOrd)]` [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75+ #[derive(PartialOrd)] [INFO] [stdout] 76| pub struct Q [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `common::q::Q` with `common::q::Q` [INFO] [stdout] --> src/common/q/ord_impl.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | impl Ord for Q [INFO] [stdout] | ^^^^^^^^^^ no implementation for `common::q::Q < common::q::Q` and `common::q::Q > common::q::Q` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialOrd` is not implemented for `common::q::Q` [INFO] [stdout] note: required by a bound in `Ord` [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/core/src/cmp.rs:961:1 [INFO] [stdout] help: consider annotating `common::q::Q` with `#[derive(PartialOrd)]` [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75+ #[derive(PartialOrd)] [INFO] [stdout] 76| pub struct Q [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::q::Q: core::cmp::Eq` is not satisfied [INFO] [stdout] --> src/common/q/ord_impl.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | impl Ord for Q [INFO] [stdout] | ^^^^^^^^^^ the trait `core::cmp::Eq` is not implemented for `common::q::Q` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Ord` [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/core/src/cmp.rs:961:1 [INFO] [stdout] help: consider annotating `common::q::Q` with `#[derive(Eq)]` [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75+ #[derive(Eq)] [INFO] [stdout] 76| pub struct Q [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::q::Q: core::cmp::Eq` is not satisfied [INFO] [stdout] --> src/common/q/ord_impl.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | impl Ord for Q [INFO] [stdout] | ^^^^^^^^^^ the trait `core::cmp::Eq` is not implemented for `common::q::Q` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Ord` [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/core/src/cmp.rs:961:1 [INFO] [stdout] help: consider annotating `common::q::Q` with `#[derive(Eq)]` [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75+ #[derive(Eq)] [INFO] [stdout] 76| pub struct Q [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 4 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> src/coordinate/point_2d.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | impl Point for Point2D [INFO] [stdout] | ^^^^^ - - - supplied 3 generic arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 generic arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 4 generic parameters: `A`, `B`, `C`, `D` [INFO] [stdout] --> src/coordinate/mod.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait Point [INFO] [stdout] | ^^^^^ -------------- ----------- - - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 30 | impl Point for Point2D [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 4 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> src/coordinate/point_3d.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | impl Point for Point3D [INFO] [stdout] | ^^^^^ - - - supplied 3 generic arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 generic arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 4 generic parameters: `A`, `B`, `C`, `D` [INFO] [stdout] --> src/coordinate/mod.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait Point [INFO] [stdout] | ^^^^^ -------------- ----------- - - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 19 | impl Point for Point3D [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 4 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> src/coordinate/point_4d.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | impl Point for Point4D [INFO] [stdout] | ^^^^^ - - - supplied 3 generic arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 generic arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 4 generic parameters: `A`, `B`, `C`, `D` [INFO] [stdout] --> src/coordinate/mod.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait Point [INFO] [stdout] | ^^^^^ -------------- ----------- - - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 16 | impl Point for Point4D [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 4 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> src/coordinate/point_n.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 10 | impl Point for PointN [INFO] [stdout] | ^^^^^ - - - supplied 3 generic arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 generic arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 4 generic parameters: `A`, `B`, `C`, `D` [INFO] [stdout] --> src/coordinate/mod.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait Point [INFO] [stdout] | ^^^^^ -------------- ----------- - - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 10 | impl Point for PointN [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 4 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> src/coordinate/point_2d.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | impl Point for Point2D [INFO] [stdout] | ^^^^^ - - - supplied 3 generic arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 generic arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 4 generic parameters: `A`, `B`, `C`, `D` [INFO] [stdout] --> src/coordinate/mod.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait Point [INFO] [stdout] | ^^^^^ -------------- ----------- - - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 30 | impl Point for Point2D [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 4 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> src/coordinate/point_3d.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | impl Point for Point3D [INFO] [stdout] | ^^^^^ - - - supplied 3 generic arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 generic arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 4 generic parameters: `A`, `B`, `C`, `D` [INFO] [stdout] --> src/coordinate/mod.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait Point [INFO] [stdout] | ^^^^^ -------------- ----------- - - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 19 | impl Point for Point3D [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 4 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> src/coordinate/point_4d.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | impl Point for Point4D [INFO] [stdout] | ^^^^^ - - - supplied 3 generic arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 generic arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 4 generic parameters: `A`, `B`, `C`, `D` [INFO] [stdout] --> src/coordinate/mod.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait Point [INFO] [stdout] | ^^^^^ -------------- ----------- - - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 16 | impl Point for Point4D [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 4 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> src/coordinate/point_n.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 10 | impl Point for PointN [INFO] [stdout] | ^^^^^ - - - supplied 3 generic arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 generic arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 4 generic parameters: `A`, `B`, `C`, `D` [INFO] [stdout] --> src/coordinate/mod.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait Point [INFO] [stdout] | ^^^^^ -------------- ----------- - - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 10 | impl Point for PointN [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `<` cannot be applied to type `common::q::Q` [INFO] [stdout] --> src/common/q/ord_impl.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | if self < min { [INFO] [stdout] | ---- ^ --- common::q::Q [INFO] [stdout] | | [INFO] [stdout] | common::q::Q [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd` might be missing for `common::q::Q` [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialOrd` [INFO] [stdout] help: consider annotating `common::q::Q` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 + #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 76 | pub struct Q [INFO] [stdout] | [INFO] [stdout] help: consider extending the `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 6 | C: Engine, common::q::Q: PartialOrd { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `>` cannot be applied to type `common::q::Q` [INFO] [stdout] --> src/common/q/ord_impl.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | if self > max { [INFO] [stdout] | ---- ^ --- common::q::Q [INFO] [stdout] | | [INFO] [stdout] | common::q::Q [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd` might be missing for `common::q::Q` [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialOrd` [INFO] [stdout] help: consider annotating `common::q::Q` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 + #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 76 | pub struct Q [INFO] [stdout] | [INFO] [stdout] help: consider extending the `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 6 | C: Engine, common::q::Q: PartialOrd { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `<` cannot be applied to type `common::q::Q` [INFO] [stdout] --> src/common/q/ord_impl.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | if self < other { [INFO] [stdout] | ---- ^ ----- common::q::Q [INFO] [stdout] | | [INFO] [stdout] | common::q::Q [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd` might be missing for `common::q::Q` [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialOrd` [INFO] [stdout] help: consider annotating `common::q::Q` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 + #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 76 | pub struct Q [INFO] [stdout] | [INFO] [stdout] help: consider extending the `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 6 | C: Engine, common::q::Q: PartialOrd { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `<` cannot be applied to type `common::q::Q` [INFO] [stdout] --> src/common/q/ord_impl.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | if self < min { [INFO] [stdout] | ---- ^ --- common::q::Q [INFO] [stdout] | | [INFO] [stdout] | common::q::Q [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd` might be missing for `common::q::Q` [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialOrd` [INFO] [stdout] help: consider annotating `common::q::Q` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 + #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 76 | pub struct Q [INFO] [stdout] | [INFO] [stdout] help: consider extending the `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 6 | C: Engine, common::q::Q: PartialOrd { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `>` cannot be applied to type `common::q::Q` [INFO] [stdout] --> src/common/q/ord_impl.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | if self > max { [INFO] [stdout] | ---- ^ --- common::q::Q [INFO] [stdout] | | [INFO] [stdout] | common::q::Q [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd` might be missing for `common::q::Q` [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialOrd` [INFO] [stdout] help: consider annotating `common::q::Q` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 + #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 76 | pub struct Q [INFO] [stdout] | [INFO] [stdout] help: consider extending the `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 6 | C: Engine, common::q::Q: PartialOrd { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `>` cannot be applied to type `common::q::Q` [INFO] [stdout] --> src/common/q/ord_impl.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | if self > other { [INFO] [stdout] | ---- ^ ----- common::q::Q [INFO] [stdout] | | [INFO] [stdout] | common::q::Q [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd` might be missing for `common::q::Q` [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialOrd` [INFO] [stdout] help: consider annotating `common::q::Q` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 + #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 76 | pub struct Q [INFO] [stdout] | [INFO] [stdout] help: consider extending the `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 6 | C: Engine, common::q::Q: PartialOrd { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `<` cannot be applied to type `common::q::Q` [INFO] [stdout] --> src/common/q/ord_impl.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | if self < other { [INFO] [stdout] | ---- ^ ----- common::q::Q [INFO] [stdout] | | [INFO] [stdout] | common::q::Q [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd` might be missing for `common::q::Q` [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialOrd` [INFO] [stdout] help: consider annotating `common::q::Q` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 + #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 76 | pub struct Q [INFO] [stdout] | [INFO] [stdout] help: consider extending the `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 6 | C: Engine, common::q::Q: PartialOrd { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `>` cannot be applied to type `common::q::Q` [INFO] [stdout] --> src/common/q/ord_impl.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | if self > other { [INFO] [stdout] | ---- ^ ----- common::q::Q [INFO] [stdout] | | [INFO] [stdout] | common::q::Q [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd` might be missing for `common::q::Q` [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialOrd` [INFO] [stdout] help: consider annotating `common::q::Q` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 + #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 76 | pub struct Q [INFO] [stdout] | [INFO] [stdout] help: consider extending the `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 6 | C: Engine, common::q::Q: PartialOrd { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `<` cannot be applied to type `&common::q::Q` [INFO] [stdout] --> src/common/q/ord_impl.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | if self < other { [INFO] [stdout] | ---- ^ ----- &common::q::Q [INFO] [stdout] | | [INFO] [stdout] | &common::q::Q [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd` might be missing for `common::q::Q` [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialOrd` [INFO] [stdout] help: consider annotating `common::q::Q` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 + #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 76 | pub struct Q [INFO] [stdout] | [INFO] [stdout] help: consider extending the `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 6 | C: Engine, common::q::Q: PartialOrd { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `>` cannot be applied to type `&common::q::Q` [INFO] [stdout] --> src/common/q/ord_impl.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | if self > other { [INFO] [stdout] | ---- ^ ----- &common::q::Q [INFO] [stdout] | | [INFO] [stdout] | &common::q::Q [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd` might be missing for `common::q::Q` [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialOrd` [INFO] [stdout] help: consider annotating `common::q::Q` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 + #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 76 | pub struct Q [INFO] [stdout] | [INFO] [stdout] help: consider extending the `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 6 | C: Engine, common::q::Q: PartialOrd { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `<` cannot be applied to type `&common::q::Q` [INFO] [stdout] --> src/common/q/ord_impl.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | if self < other { [INFO] [stdout] | ---- ^ ----- &common::q::Q [INFO] [stdout] | | [INFO] [stdout] | &common::q::Q [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd` might be missing for `common::q::Q` [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialOrd` [INFO] [stdout] help: consider annotating `common::q::Q` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 + #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 76 | pub struct Q [INFO] [stdout] | [INFO] [stdout] help: consider extending the `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 6 | C: Engine, common::q::Q: PartialOrd { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `>` cannot be applied to type `&common::q::Q` [INFO] [stdout] --> src/common/q/ord_impl.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | if self > other { [INFO] [stdout] | ---- ^ ----- &common::q::Q [INFO] [stdout] | | [INFO] [stdout] | &common::q::Q [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd` might be missing for `common::q::Q` [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialOrd` [INFO] [stdout] help: consider annotating `common::q::Q` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 + #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 76 | pub struct Q [INFO] [stdout] | [INFO] [stdout] help: consider extending the `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 6 | C: Engine, common::q::Q: PartialOrd { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `common::q::Q`, but its trait bounds were not satisfied [INFO] [stdout] --> src/coordinate/point_3d.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | let dx = other.x.clone() - self.x.clone(); [INFO] [stdout] | ^^^^^ method cannot be called on `common::q::Q` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ------------------------------- method `clone` not found for this struct because it doesn't satisfy `common::q::Q: Clone` [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Clone` was not satisfied [INFO] [stdout] --> src/common/q/mod.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] help: consider restricting the type parameter to satisfy the trait bound [INFO] [stdout] --> src/common/q/mod.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | C: Engine, C: Clone { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `common::q::Q`, but its trait bounds were not satisfied [INFO] [stdout] --> src/coordinate/point_3d.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | let dx = other.x.clone() - self.x.clone(); [INFO] [stdout] | ^^^^^ method cannot be called on `common::q::Q` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ------------------------------- method `clone` not found for this struct because it doesn't satisfy `common::q::Q: Clone` [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Clone` was not satisfied [INFO] [stdout] --> src/common/q/mod.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] help: consider restricting the type parameter to satisfy the trait bound [INFO] [stdout] --> src/common/q/mod.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | C: Engine, C: Clone { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `common::q::Q`, but its trait bounds were not satisfied [INFO] [stdout] --> src/coordinate/point_3d.rs:24:43 [INFO] [stdout] | [INFO] [stdout] 24 | let dx = other.x.clone() - self.x.clone(); [INFO] [stdout] | ^^^^^ method cannot be called on `common::q::Q` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ------------------------------- method `clone` not found for this struct because it doesn't satisfy `common::q::Q: Clone` [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Clone` was not satisfied [INFO] [stdout] --> src/common/q/mod.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] help: consider restricting the type parameter to satisfy the trait bound [INFO] [stdout] --> src/common/q/mod.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | C: Engine, C: Clone { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `common::q::Q`, but its trait bounds were not satisfied [INFO] [stdout] --> src/coordinate/point_3d.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | let dy = other.y.clone() - self.y.clone(); [INFO] [stdout] | ^^^^^ method cannot be called on `common::q::Q` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ------------------------------- method `clone` not found for this struct because it doesn't satisfy `common::q::Q: Clone` [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Clone` was not satisfied [INFO] [stdout] --> src/common/q/mod.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] help: consider restricting the type parameter to satisfy the trait bound [INFO] [stdout] --> src/common/q/mod.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | C: Engine, C: Clone { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `common::q::Q`, but its trait bounds were not satisfied [INFO] [stdout] --> src/coordinate/point_3d.rs:24:43 [INFO] [stdout] | [INFO] [stdout] 24 | let dx = other.x.clone() - self.x.clone(); [INFO] [stdout] | ^^^^^ method cannot be called on `common::q::Q` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ------------------------------- method `clone` not found for this struct because it doesn't satisfy `common::q::Q: Clone` [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Clone` was not satisfied [INFO] [stdout] --> src/common/q/mod.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] help: consider restricting the type parameter to satisfy the trait bound [INFO] [stdout] --> src/common/q/mod.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | C: Engine, C: Clone { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `common::q::Q`, but its trait bounds were not satisfied [INFO] [stdout] --> src/coordinate/point_3d.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | let dy = other.y.clone() - self.y.clone(); [INFO] [stdout] | ^^^^^ method cannot be called on `common::q::Q` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ------------------------------- method `clone` not found for this struct because it doesn't satisfy `common::q::Q: Clone` [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Clone` was not satisfied [INFO] [stdout] --> src/common/q/mod.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] help: consider restricting the type parameter to satisfy the trait bound [INFO] [stdout] --> src/common/q/mod.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | C: Engine, C: Clone { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `common::q::Q`, but its trait bounds were not satisfied [INFO] [stdout] --> src/coordinate/point_3d.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let dz = other.z.clone() - self.z.clone(); [INFO] [stdout] | ^^^^^ method cannot be called on `common::q::Q` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ------------------------------- method `clone` not found for this struct because it doesn't satisfy `common::q::Q: Clone` [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Clone` was not satisfied [INFO] [stdout] --> src/common/q/mod.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] help: consider restricting the type parameter to satisfy the trait bound [INFO] [stdout] --> src/common/q/mod.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | C: Engine, C: Clone { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `common::q::Q`, but its trait bounds were not satisfied [INFO] [stdout] --> src/coordinate/point_3d.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | let dy = other.y.clone() - self.y.clone(); [INFO] [stdout] | ^^^^^ method cannot be called on `common::q::Q` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ------------------------------- method `clone` not found for this struct because it doesn't satisfy `common::q::Q: Clone` [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Clone` was not satisfied [INFO] [stdout] --> src/common/q/mod.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] help: consider restricting the type parameter to satisfy the trait bound [INFO] [stdout] --> src/common/q/mod.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | C: Engine, C: Clone { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `common::q::Q`, but its trait bounds were not satisfied [INFO] [stdout] --> src/coordinate/point_3d.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | let dz = other.z.clone() - self.z.clone(); [INFO] [stdout] | ^^^^^ method cannot be called on `common::q::Q` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ------------------------------- method `clone` not found for this struct because it doesn't satisfy `common::q::Q: Clone` [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Clone` was not satisfied [INFO] [stdout] --> src/common/q/mod.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] help: consider restricting the type parameter to satisfy the trait bound [INFO] [stdout] --> src/common/q/mod.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | C: Engine, C: Clone { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `common::q::Q`, but its trait bounds were not satisfied [INFO] [stdout] --> src/coordinate/point_3d.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | let dy = other.y.clone() - self.y.clone(); [INFO] [stdout] | ^^^^^ method cannot be called on `common::q::Q` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ------------------------------- method `clone` not found for this struct because it doesn't satisfy `common::q::Q: Clone` [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Clone` was not satisfied [INFO] [stdout] --> src/common/q/mod.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] help: consider restricting the type parameter to satisfy the trait bound [INFO] [stdout] --> src/common/q/mod.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | C: Engine, C: Clone { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_engine` found for enum `coordinate::Error` in the current scope [INFO] [stdout] --> src/coordinate/point_3d.rs:34:41 [INFO] [stdout] | [INFO] [stdout] 34 | C::sqrt(sum).map_err(|e| Error::from_engine(e)) [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `coordinate::Error` [INFO] [stdout] | [INFO] [stdout] ::: src/coordinate/mod.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `from_engine` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `common::q::Q`, but its trait bounds were not satisfied [INFO] [stdout] --> src/coordinate/point_3d.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let dz = other.z.clone() - self.z.clone(); [INFO] [stdout] | ^^^^^ method cannot be called on `common::q::Q` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ------------------------------- method `clone` not found for this struct because it doesn't satisfy `common::q::Q: Clone` [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Clone` was not satisfied [INFO] [stdout] --> src/common/q/mod.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] help: consider restricting the type parameter to satisfy the trait bound [INFO] [stdout] --> src/common/q/mod.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | C: Engine, C: Clone { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `common::q::Q`, but its trait bounds were not satisfied [INFO] [stdout] --> src/coordinate/point_3d.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | let dz = other.z.clone() - self.z.clone(); [INFO] [stdout] | ^^^^^ method cannot be called on `common::q::Q` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ------------------------------- method `clone` not found for this struct because it doesn't satisfy `common::q::Q: Clone` [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Clone` was not satisfied [INFO] [stdout] --> src/common/q/mod.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] help: consider restricting the type parameter to satisfy the trait bound [INFO] [stdout] --> src/common/q/mod.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | C: Engine, C: Clone { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_int` found for struct `common::q::Q` in the current scope [INFO] [stdout] --> src/coordinate/point_4d.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | let t1 = q::Q::::from_int(self.timestamp.clone())?; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `common::q::Q` [INFO] [stdout] | [INFO] [stdout] ::: src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ------------------------------- function or associated item `from_int` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `common::q::Q`, consider using `common::q::Q::::new` which returns `common::q::Q<_, _, _>` [INFO] [stdout] --> src/common/q/mod.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn new(v: B) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 22 - let t1 = q::Q::::from_int(self.timestamp.clone())?; [INFO] [stdout] 22 + let t1 = q::Q::::from(self.timestamp.clone())?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_int` found for struct `common::q::Q` in the current scope [INFO] [stdout] --> src/coordinate/point_4d.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | let t2 = q::Q::::from_int(other.timestamp.clone())?; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `common::q::Q` [INFO] [stdout] | [INFO] [stdout] ::: src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ------------------------------- function or associated item `from_int` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `common::q::Q`, consider using `common::q::Q::::new` which returns `common::q::Q<_, _, _>` [INFO] [stdout] --> src/common/q/mod.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn new(v: B) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 23 - let t2 = q::Q::::from_int(other.timestamp.clone())?; [INFO] [stdout] 23 + let t2 = q::Q::::from(other.timestamp.clone())?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_engine` found for enum `coordinate::Error` in the current scope [INFO] [stdout] --> src/coordinate/point_3d.rs:34:41 [INFO] [stdout] | [INFO] [stdout] 34 | C::sqrt(sum).map_err(|e| Error::from_engine(e)) [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `coordinate::Error` [INFO] [stdout] | [INFO] [stdout] ::: src/coordinate/mod.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `from_engine` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `common::q::Q`, but its trait bounds were not satisfied [INFO] [stdout] --> src/coordinate/point_4d.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let dx = other.x.clone() - self.x.clone(); [INFO] [stdout] | ^^^^^ method cannot be called on `common::q::Q` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ------------------------------- method `clone` not found for this struct because it doesn't satisfy `common::q::Q: Clone` [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Clone` was not satisfied [INFO] [stdout] --> src/common/q/mod.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] help: consider restricting the type parameter to satisfy the trait bound [INFO] [stdout] --> src/common/q/mod.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | C: Engine, C: Clone { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `common::q::Q`, but its trait bounds were not satisfied [INFO] [stdout] --> src/coordinate/point_4d.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | let dx = other.x.clone() - self.x.clone(); [INFO] [stdout] | ^^^^^ method cannot be called on `common::q::Q` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ------------------------------- method `clone` not found for this struct because it doesn't satisfy `common::q::Q: Clone` [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Clone` was not satisfied [INFO] [stdout] --> src/common/q/mod.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] help: consider restricting the type parameter to satisfy the trait bound [INFO] [stdout] --> src/common/q/mod.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | C: Engine, C: Clone { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_int` found for struct `common::q::Q` in the current scope [INFO] [stdout] --> src/coordinate/point_4d.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | let t1 = q::Q::::from_int(self.timestamp.clone())?; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `common::q::Q` [INFO] [stdout] | [INFO] [stdout] ::: src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ------------------------------- function or associated item `from_int` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `common::q::Q`, consider using `common::q::Q::::new` which returns `common::q::Q<_, _, _>` [INFO] [stdout] --> src/common/q/mod.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn new(v: B) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 22 - let t1 = q::Q::::from_int(self.timestamp.clone())?; [INFO] [stdout] 22 + let t1 = q::Q::::from(self.timestamp.clone())?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `common::q::Q`, but its trait bounds were not satisfied [INFO] [stdout] --> src/coordinate/point_4d.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | let dy = other.y.clone() - self.y.clone(); [INFO] [stdout] | ^^^^^ method cannot be called on `common::q::Q` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ------------------------------- method `clone` not found for this struct because it doesn't satisfy `common::q::Q: Clone` [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Clone` was not satisfied [INFO] [stdout] --> src/common/q/mod.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] help: consider restricting the type parameter to satisfy the trait bound [INFO] [stdout] --> src/common/q/mod.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | C: Engine, C: Clone { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `common::q::Q`, but its trait bounds were not satisfied [INFO] [stdout] --> src/coordinate/point_4d.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let dy = other.y.clone() - self.y.clone(); [INFO] [stdout] | ^^^^^ method cannot be called on `common::q::Q` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ------------------------------- method `clone` not found for this struct because it doesn't satisfy `common::q::Q: Clone` [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Clone` was not satisfied [INFO] [stdout] --> src/common/q/mod.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] help: consider restricting the type parameter to satisfy the trait bound [INFO] [stdout] --> src/common/q/mod.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | C: Engine, C: Clone { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_int` found for struct `common::q::Q` in the current scope [INFO] [stdout] --> src/coordinate/point_4d.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | let t2 = q::Q::::from_int(other.timestamp.clone())?; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `common::q::Q` [INFO] [stdout] | [INFO] [stdout] ::: src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ------------------------------- function or associated item `from_int` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `common::q::Q`, consider using `common::q::Q::::new` which returns `common::q::Q<_, _, _>` [INFO] [stdout] --> src/common/q/mod.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn new(v: B) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 23 - let t2 = q::Q::::from_int(other.timestamp.clone())?; [INFO] [stdout] 23 + let t2 = q::Q::::from(other.timestamp.clone())?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `common::q::Q`, but its trait bounds were not satisfied [INFO] [stdout] --> src/coordinate/point_4d.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | let dz = other.z.clone() - self.z.clone(); [INFO] [stdout] | ^^^^^ method cannot be called on `common::q::Q` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ------------------------------- method `clone` not found for this struct because it doesn't satisfy `common::q::Q: Clone` [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Clone` was not satisfied [INFO] [stdout] --> src/common/q/mod.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] help: consider restricting the type parameter to satisfy the trait bound [INFO] [stdout] --> src/common/q/mod.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | C: Engine, C: Clone { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `common::q::Q`, but its trait bounds were not satisfied [INFO] [stdout] --> src/coordinate/point_4d.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let dx = other.x.clone() - self.x.clone(); [INFO] [stdout] | ^^^^^ method cannot be called on `common::q::Q` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ------------------------------- method `clone` not found for this struct because it doesn't satisfy `common::q::Q: Clone` [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Clone` was not satisfied [INFO] [stdout] --> src/common/q/mod.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] help: consider restricting the type parameter to satisfy the trait bound [INFO] [stdout] --> src/common/q/mod.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | C: Engine, C: Clone { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `common::q::Q`, but its trait bounds were not satisfied [INFO] [stdout] --> src/coordinate/point_4d.rs:28:43 [INFO] [stdout] | [INFO] [stdout] 28 | let dz = other.z.clone() - self.z.clone(); [INFO] [stdout] | ^^^^^ method cannot be called on `common::q::Q` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ------------------------------- method `clone` not found for this struct because it doesn't satisfy `common::q::Q: Clone` [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Clone` was not satisfied [INFO] [stdout] --> src/common/q/mod.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] help: consider restricting the type parameter to satisfy the trait bound [INFO] [stdout] --> src/common/q/mod.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | C: Engine, C: Clone { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `common::q::Q`, but its trait bounds were not satisfied [INFO] [stdout] --> src/coordinate/point_4d.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | let dx = other.x.clone() - self.x.clone(); [INFO] [stdout] | ^^^^^ method cannot be called on `common::q::Q` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ------------------------------- method `clone` not found for this struct because it doesn't satisfy `common::q::Q: Clone` [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Clone` was not satisfied [INFO] [stdout] --> src/common/q/mod.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] help: consider restricting the type parameter to satisfy the trait bound [INFO] [stdout] --> src/common/q/mod.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | C: Engine, C: Clone { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_engine` found for enum `coordinate::Error` in the current scope [INFO] [stdout] --> src/coordinate/point_4d.rs:37:37 [INFO] [stdout] | [INFO] [stdout] 37 | C::sqrt(sum).map_err(Error::from_engine) [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `coordinate::Error` [INFO] [stdout] | [INFO] [stdout] ::: src/coordinate/mod.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `from_engine` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot subtract `&common::q::Q` from `&common::q::Q` [INFO] [stdout] --> src/coordinate/point_n.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | let d = (b.clone() - a.clone()).unwrap(); [INFO] [stdout] | --------- ^ --------- &common::q::Q [INFO] [stdout] | | [INFO] [stdout] | &common::q::Q [INFO] [stdout] | [INFO] [stdout] help: consider extending the `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 13 | D: q::Engine, &common::q::Q: Sub<&common::q::Q> { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `common::q::Q`, but its trait bounds were not satisfied [INFO] [stdout] --> src/coordinate/point_4d.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | let dy = other.y.clone() - self.y.clone(); [INFO] [stdout] | ^^^^^ method cannot be called on `common::q::Q` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ------------------------------- method `clone` not found for this struct because it doesn't satisfy `common::q::Q: Clone` [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Clone` was not satisfied [INFO] [stdout] --> src/common/q/mod.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] help: consider restricting the type parameter to satisfy the trait bound [INFO] [stdout] --> src/common/q/mod.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | C: Engine, C: Clone { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `common::q::Q`, but its trait bounds were not satisfied [INFO] [stdout] --> src/coordinate/point_4d.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | let dy = other.y.clone() - self.y.clone(); [INFO] [stdout] | ^^^^^ method cannot be called on `common::q::Q` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ------------------------------- method `clone` not found for this struct because it doesn't satisfy `common::q::Q: Clone` [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Clone` was not satisfied [INFO] [stdout] --> src/common/q/mod.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] help: consider restricting the type parameter to satisfy the trait bound [INFO] [stdout] --> src/common/q/mod.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | C: Engine, C: Clone { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `common::q::Q`, but its trait bounds were not satisfied [INFO] [stdout] --> src/coordinate/point_4d.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | let dz = other.z.clone() - self.z.clone(); [INFO] [stdout] | ^^^^^ method cannot be called on `common::q::Q` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ------------------------------- method `clone` not found for this struct because it doesn't satisfy `common::q::Q: Clone` [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Clone` was not satisfied [INFO] [stdout] --> src/common/q/mod.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] help: consider restricting the type parameter to satisfy the trait bound [INFO] [stdout] --> src/common/q/mod.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | C: Engine, C: Clone { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fact` [INFO] [stdout] --> src/common/q/trig_hyperbolic_engine.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let mut fact = B::N1; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fact` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/common/q/trig_hyperbolic_engine.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut fact = B::N1; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `common::q::Q`, but its trait bounds were not satisfied [INFO] [stdout] --> src/coordinate/point_4d.rs:28:43 [INFO] [stdout] | [INFO] [stdout] 28 | let dz = other.z.clone() - self.z.clone(); [INFO] [stdout] | ^^^^^ method cannot be called on `common::q::Q` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ------------------------------- method `clone` not found for this struct because it doesn't satisfy `common::q::Q: Clone` [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Clone` was not satisfied [INFO] [stdout] --> src/common/q/mod.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] help: consider restricting the type parameter to satisfy the trait bound [INFO] [stdout] --> src/common/q/mod.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | C: Engine, C: Clone { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_engine` found for enum `coordinate::Error` in the current scope [INFO] [stdout] --> src/coordinate/point_4d.rs:37:37 [INFO] [stdout] | [INFO] [stdout] 37 | C::sqrt(sum).map_err(Error::from_engine) [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `coordinate::Error` [INFO] [stdout] | [INFO] [stdout] ::: src/coordinate/mod.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Error { [INFO] [stdout] | -------------- variant or associated item `from_engine` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot subtract `&common::q::Q` from `&common::q::Q` [INFO] [stdout] --> src/coordinate/point_n.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | let d = (b.clone() - a.clone()).unwrap(); [INFO] [stdout] | --------- ^ --------- &common::q::Q [INFO] [stdout] | | [INFO] [stdout] | &common::q::Q [INFO] [stdout] | [INFO] [stdout] help: consider extending the `where` clause, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 13 | D: q::Engine, &common::q::Q: Sub<&common::q::Q> { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.x` which is behind a shared reference [INFO] [stdout] --> src/coordinate/point_2d.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 34 | fn distance_between(&self, other: Self) -> Result> { [INFO] [stdout] | ----- move occurs because `self.x` has type `common::q::Q`, which does not implement the `Copy` trait [INFO] [stdout] 35 | (|| -> q::Result> { [INFO] [stdout] 36 | let dx: q::Q = (self.x - other.x)?; [INFO] [stdout] | -^^^^^^----------- [INFO] [stdout] | || [INFO] [stdout] | |`self.x` is moved here [INFO] [stdout] | `self.x` moved due to usage in operator [INFO] [stdout] | [INFO] [stdout] note: calling this operator moves the left-hand side [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/core/src/ops/arith.rs:207:12 [INFO] [stdout] note: if `common::q::Q` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/coordinate/point_2d.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | let dx: q::Q = (self.x - other.x)?; [INFO] [stdout] | ------ you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `dx` [INFO] [stdout] --> src/coordinate/point_2d.rs:37:43 [INFO] [stdout] | [INFO] [stdout] 36 | let dx: q::Q = (self.x - other.x)?; [INFO] [stdout] | -- move occurs because `dx` has type `common::q::Q`, which does not implement the `Copy` trait [INFO] [stdout] 37 | let dx: q::Q = (dx * dx)?; [INFO] [stdout] | ------^^- [INFO] [stdout] | | | [INFO] [stdout] | | value used here after move [INFO] [stdout] | `dx` moved due to usage in operator [INFO] [stdout] | [INFO] [stdout] note: if `common::q::Q` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/coordinate/point_2d.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | let dx: q::Q = (dx * dx)?; [INFO] [stdout] | -- you could clone this value [INFO] [stdout] note: calling this operator moves the left-hand side [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/core/src/ops/arith.rs:342:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.y` which is behind a shared reference [INFO] [stdout] --> src/coordinate/point_2d.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 34 | fn distance_between(&self, other: Self) -> Result> { [INFO] [stdout] | ----- move occurs because `self.y` has type `common::q::Q`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 38 | let dy: q::Q = (self.y - other.y)?; [INFO] [stdout] | -^^^^^^----------- [INFO] [stdout] | || [INFO] [stdout] | |`self.y` is moved here [INFO] [stdout] | `self.y` moved due to usage in operator [INFO] [stdout] | [INFO] [stdout] note: if `common::q::Q` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/coordinate/point_2d.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | let dy: q::Q = (self.y - other.y)?; [INFO] [stdout] | ------ you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `dy` [INFO] [stdout] --> src/coordinate/point_2d.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 38 | let dy: q::Q = (self.y - other.y)?; [INFO] [stdout] | -- move occurs because `dy` has type `common::q::Q`, which does not implement the `Copy` trait [INFO] [stdout] 39 | let dy: q::Q = (dy * dy)?; [INFO] [stdout] | ------^^- [INFO] [stdout] | | | [INFO] [stdout] | | value used here after move [INFO] [stdout] | `dy` moved due to usage in operator [INFO] [stdout] | [INFO] [stdout] note: if `common::q::Q` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/coordinate/point_2d.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 39 | let dy: q::Q = (dy * dy)?; [INFO] [stdout] | -- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.x_weight` which is behind a shared reference [INFO] [stdout] --> src/prediction_model/linear_reg.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | let x_term = (self.x_weight * where_x)?; [INFO] [stdout] | -^^^^^^^^^^^^^----------- [INFO] [stdout] | || [INFO] [stdout] | |move occurs because `self.x_weight` has type `common::q::Q`, which does not implement the `Copy` trait [INFO] [stdout] | `self.x_weight` moved due to usage in operator [INFO] [stdout] | [INFO] [stdout] note: calling this operator moves the left-hand side [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/core/src/ops/arith.rs:342:12 [INFO] [stdout] note: if `common::q::Q` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/prediction_model/linear_reg.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | let x_term = (self.x_weight * where_x)?; [INFO] [stdout] | ------------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.bias` which is behind a shared reference [INFO] [stdout] --> src/prediction_model/linear_reg.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | let prediction = (x_term + self.bias)?; [INFO] [stdout] | ^^^^^^^^^ move occurs because `self.bias` has type `common::q::Q`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `common::q::Q` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/prediction_model/linear_reg.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | let prediction = (x_term + self.bias)?; [INFO] [stdout] | --------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.x_weight` which is behind a shared reference [INFO] [stdout] --> src/prediction_model/linear_reg.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | let x_term = (self.x_weight * point.x)?; [INFO] [stdout] | -^^^^^^^^^^^^^----------- [INFO] [stdout] | || [INFO] [stdout] | |move occurs because `self.x_weight` has type `common::q::Q`, which does not implement the `Copy` trait [INFO] [stdout] | `self.x_weight` moved due to usage in operator [INFO] [stdout] | [INFO] [stdout] note: calling this operator moves the left-hand side [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/core/src/ops/arith.rs:342:12 [INFO] [stdout] note: if `common::q::Q` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/prediction_model/linear_reg.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | let x_term = (self.x_weight * point.x)?; [INFO] [stdout] | ------------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `point.x` which is behind a shared reference [INFO] [stdout] --> src/prediction_model/linear_reg.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | let x_term = (self.x_weight * point.x)?; [INFO] [stdout] | ^^^^^^^ move occurs because `point.x` has type `common::q::Q`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `common::q::Q` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/prediction_model/linear_reg.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | let x_term = (self.x_weight * point.x)?; [INFO] [stdout] | ------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.y_weight` which is behind a shared reference [INFO] [stdout] --> src/prediction_model/linear_reg.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | let y_term = (self.y_weight * point.y)?; [INFO] [stdout] | -^^^^^^^^^^^^^----------- [INFO] [stdout] | || [INFO] [stdout] | |move occurs because `self.y_weight` has type `common::q::Q`, which does not implement the `Copy` trait [INFO] [stdout] | `self.y_weight` moved due to usage in operator [INFO] [stdout] | [INFO] [stdout] note: if `common::q::Q` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/prediction_model/linear_reg.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | let y_term = (self.y_weight * point.y)?; [INFO] [stdout] | ------------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `point.y` which is behind a shared reference [INFO] [stdout] --> src/prediction_model/linear_reg.rs:32:39 [INFO] [stdout] | [INFO] [stdout] 32 | let y_term = (self.y_weight * point.y)?; [INFO] [stdout] | ^^^^^^^ move occurs because `point.y` has type `common::q::Q`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `common::q::Q` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/prediction_model/linear_reg.rs:32:39 [INFO] [stdout] | [INFO] [stdout] 32 | let y_term = (self.y_weight * point.y)?; [INFO] [stdout] | ------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0277, E0369, E0382, E0425, E0507, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fact` [INFO] [stdout] --> src/common/q/trig_hyperbolic_engine.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let mut fact = B::N1; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fact` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/common/q/trig_hyperbolic_engine.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut fact = B::N1; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `math` (lib) due to 40 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0507]: cannot move out of `self.x` which is behind a shared reference [INFO] [stdout] --> src/coordinate/point_2d.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 34 | fn distance_between(&self, other: Self) -> Result> { [INFO] [stdout] | ----- move occurs because `self.x` has type `common::q::Q`, which does not implement the `Copy` trait [INFO] [stdout] 35 | (|| -> q::Result> { [INFO] [stdout] 36 | let dx: q::Q = (self.x - other.x)?; [INFO] [stdout] | -^^^^^^----------- [INFO] [stdout] | || [INFO] [stdout] | |`self.x` is moved here [INFO] [stdout] | `self.x` moved due to usage in operator [INFO] [stdout] | [INFO] [stdout] note: calling this operator moves the left-hand side [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/core/src/ops/arith.rs:207:12 [INFO] [stdout] note: if `common::q::Q` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/coordinate/point_2d.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | let dx: q::Q = (self.x - other.x)?; [INFO] [stdout] | ------ you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `dx` [INFO] [stdout] --> src/coordinate/point_2d.rs:37:43 [INFO] [stdout] | [INFO] [stdout] 36 | let dx: q::Q = (self.x - other.x)?; [INFO] [stdout] | -- move occurs because `dx` has type `common::q::Q`, which does not implement the `Copy` trait [INFO] [stdout] 37 | let dx: q::Q = (dx * dx)?; [INFO] [stdout] | ------^^- [INFO] [stdout] | | | [INFO] [stdout] | | value used here after move [INFO] [stdout] | `dx` moved due to usage in operator [INFO] [stdout] | [INFO] [stdout] note: if `common::q::Q` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/coordinate/point_2d.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | let dx: q::Q = (dx * dx)?; [INFO] [stdout] | -- you could clone this value [INFO] [stdout] note: calling this operator moves the left-hand side [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/core/src/ops/arith.rs:342:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.y` which is behind a shared reference [INFO] [stdout] --> src/coordinate/point_2d.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 34 | fn distance_between(&self, other: Self) -> Result> { [INFO] [stdout] | ----- move occurs because `self.y` has type `common::q::Q`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 38 | let dy: q::Q = (self.y - other.y)?; [INFO] [stdout] | -^^^^^^----------- [INFO] [stdout] | || [INFO] [stdout] | |`self.y` is moved here [INFO] [stdout] | `self.y` moved due to usage in operator [INFO] [stdout] | [INFO] [stdout] note: if `common::q::Q` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/coordinate/point_2d.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | let dy: q::Q = (self.y - other.y)?; [INFO] [stdout] | ------ you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `dy` [INFO] [stdout] --> src/coordinate/point_2d.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 38 | let dy: q::Q = (self.y - other.y)?; [INFO] [stdout] | -- move occurs because `dy` has type `common::q::Q`, which does not implement the `Copy` trait [INFO] [stdout] 39 | let dy: q::Q = (dy * dy)?; [INFO] [stdout] | ------^^- [INFO] [stdout] | | | [INFO] [stdout] | | value used here after move [INFO] [stdout] | `dy` moved due to usage in operator [INFO] [stdout] | [INFO] [stdout] note: if `common::q::Q` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/coordinate/point_2d.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 39 | let dy: q::Q = (dy * dy)?; [INFO] [stdout] | -- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.x_weight` which is behind a shared reference [INFO] [stdout] --> src/prediction_model/linear_reg.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | let x_term = (self.x_weight * where_x)?; [INFO] [stdout] | -^^^^^^^^^^^^^----------- [INFO] [stdout] | || [INFO] [stdout] | |move occurs because `self.x_weight` has type `common::q::Q`, which does not implement the `Copy` trait [INFO] [stdout] | `self.x_weight` moved due to usage in operator [INFO] [stdout] | [INFO] [stdout] note: calling this operator moves the left-hand side [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/core/src/ops/arith.rs:342:12 [INFO] [stdout] note: if `common::q::Q` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/prediction_model/linear_reg.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | let x_term = (self.x_weight * where_x)?; [INFO] [stdout] | ------------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.bias` which is behind a shared reference [INFO] [stdout] --> src/prediction_model/linear_reg.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | let prediction = (x_term + self.bias)?; [INFO] [stdout] | ^^^^^^^^^ move occurs because `self.bias` has type `common::q::Q`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `common::q::Q` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/prediction_model/linear_reg.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | let prediction = (x_term + self.bias)?; [INFO] [stdout] | --------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.x_weight` which is behind a shared reference [INFO] [stdout] --> src/prediction_model/linear_reg.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | let x_term = (self.x_weight * point.x)?; [INFO] [stdout] | -^^^^^^^^^^^^^----------- [INFO] [stdout] | || [INFO] [stdout] | |move occurs because `self.x_weight` has type `common::q::Q`, which does not implement the `Copy` trait [INFO] [stdout] | `self.x_weight` moved due to usage in operator [INFO] [stdout] | [INFO] [stdout] note: calling this operator moves the left-hand side [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/core/src/ops/arith.rs:342:12 [INFO] [stdout] note: if `common::q::Q` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/prediction_model/linear_reg.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | let x_term = (self.x_weight * point.x)?; [INFO] [stdout] | ------------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `point.x` which is behind a shared reference [INFO] [stdout] --> src/prediction_model/linear_reg.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | let x_term = (self.x_weight * point.x)?; [INFO] [stdout] | ^^^^^^^ move occurs because `point.x` has type `common::q::Q`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `common::q::Q` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/prediction_model/linear_reg.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | let x_term = (self.x_weight * point.x)?; [INFO] [stdout] | ------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.y_weight` which is behind a shared reference [INFO] [stdout] --> src/prediction_model/linear_reg.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | let y_term = (self.y_weight * point.y)?; [INFO] [stdout] | -^^^^^^^^^^^^^----------- [INFO] [stdout] | || [INFO] [stdout] | |move occurs because `self.y_weight` has type `common::q::Q`, which does not implement the `Copy` trait [INFO] [stdout] | `self.y_weight` moved due to usage in operator [INFO] [stdout] | [INFO] [stdout] note: if `common::q::Q` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/prediction_model/linear_reg.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | let y_term = (self.y_weight * point.y)?; [INFO] [stdout] | ------------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `point.y` which is behind a shared reference [INFO] [stdout] --> src/prediction_model/linear_reg.rs:32:39 [INFO] [stdout] | [INFO] [stdout] 32 | let y_term = (self.y_weight * point.y)?; [INFO] [stdout] | ^^^^^^^ move occurs because `point.y` has type `common::q::Q`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `common::q::Q` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/common/q/mod.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Q [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/prediction_model/linear_reg.rs:32:39 [INFO] [stdout] | [INFO] [stdout] 32 | let y_term = (self.y_weight * point.y)?; [INFO] [stdout] | ------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0277, E0369, E0382, E0425, E0507, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `math` (lib test) due to 40 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "be0f37f8c641449d3737cb99c90d03b67cb8b9abec7f387d5a7f39cef8ec2f44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be0f37f8c641449d3737cb99c90d03b67cb8b9abec7f387d5a7f39cef8ec2f44", kill_on_drop: false }` [INFO] [stdout] be0f37f8c641449d3737cb99c90d03b67cb8b9abec7f387d5a7f39cef8ec2f44