[INFO] fetching crate rs-math3d 0.9.24... [INFO] testing rs-math3d-0.9.24 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate rs-math3d 0.9.24 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate rs-math3d 0.9.24 [INFO] finished tweaking crates.io crate rs-math3d 0.9.24 [INFO] tweaked toml for crates.io crate rs-math3d 0.9.24 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rs-math3d 0.9.24 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rs-math3d 0.9.24 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bdd54900debfa640127b92d83cf3ad3b416e0c05d526b338fd30b5d59a2774f6 [INFO] running `Command { std: "docker" "start" "-a" "bdd54900debfa640127b92d83cf3ad3b416e0c05d526b338fd30b5d59a2774f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bdd54900debfa640127b92d83cf3ad3b416e0c05d526b338fd30b5d59a2774f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdd54900debfa640127b92d83cf3ad3b416e0c05d526b338fd30b5d59a2774f6", kill_on_drop: false }` [INFO] [stdout] bdd54900debfa640127b92d83cf3ad3b416e0c05d526b338fd30b5d59a2774f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9a9dfe3fcbd6f58ad0e47fcdee18b9a8253fb507cbebcdc5cd8955fb23b9404 [INFO] running `Command { std: "docker" "start" "-a" "e9a9dfe3fcbd6f58ad0e47fcdee18b9a8253fb507cbebcdc5cd8955fb23b9404", kill_on_drop: false }` [INFO] [stderr] Compiling rs-math3d v0.9.24 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vector.rs:299:1 [INFO] [stdout] | [INFO] [stdout] 299 | / /// A 2D vector with x and y components. [INFO] [stdout] 300 | | /// [INFO] [stdout] 301 | | /// # Examples [INFO] [stdout] 302 | | /// ``` [INFO] [stdout] ... | [INFO] [stdout] 307 | | /// assert_eq!(v.y, 4.0); [INFO] [stdout] 308 | | /// ``` [INFO] [stdout] | |_------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vector.rs:311:1 [INFO] [stdout] | [INFO] [stdout] 311 | / /// A 3D vector with x, y, and z components. [INFO] [stdout] 312 | | /// [INFO] [stdout] 313 | | /// # Examples [INFO] [stdout] 314 | | /// ``` [INFO] [stdout] ... | [INFO] [stdout] 320 | | /// // Result is (0, 0, 1) - the z-axis [INFO] [stdout] 321 | | /// ``` [INFO] [stdout] | |_------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vector.rs:324:1 [INFO] [stdout] | [INFO] [stdout] 324 | / /// A 4D vector with x, y, z, and w components. [INFO] [stdout] 325 | | /// [INFO] [stdout] 326 | | /// Often used for homogeneous coordinates in 3D graphics. [INFO] [stdout] 327 | | /// [INFO] [stdout] ... | [INFO] [stdout] 333 | | /// // w=1 for positions, w=0 for directions [INFO] [stdout] 334 | | /// ``` [INFO] [stdout] | |_------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "e9a9dfe3fcbd6f58ad0e47fcdee18b9a8253fb507cbebcdc5cd8955fb23b9404", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9a9dfe3fcbd6f58ad0e47fcdee18b9a8253fb507cbebcdc5cd8955fb23b9404", kill_on_drop: false }` [INFO] [stdout] e9a9dfe3fcbd6f58ad0e47fcdee18b9a8253fb507cbebcdc5cd8955fb23b9404 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc7dbcb96fdd8a6c0deb861a9607f927514db77ca81a8e5a05110a96531828e4 [INFO] running `Command { std: "docker" "start" "-a" "fc7dbcb96fdd8a6c0deb861a9607f927514db77ca81a8e5a05110a96531828e4", kill_on_drop: false }` [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vector.rs:299:1 [INFO] [stdout] | [INFO] [stdout] 299 | / /// A 2D vector with x and y components. [INFO] [stdout] 300 | | /// [INFO] [stdout] 301 | | /// # Examples [INFO] [stdout] 302 | | /// ``` [INFO] [stdout] ... | [INFO] [stdout] 307 | | /// assert_eq!(v.y, 4.0); [INFO] [stdout] 308 | | /// ``` [INFO] [stdout] | |_------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vector.rs:311:1 [INFO] [stdout] | [INFO] [stdout] 311 | / /// A 3D vector with x, y, and z components. [INFO] [stdout] 312 | | /// [INFO] [stdout] 313 | | /// # Examples [INFO] [stdout] 314 | | /// ``` [INFO] [stdout] ... | [INFO] [stdout] 320 | | /// // Result is (0, 0, 1) - the z-axis [INFO] [stdout] 321 | | /// ``` [INFO] [stdout] | |_------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vector.rs:324:1 [INFO] [stdout] | [INFO] [stdout] 324 | / /// A 4D vector with x, y, z, and w components. [INFO] [stdout] 325 | | /// [INFO] [stdout] 326 | | /// Often used for homogeneous coordinates in 3D graphics. [INFO] [stdout] 327 | | /// [INFO] [stdout] ... | [INFO] [stdout] 333 | | /// // w=1 for positions, w=0 for directions [INFO] [stdout] 334 | | /// ``` [INFO] [stdout] | |_------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rs-math3d v0.9.24 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vector.rs:299:1 [INFO] [stdout] | [INFO] [stdout] 299 | / /// A 2D vector with x and y components. [INFO] [stdout] 300 | | /// [INFO] [stdout] 301 | | /// # Examples [INFO] [stdout] 302 | | /// ``` [INFO] [stdout] ... | [INFO] [stdout] 307 | | /// assert_eq!(v.y, 4.0); [INFO] [stdout] 308 | | /// ``` [INFO] [stdout] | |_------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vector.rs:311:1 [INFO] [stdout] | [INFO] [stdout] 311 | / /// A 3D vector with x, y, and z components. [INFO] [stdout] 312 | | /// [INFO] [stdout] 313 | | /// # Examples [INFO] [stdout] 314 | | /// ``` [INFO] [stdout] ... | [INFO] [stdout] 320 | | /// // Result is (0, 0, 1) - the z-axis [INFO] [stdout] 321 | | /// ``` [INFO] [stdout] | |_------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/vector.rs:324:1 [INFO] [stdout] | [INFO] [stdout] 324 | / /// A 4D vector with x, y, z, and w components. [INFO] [stdout] 325 | | /// [INFO] [stdout] 326 | | /// Often used for homogeneous coordinates in 3D graphics. [INFO] [stdout] 327 | | /// [INFO] [stdout] ... | [INFO] [stdout] 333 | | /// // w=1 for positions, w=0 for directions [INFO] [stdout] 334 | | /// ``` [INFO] [stdout] | |_------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `axis` [INFO] [stdout] --> src/quaternion.rs:853:14 [INFO] [stdout] | [INFO] [stdout] 853 | let (axis, angle) = q_identity.to_axis_angle(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_axis` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `axis_small` [INFO] [stdout] --> src/quaternion.rs:865:14 [INFO] [stdout] | [INFO] [stdout] 865 | let (axis_small, angle_small) = q_small.to_axis_angle(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_axis_small` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `Command { std: "docker" "inspect" "fc7dbcb96fdd8a6c0deb861a9607f927514db77ca81a8e5a05110a96531828e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc7dbcb96fdd8a6c0deb861a9607f927514db77ca81a8e5a05110a96531828e4", kill_on_drop: false }` [INFO] [stdout] fc7dbcb96fdd8a6c0deb861a9607f927514db77ca81a8e5a05110a96531828e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6085d96f5805febabe946e02c2faf974e9896d34da8b6467bc54b59382e0bc71 [INFO] running `Command { std: "docker" "start" "-a" "6085d96f5805febabe946e02c2faf974e9896d34da8b6467bc54b59382e0bc71", kill_on_drop: false }` [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/vector.rs:299:1 [INFO] [stderr] | [INFO] [stderr] 299 | / /// A 2D vector with x and y components. [INFO] [stderr] 300 | | /// [INFO] [stderr] 301 | | /// # Examples [INFO] [stderr] 302 | | /// ``` [INFO] [stderr] ... | [INFO] [stderr] 307 | | /// assert_eq!(v.y, 4.0); [INFO] [stderr] 308 | | /// ``` [INFO] [stderr] | |_------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/vector.rs:311:1 [INFO] [stderr] | [INFO] [stderr] 311 | / /// A 3D vector with x, y, and z components. [INFO] [stderr] 312 | | /// [INFO] [stderr] 313 | | /// # Examples [INFO] [stderr] 314 | | /// ``` [INFO] [stderr] ... | [INFO] [stderr] 320 | | /// // Result is (0, 0, 1) - the z-axis [INFO] [stderr] 321 | | /// ``` [INFO] [stderr] | |_------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] running 47 tests [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/vector.rs:324:1 [INFO] [stderr] | [INFO] [stderr] 324 | / /// A 4D vector with x, y, z, and w components. [INFO] [stderr] 325 | | /// [INFO] [stderr] 326 | | /// Often used for homogeneous coordinates in 3D graphics. [INFO] [stderr] 327 | | /// [INFO] [stderr] ... | [INFO] [stderr] 333 | | /// // w=1 for positions, w=0 for directions [INFO] [stderr] 334 | | /// ``` [INFO] [stderr] | |_------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: `rs-math3d` (lib) generated 3 warnings [INFO] [stderr] warning: unused variable: `axis` [INFO] [stderr] --> src/quaternion.rs:853:14 [INFO] [stderr] | [INFO] [stderr] 853 | let (axis, angle) = q_identity.to_axis_angle(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_axis` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `axis_small` [INFO] [stderr] --> src/quaternion.rs:865:14 [INFO] [stderr] | [INFO] [stderr] 865 | let (axis_small, angle_small) = q_small.to_axis_angle(); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_axis_small` [INFO] [stderr] [INFO] [stderr] warning: `rs-math3d` (lib test) generated 5 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rs_math3d-fba648acfe5abc10) [INFO] [stdout] test matrix::tests::test_matrix2_identity ... ok [INFO] [stdout] test matrix::tests::test_matrix2_transpose ... ok [INFO] [stdout] test matrix::tests::test_matrix2_determinant ... ok [INFO] [stdout] test matrix::tests::test_matrix3_determinant ... ok [INFO] [stdout] test matrix::tests::test_matrix3_identity ... ok [INFO] [stdout] test matrix::tests::test_matrix2_inverse ... ok [INFO] [stdout] test matrix::tests::test_matrix3_inverse ... ok [INFO] [stdout] test matrix::tests::test_matrix4_identity ... ok [INFO] [stdout] test matrix::tests::test_matrix_addition_subtraction ... ok [INFO] [stdout] test matrix::tests::test_matrix4_inverse ... ok [INFO] [stdout] test matrix::tests::test_matrix_multiplication ... ok [INFO] [stdout] test matrix::tests::test_matrix_vector_multiplication ... ok [INFO] [stdout] test primitives::tests::test_barycentric ... ok [INFO] [stdout] test primitives::tests::test_barycentric_edge_midpoints ... ok [INFO] [stdout] test primitives::tests::test_barycentric_interpolation ... ok [INFO] [stdout] test quaternion::tests::test_identity ... ok [INFO] [stdout] test quaternion::tests::test_identity_conjugate ... ok [INFO] [stdout] test quaternion::tests::test_quaternion_addition_subtraction ... ok [INFO] [stdout] test quaternion::tests::test_quaternion_conjugate ... ok [INFO] [stdout] test quaternion::tests::test_quaternion_dot_product ... ok [INFO] [stdout] test quaternion::tests::test_rot_composed_45 ... ok [INFO] [stdout] test primitives::tests::test_barycentric_translated ... ok [INFO] [stdout] test quaternion::tests::test_quaternion_inverse ... ok [INFO] [stdout] test quaternion::tests::test_quaternion_normalization ... ok [INFO] [stdout] test quaternion::tests::test_quaternion_scalar_multiplication ... ok [INFO] [stdout] test quaternion::tests::test_rot_composed_120 ... ok [INFO] [stdout] test quaternion::tests::test_axis_angle_f32 ... ok [INFO] [stdout] test quaternion::tests::test_matrix_quaternion_conversion ... ok [INFO] [stdout] test quaternion::tests::test_rot_45 ... ok [INFO] [stdout] test quaternion::tests::test_rot_x_rot_y ... ok [INFO] [stdout] test quaternion::tests::test_to_axis_angle_edge_cases ... ok [INFO] [stdout] test quaternion::tests::test_quaternion_multiplication ... ok [INFO] [stdout] test quaternion::tests::test_rot_90 ... ok [INFO] [stdout] test scalar::tests::test ... ok [INFO] [stdout] test transforms::tests::test_decompose ... ok [INFO] [stdout] test quaternion::tests::test_axis_angle_f64 ... ok [INFO] [stdout] test vector::tests::test ... ok [INFO] [stdout] test vector::tests::test_swizzle_operations ... ok [INFO] [stdout] test vector::tests::test_vector_arithmetic ... ok [INFO] [stdout] test vector::tests::test_vector_distance ... ok [INFO] [stdout] test vector::tests::test_vector_dot_product ... ok [INFO] [stdout] test vector::tests::test_vector_normalization ... ok [INFO] [stdout] test vector::tests::test_vector_cross_product ... ok [INFO] [stdout] test vector::tests::test_vector_min_max ... ok [INFO] [stdout] test vector::tests::test_vector_rem_operation ... ok [INFO] [stdout] test vector::tests::test_vector_length ... ok [INFO] [stdout] test quaternion::tests::test_rot_180 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 47 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Doc-tests rs_math3d [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/matrix.rs - matrix (line 36) ... ok [INFO] [stdout] test src/basis.rs - basis (line 36) ... ok [INFO] [stdout] test src/lib.rs - (line 44) ... FAILED [INFO] [stdout] test src/primitives.rs - primitives (line 36) ... FAILED [INFO] [stdout] test src/vector.rs - vector (line 36) ... FAILED [INFO] [stdout] test src/transforms.rs - transforms (line 36) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 44) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `dot` found for struct `Vector3` in the current scope [INFO] [stdout] --> src/lib.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 11 | let dot_product = Vector3::dot(&v1, &v2); [INFO] [stdout] | ^^^ function or associated item not found in `Vector3<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vector3<_>`, consider using `Vector3::::new` which returns `Vector3<_>` [INFO] [stdout] --> /opt/rustwide/workdir/src/vector.rs:322:1 [INFO] [stdout] | [INFO] [stdout] 322 | implVector!(Vector3, x y z); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `implVector` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `Vector` which provides `dot` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::rs_math3d::Vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/primitives.rs - primitives (line 36) stdout ---- [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/primitives.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 9 | let ray = Ray::new( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: expected `&_`, found `Vector3<{float}>` [INFO] [stdout] --> src/primitives.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 10 | Vector3::new(0.0, 0.0, 0.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `Vector3<{float}>` [INFO] [stdout] note: expected `&_`, found `Vector3<{float}>` [INFO] [stdout] --> src/primitives.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 11 | Vector3::new(1.0, 0.0, 0.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `Vector3<{float}>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/primitives.rs:391:12 [INFO] [stdout] | [INFO] [stdout] 391 | pub fn new(start: &V, direction: &V) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 10 | &Vector3::new(0.0, 0.0, 0.0), [INFO] [stdout] | + [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 11 | &Vector3::new(1.0, 0.0, 0.0) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/primitives.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 15 | let plane = Plane::new( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: expected `&Vector3<_>`, found `Vector3<{float}>` [INFO] [stdout] --> src/primitives.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 16 | Vector3::new(0.0, 0.0, 1.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected reference `&Vector3<_>` [INFO] [stdout] found struct `Vector3<{float}>` [INFO] [stdout] note: expected `&Vector3<_>`, found floating-point number [INFO] [stdout] --> src/primitives.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 17 | -5.0 [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: expected reference `&Vector3<_>` [INFO] [stdout] found type `{float}` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/primitives.rs:514:12 [INFO] [stdout] | [INFO] [stdout] 514 | pub fn new(n: &Vector3, p: &Vector3) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 16 | &Vector3::new(0.0, 0.0, 1.0), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vector.rs - vector (line 36) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `dot` found for struct `Vector3` in the current scope [INFO] [stdout] --> src/vector.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 14 | let dot = Vector3::dot(&v1, &v2); [INFO] [stdout] | ^^^ function or associated item not found in `Vector3<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vector3<_>`, consider using `Vector3::::new` which returns `Vector3<_>` [INFO] [stdout] --> /opt/rustwide/workdir/src/vector.rs:322:1 [INFO] [stdout] | [INFO] [stdout] 322 | implVector!(Vector3, x y z); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `implVector` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `Vector` which provides `dot` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::rs_math3d::Vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 44) [INFO] [stdout] src/primitives.rs - primitives (line 36) [INFO] [stdout] src/vector.rs - vector (line 36) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "6085d96f5805febabe946e02c2faf974e9896d34da8b6467bc54b59382e0bc71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6085d96f5805febabe946e02c2faf974e9896d34da8b6467bc54b59382e0bc71", kill_on_drop: false }` [INFO] [stdout] 6085d96f5805febabe946e02c2faf974e9896d34da8b6467bc54b59382e0bc71