[INFO] fetching crate viam-rust-utils 0.4.0... [INFO] checking viam-rust-utils-0.4.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate viam-rust-utils 0.4.0 into /workspace/builds/worker-0-tc1/source [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate viam-rust-utils 0.4.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate viam-rust-utils 0.4.0 [INFO] tweaked toml for crates.io crate viam-rust-utils 0.4.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate viam-rust-utils 0.4.0 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 crates.io crate viam-rust-utils 0.4.0 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] Downloading crates ... [INFO] [stderr] Downloaded webrtc-media v0.9.0 [INFO] [stderr] Downloaded viam-mdns v3.0.1 [INFO] [stderr] Downloaded ffi_helpers v0.3.0 [INFO] [stderr] Downloaded webrtc-data v0.10.0 [INFO] [stderr] Downloaded webrtc-mdns v0.8.0 [INFO] [stderr] Downloaded interceptor v0.13.0 [INFO] [stderr] Downloaded webrtc-ice v0.12.0 [INFO] [stderr] Downloaded stun v0.7.0 [INFO] [stderr] Downloaded turn v0.9.0 [INFO] [stderr] Downloaded webrtc-dtls v0.11.0 [INFO] [stderr] Downloaded webrtc-sctp v0.11.0 [INFO] [stderr] Downloaded webrtc v0.12.0 [INFO] [stderr] Downloaded rtp v0.12.0 [INFO] [stderr] Downloaded webrtc-util v0.10.0 [INFO] [stderr] Downloaded sdp v0.7.0 [INFO] [stderr] Downloaded rtcp v0.12.0 [INFO] [stderr] Downloaded webrtc-srtp v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 91b2d26dbb055b82b98911736fd36556c9acac3f28aec124721f3b24bb596856 [INFO] running `Command { std: "docker" "start" "-a" "91b2d26dbb055b82b98911736fd36556c9acac3f28aec124721f3b24bb596856", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91b2d26dbb055b82b98911736fd36556c9acac3f28aec124721f3b24bb596856", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91b2d26dbb055b82b98911736fd36556c9acac3f28aec124721f3b24bb596856", kill_on_drop: false }` [INFO] [stdout] 91b2d26dbb055b82b98911736fd36556c9acac3f28aec124721f3b24bb596856 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 427a2af519e51a8107fa389b18adc191c0b2f6bb5407685b7d062f671d374570 [INFO] running `Command { std: "docker" "start" "-a" "427a2af519e51a8107fa389b18adc191c0b2f6bb5407685b7d062f671d374570", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking futures-lite v2.6.0 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling asn1-rs-derive v0.5.1 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking crc v3.3.0 [INFO] [stderr] Checking tokio v1.46.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking asn1-rs v0.6.2 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling oid-registry v0.7.1 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking waitgroup v0.1.2 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling substring v1.4.5 [INFO] [stderr] Checking rustc-demangle v0.1.25 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking der-parser v9.0.0 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking async-executor v1.13.2 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Checking polling v3.8.0 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking async-io v2.4.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking rustls-webpki v0.100.3 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Checking ccm v0.5.0 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking p384 v0.13.1 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.103.3 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking async-signal v0.2.11 [INFO] [stderr] Checking x509-parser v0.16.0 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking webpki v0.22.4 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking async-process v2.3.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking async-std v1.13.1 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking dns-parser v0.8.0 [INFO] [stderr] Checking webrtc-util v0.10.0 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking webrtc-util v0.9.0 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking rcgen v0.13.2 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking async-stream v0.2.1 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking async-compression v0.3.15 [INFO] [stderr] Checking clap_builder v4.5.40 [INFO] [stderr] Checking simba v0.7.3 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Checking prost v0.11.9 [INFO] [stderr] Checking rtp v0.11.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking rtcp v0.11.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking rtp v0.12.0 [INFO] [stderr] Checking rtcp v0.12.0 [INFO] [stderr] Checking stun v0.7.0 [INFO] [stderr] Compiling neli-proc-macros v0.1.4 [INFO] [stderr] Checking webrtc-sctp v0.11.0 [INFO] [stderr] Checking webrtc-mdns v0.8.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking turn v0.9.0 [INFO] [stderr] Checking webrtc-media v0.9.0 [INFO] [stderr] Checking webrtc-dtls v0.11.0 [INFO] [stderr] Checking webrtc-srtp v0.13.0 [INFO] [stderr] Checking webpki-roots v0.23.1 [INFO] [stderr] Checking sdp v0.7.0 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Checking thread-id v4.2.2 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking webrtc-srtp v0.14.0 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking interceptor v0.12.0 [INFO] [stderr] Checking tower-http v0.3.5 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking viam-mdns v3.0.1 [INFO] [stderr] Checking interceptor v0.13.0 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking prost-types v0.11.9 [INFO] [stderr] Checking ffi_helpers v0.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking neli v0.6.5 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking webrtc-data v0.10.0 [INFO] [stderr] Checking log4rs v1.3.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking webrtc-ice v0.12.0 [INFO] [stderr] Checking local-ip-address v0.5.7 [INFO] [stderr] Checking webrtc v0.12.0 [INFO] [stderr] Checking nalgebra v0.31.4 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.9.2 [INFO] [stderr] Checking viam-rust-utils v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/orientation_vector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | (*ov_ptr).o_vector.x, [INFO] [stdout] | ^^------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const OrientationVector` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 72 | (&(*ov_ptr).o_vector).x, [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/orientation_vector.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | (*ov_ptr).o_vector.y, [INFO] [stdout] | ^^------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const OrientationVector` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 73 | (&(*ov_ptr).o_vector).y, [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/orientation_vector.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | (*ov_ptr).o_vector.z, [INFO] [stdout] | ^^------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const OrientationVector` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 74 | (&(*ov_ptr).o_vector).z, [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | (*imag_ptr).x, [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 52 | (&(*imag_ptr)).x, [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | (*imag_ptr).y, [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 53 | (&(*imag_ptr)).y, [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | (*imag_ptr).z, [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 54 | (&(*imag_ptr)).z, [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:85:38 [INFO] [stdout] | [INFO] [stdout] 85 | let components: [c_double; 4] = [(*quat_ptr).w, (*quat_ptr).i, (*quat_ptr).j, (*quat_ptr).k]; [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Quaternion` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 85 | let components: [c_double; 4] = [(&(*quat_ptr)).w, (*quat_ptr).i, (*quat_ptr).j, (*quat_ptr).k]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:85:53 [INFO] [stdout] | [INFO] [stdout] 85 | let components: [c_double; 4] = [(*quat_ptr).w, (*quat_ptr).i, (*quat_ptr).j, (*quat_ptr).k]; [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Quaternion` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 85 | let components: [c_double; 4] = [(*quat_ptr).w, (&(*quat_ptr)).i, (*quat_ptr).j, (*quat_ptr).k]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:85:68 [INFO] [stdout] | [INFO] [stdout] 85 | let components: [c_double; 4] = [(*quat_ptr).w, (*quat_ptr).i, (*quat_ptr).j, (*quat_ptr).k]; [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Quaternion` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 85 | let components: [c_double; 4] = [(*quat_ptr).w, (*quat_ptr).i, (&(*quat_ptr)).j, (*quat_ptr).k]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:85:83 [INFO] [stdout] | [INFO] [stdout] 85 | let components: [c_double; 4] = [(*quat_ptr).w, (*quat_ptr).i, (*quat_ptr).j, (*quat_ptr).k]; [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Quaternion` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 85 | let components: [c_double; 4] = [(*quat_ptr).w, (*quat_ptr).i, (*quat_ptr).j, (&(*quat_ptr)).k]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | (*quat_ptr).w = real; [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Quaternion` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 100 | (&mut (*quat_ptr)).w = real; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | (*quat_ptr).i = i; [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Quaternion` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 114 | (&mut (*quat_ptr)).i = i; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | (*quat_ptr).j = j; [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Quaternion` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 128 | (&mut (*quat_ptr)).j = j; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | (*quat_ptr).k = k; [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Quaternion` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 142 | (&mut (*quat_ptr)).k = k; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | (*quat_ptr).w = real; [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Quaternion` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 162 | (&mut (*quat_ptr)).w = real; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | (*quat_ptr).i = i; [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Quaternion` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 163 | (&mut (*quat_ptr)).i = i; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | (*quat_ptr).j = j; [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Quaternion` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 164 | (&mut (*quat_ptr)).j = j; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | (*quat_ptr).k = k; [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Quaternion` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 165 | (&mut (*quat_ptr)).k = k; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:185:21 [INFO] [stdout] | [INFO] [stdout] 185 | (*quat_ptr).i = (*vec_ptr).x; [INFO] [stdout] | ^^-------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 185 | (*quat_ptr).i = (&(*vec_ptr)).x; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | (*quat_ptr).i = (*vec_ptr).x; [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Quaternion` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 185 | (&mut (*quat_ptr)).i = (*vec_ptr).x; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:186:21 [INFO] [stdout] | [INFO] [stdout] 186 | (*quat_ptr).j = (*vec_ptr).y; [INFO] [stdout] | ^^-------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 186 | (*quat_ptr).j = (&(*vec_ptr)).y; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | (*quat_ptr).j = (*vec_ptr).y; [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Quaternion` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 186 | (&mut (*quat_ptr)).j = (*vec_ptr).y; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:187:21 [INFO] [stdout] | [INFO] [stdout] 187 | (*quat_ptr).k = (*vec_ptr).z; [INFO] [stdout] | ^^-------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 187 | (*quat_ptr).k = (&(*vec_ptr)).z; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | (*quat_ptr).k = (*vec_ptr).z; [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Quaternion` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 187 | (&mut (*quat_ptr)).k = (*vec_ptr).z; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/vector3.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | let components: [c_double; 3] = [(*vec_ptr)[0], (*vec_ptr)[1], (*vec_ptr)[2]]; [INFO] [stdout] | ^^-------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] --> src/ffi/spatialmath/vector3.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | let components: [c_double; 3] = [(*vec_ptr)[0], (*vec_ptr)[1], (*vec_ptr)[2]]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 53 | let components: [c_double; 3] = [(&(*vec_ptr))[0], (*vec_ptr)[1], (*vec_ptr)[2]]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/vector3.rs:53:53 [INFO] [stdout] | [INFO] [stdout] 53 | let components: [c_double; 3] = [(*vec_ptr)[0], (*vec_ptr)[1], (*vec_ptr)[2]]; [INFO] [stdout] | ^^-------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] --> src/ffi/spatialmath/vector3.rs:53:53 [INFO] [stdout] | [INFO] [stdout] 53 | let components: [c_double; 3] = [(*vec_ptr)[0], (*vec_ptr)[1], (*vec_ptr)[2]]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 53 | let components: [c_double; 3] = [(*vec_ptr)[0], (&(*vec_ptr))[1], (*vec_ptr)[2]]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/vector3.rs:53:68 [INFO] [stdout] | [INFO] [stdout] 53 | let components: [c_double; 3] = [(*vec_ptr)[0], (*vec_ptr)[1], (*vec_ptr)[2]]; [INFO] [stdout] | ^^-------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] --> src/ffi/spatialmath/vector3.rs:53:68 [INFO] [stdout] | [INFO] [stdout] 53 | let components: [c_double; 3] = [(*vec_ptr)[0], (*vec_ptr)[1], (*vec_ptr)[2]]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 53 | let components: [c_double; 3] = [(*vec_ptr)[0], (*vec_ptr)[1], (&(*vec_ptr))[2]]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/vector3.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | (*vec_ptr)[0] = x_val; [INFO] [stdout] | ^^-------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] --> src/ffi/spatialmath/vector3.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | (*vec_ptr)[0] = x_val; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 67 | (&mut (*vec_ptr))[0] = x_val; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/vector3.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | (*vec_ptr)[1] = y_val; [INFO] [stdout] | ^^-------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] --> src/ffi/spatialmath/vector3.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | (*vec_ptr)[1] = y_val; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 80 | (&mut (*vec_ptr))[1] = y_val; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/vector3.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | (*vec_ptr)[2] = z_val; [INFO] [stdout] | ^^-------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] --> src/ffi/spatialmath/vector3.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | (*vec_ptr)[2] = z_val; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 93 | (&mut (*vec_ptr))[2] = z_val; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/orientation_vector.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | (*ov_ptr).o_vector.x, [INFO] [stdout] | ^^------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const OrientationVector` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 72 | (&(*ov_ptr).o_vector).x, [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/orientation_vector.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | (*ov_ptr).o_vector.y, [INFO] [stdout] | ^^------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const OrientationVector` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 73 | (&(*ov_ptr).o_vector).y, [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/orientation_vector.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | (*ov_ptr).o_vector.z, [INFO] [stdout] | ^^------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const OrientationVector` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 74 | (&(*ov_ptr).o_vector).z, [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | (*imag_ptr).x, [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 52 | (&(*imag_ptr)).x, [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | (*imag_ptr).y, [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 53 | (&(*imag_ptr)).y, [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | (*imag_ptr).z, [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 54 | (&(*imag_ptr)).z, [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:85:38 [INFO] [stdout] | [INFO] [stdout] 85 | let components: [c_double; 4] = [(*quat_ptr).w, (*quat_ptr).i, (*quat_ptr).j, (*quat_ptr).k]; [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Quaternion` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 85 | let components: [c_double; 4] = [(&(*quat_ptr)).w, (*quat_ptr).i, (*quat_ptr).j, (*quat_ptr).k]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:85:53 [INFO] [stdout] | [INFO] [stdout] 85 | let components: [c_double; 4] = [(*quat_ptr).w, (*quat_ptr).i, (*quat_ptr).j, (*quat_ptr).k]; [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Quaternion` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 85 | let components: [c_double; 4] = [(*quat_ptr).w, (&(*quat_ptr)).i, (*quat_ptr).j, (*quat_ptr).k]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:85:68 [INFO] [stdout] | [INFO] [stdout] 85 | let components: [c_double; 4] = [(*quat_ptr).w, (*quat_ptr).i, (*quat_ptr).j, (*quat_ptr).k]; [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Quaternion` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 85 | let components: [c_double; 4] = [(*quat_ptr).w, (*quat_ptr).i, (&(*quat_ptr)).j, (*quat_ptr).k]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:85:83 [INFO] [stdout] | [INFO] [stdout] 85 | let components: [c_double; 4] = [(*quat_ptr).w, (*quat_ptr).i, (*quat_ptr).j, (*quat_ptr).k]; [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Quaternion` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 85 | let components: [c_double; 4] = [(*quat_ptr).w, (*quat_ptr).i, (*quat_ptr).j, (&(*quat_ptr)).k]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | (*quat_ptr).w = real; [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Quaternion` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 100 | (&mut (*quat_ptr)).w = real; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | (*quat_ptr).i = i; [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Quaternion` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 114 | (&mut (*quat_ptr)).i = i; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | (*quat_ptr).j = j; [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Quaternion` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 128 | (&mut (*quat_ptr)).j = j; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | (*quat_ptr).k = k; [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Quaternion` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 142 | (&mut (*quat_ptr)).k = k; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | (*quat_ptr).w = real; [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Quaternion` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 162 | (&mut (*quat_ptr)).w = real; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | (*quat_ptr).i = i; [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Quaternion` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 163 | (&mut (*quat_ptr)).i = i; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | (*quat_ptr).j = j; [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Quaternion` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 164 | (&mut (*quat_ptr)).j = j; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | (*quat_ptr).k = k; [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Quaternion` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 165 | (&mut (*quat_ptr)).k = k; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:185:21 [INFO] [stdout] | [INFO] [stdout] 185 | (*quat_ptr).i = (*vec_ptr).x; [INFO] [stdout] | ^^-------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 185 | (*quat_ptr).i = (&(*vec_ptr)).x; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | (*quat_ptr).i = (*vec_ptr).x; [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Quaternion` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 185 | (&mut (*quat_ptr)).i = (*vec_ptr).x; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:186:21 [INFO] [stdout] | [INFO] [stdout] 186 | (*quat_ptr).j = (*vec_ptr).y; [INFO] [stdout] | ^^-------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 186 | (*quat_ptr).j = (&(*vec_ptr)).y; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | (*quat_ptr).j = (*vec_ptr).y; [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Quaternion` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 186 | (&mut (*quat_ptr)).j = (*vec_ptr).y; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:187:21 [INFO] [stdout] | [INFO] [stdout] 187 | (*quat_ptr).k = (*vec_ptr).z; [INFO] [stdout] | ^^-------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 187 | (*quat_ptr).k = (&(*vec_ptr)).z; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/quaternion.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | (*quat_ptr).k = (*vec_ptr).z; [INFO] [stdout] | ^^--------^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Quaternion` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 187 | (&mut (*quat_ptr)).k = (*vec_ptr).z; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/vector3.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | let components: [c_double; 3] = [(*vec_ptr)[0], (*vec_ptr)[1], (*vec_ptr)[2]]; [INFO] [stdout] | ^^-------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] --> src/ffi/spatialmath/vector3.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | let components: [c_double; 3] = [(*vec_ptr)[0], (*vec_ptr)[1], (*vec_ptr)[2]]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 53 | let components: [c_double; 3] = [(&(*vec_ptr))[0], (*vec_ptr)[1], (*vec_ptr)[2]]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/vector3.rs:53:53 [INFO] [stdout] | [INFO] [stdout] 53 | let components: [c_double; 3] = [(*vec_ptr)[0], (*vec_ptr)[1], (*vec_ptr)[2]]; [INFO] [stdout] | ^^-------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] --> src/ffi/spatialmath/vector3.rs:53:53 [INFO] [stdout] | [INFO] [stdout] 53 | let components: [c_double; 3] = [(*vec_ptr)[0], (*vec_ptr)[1], (*vec_ptr)[2]]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 53 | let components: [c_double; 3] = [(*vec_ptr)[0], (&(*vec_ptr))[1], (*vec_ptr)[2]]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/vector3.rs:53:68 [INFO] [stdout] | [INFO] [stdout] 53 | let components: [c_double; 3] = [(*vec_ptr)[0], (*vec_ptr)[1], (*vec_ptr)[2]]; [INFO] [stdout] | ^^-------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] --> src/ffi/spatialmath/vector3.rs:53:68 [INFO] [stdout] | [INFO] [stdout] 53 | let components: [c_double; 3] = [(*vec_ptr)[0], (*vec_ptr)[1], (*vec_ptr)[2]]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 53 | let components: [c_double; 3] = [(*vec_ptr)[0], (*vec_ptr)[1], (&(*vec_ptr))[2]]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/vector3.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | (*vec_ptr)[0] = x_val; [INFO] [stdout] | ^^-------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] --> src/ffi/spatialmath/vector3.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | (*vec_ptr)[0] = x_val; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 67 | (&mut (*vec_ptr))[0] = x_val; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/vector3.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | (*vec_ptr)[1] = y_val; [INFO] [stdout] | ^^-------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] --> src/ffi/spatialmath/vector3.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | (*vec_ptr)[1] = y_val; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 80 | (&mut (*vec_ptr))[1] = y_val; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ffi/spatialmath/vector3.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | (*vec_ptr)[2] = z_val; [INFO] [stdout] | ^^-------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Matrix, Const<1>, ArrayStorage>` [INFO] [stdout] --> src/ffi/spatialmath/vector3.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | (*vec_ptr)[2] = z_val; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 93 | (&mut (*vec_ptr))[2] = z_val; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `viam-rust-utils` (lib test) due to 30 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `viam-rust-utils` (lib) due to 30 previous errors [INFO] running `Command { std: "docker" "inspect" "427a2af519e51a8107fa389b18adc191c0b2f6bb5407685b7d062f671d374570", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "427a2af519e51a8107fa389b18adc191c0b2f6bb5407685b7d062f671d374570", kill_on_drop: false }` [INFO] [stdout] 427a2af519e51a8107fa389b18adc191c0b2f6bb5407685b7d062f671d374570