[INFO] cloning repository https://github.com/timschmidt/csg-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timschmidt/csg-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimschmidt%2Fcsg-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimschmidt%2Fcsg-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c47d83d77afce2e133463e62dc29629afcfe9cf2 [INFO] checking timschmidt/csg-rs against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimschmidt%2Fcsg-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/timschmidt/csg-rs [INFO] finished tweaking git repo https://github.com/timschmidt/csg-rs [INFO] tweaked toml for git repo https://github.com/timschmidt/csg-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/timschmidt/csg-rs on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/timschmidt/csg-rs 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ttf-parser-utils v0.1.1 [INFO] [stderr] Downloaded stl_io v0.8.5 [INFO] [stderr] Downloaded svg v0.18.0 [INFO] [stderr] Downloaded smallvec v2.0.0-alpha.11 [INFO] [stderr] Downloaded atomicow v1.1.0 [INFO] [stderr] Downloaded bevy_asset_macros v0.16.1 [INFO] [stderr] Downloaded num_enum_derive v0.7.4 [INFO] [stderr] Downloaded small_str v0.1.0 [INFO] [stderr] Downloaded rapier3d-f64 v0.24.0 [INFO] [stderr] Downloaded libm v0.2.15 [INFO] [stderr] Downloaded hershey v0.1.2 [INFO] [stderr] Downloaded v_frame v0.3.9 [INFO] [stderr] Downloaded bevy_platform v0.16.1 [INFO] [stderr] Downloaded svg_fmt v0.4.5 [INFO] [stderr] Downloaded ctrlc v3.4.7 [INFO] [stderr] Downloaded bevy_input v0.16.1 [INFO] [stderr] Downloaded bevy_window v0.16.1 [INFO] [stderr] Downloaded bevy_color v0.16.2 [INFO] [stderr] Downloaded gauss-quad v0.2.3 [INFO] [stderr] Downloaded bevy_mesh v0.16.1 [INFO] [stderr] Downloaded bevy_math v0.16.1 [INFO] [stderr] Downloaded curvo v0.1.60 [INFO] [stderr] Downloaded bevy_asset v0.16.1 [INFO] [stderr] Downloaded geo v0.29.3 [INFO] [stderr] Downloaded bevy_ecs v0.16.1 [INFO] [stderr] Downloaded image v0.25.6 [INFO] [stderr] Downloaded dxf v0.6.0 [INFO] [stderr] Downloaded bevy_reflect v0.16.1 [INFO] [stderr] Downloaded nix v0.30.1 [INFO] [stderr] Downloaded winnow v0.7.11 [INFO] [stderr] Downloaded rapier3d v0.24.0 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.9 [INFO] [stderr] Downloaded spade v2.14.0 [INFO] [stderr] Downloaded i_tree v0.8.3 [INFO] [stderr] Downloaded i_overlay v1.9.4 [INFO] [stderr] Downloaded bevy_ecs_macros v0.16.1 [INFO] [stderr] Downloaded num-bigint v0.3.3 [INFO] [stderr] Downloaded earcutr v0.4.3 [INFO] [stderr] Downloaded fast-surface-nets v0.2.1 [INFO] [stderr] Downloaded av1-grain v0.2.4 [INFO] [stderr] Downloaded serde_spanned v0.6.9 [INFO] [stderr] Downloaded bevy_image v0.16.1 [INFO] [stderr] Downloaded bevy_derive v0.16.1 [INFO] [stderr] Downloaded libloading v0.8.8 [INFO] [stderr] Downloaded bevy_ptr v0.16.1 [INFO] [stderr] Downloaded ndshape v0.3.0 [INFO] [stderr] Downloaded image-webp v0.2.3 [INFO] [stderr] Downloaded bevy_mikktspace v0.16.1 [INFO] [stderr] Downloaded bevy_app v0.16.1 [INFO] [stderr] Downloaded chull v0.2.4 [INFO] [stderr] Downloaded bevy_macro_utils v0.16.1 [INFO] [stderr] Downloaded bevy_reflect_derive v0.16.1 [INFO] [stderr] Downloaded variadics_please v1.1.0 [INFO] [stderr] Downloaded doc-image-embed v0.2.1 [INFO] [stderr] Downloaded i_float v1.6.0 [INFO] [stderr] Downloaded equator-macro v0.4.2 [INFO] [stderr] Downloaded nalgebra v0.33.2 [INFO] [stderr] Downloaded prettyplease v0.2.35 [INFO] [stderr] Downloaded glam v0.29.3 [INFO] [stderr] Downloaded bevy_log v0.16.1 [INFO] [stderr] Downloaded bevy_utils v0.16.1 [INFO] [stderr] Downloaded contour_tracing v1.0.12 [INFO] [stderr] Downloaded argmin-math v0.4.0 [INFO] [stderr] Downloaded argmin v0.10.0 [INFO] [stderr] Downloaded xmltree v0.8.0 [INFO] [stderr] Downloaded i_key_sort v0.2.0 [INFO] [stderr] Downloaded i_shape v1.6.0 [INFO] [stderr] Downloaded geo-buf v0.1.0 [INFO] [stderr] Downloaded imgref v1.11.0 [INFO] [stderr] Downloaded equator v0.4.2 [INFO] [stderr] Downloaded jpeg-decoder v0.3.2 [INFO] [stderr] Downloaded rgb v0.8.50 [INFO] [stderr] Downloaded flate2 v1.1.2 [INFO] [stderr] Downloaded zune-jpeg v0.4.18 [INFO] [stderr] Downloaded parry3d v0.19.0 [INFO] [stderr] Downloaded matrixmultiply v0.3.10 [INFO] [stderr] Downloaded parry3d-f64 v0.19.0 [INFO] [stderr] Downloaded bevy_tasks v0.16.1 [INFO] [stderr] Downloaded bevy_transform v0.16.1 [INFO] [stderr] Downloaded toml_edit v0.22.27 [INFO] [stderr] Downloaded toml v0.8.23 [INFO] [stderr] Downloaded portable-atomic v1.11.1 [INFO] [stderr] Downloaded heapless v0.8.0 [INFO] [stderr] Downloaded safe_arch v0.7.4 [INFO] [stderr] Downloaded wide v0.7.33 [INFO] [stderr] Downloaded geographiclib-rs v0.2.5 [INFO] [stderr] Downloaded gif v0.13.3 [INFO] [stderr] Downloaded avif-serialize v0.8.4 [INFO] [stderr] Downloaded bitstream-io v2.6.0 [INFO] [stderr] Downloaded downcast-rs v2.0.1 [INFO] [stderr] Downloaded ena v0.14.3 [INFO] [stderr] Downloaded profiling-procmacros v1.0.17 [INFO] [stderr] Downloaded weezl v0.1.10 [INFO] [stderr] Downloaded ordered-float v5.0.0 [INFO] [stderr] Downloaded rstar v0.12.2 [INFO] [stderr] Downloaded profiling v1.0.17 [INFO] [stderr] Downloaded built v0.7.7 [INFO] [stderr] Downloaded toml_datetime v0.6.11 [INFO] [stderr] Downloaded aligned-vec v0.6.4 [INFO] [stderr] Downloaded ravif v0.11.20 [INFO] [stderr] Downloaded hash32 v0.3.1 [INFO] [stderr] Downloaded robust v1.2.0 [INFO] [stderr] Downloaded num_enum v0.7.4 [INFO] [stderr] Downloaded simba v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b224637772ba82795c8dbe36a808ae634d556ee397667ac12fa8f1aebc027a5a [INFO] running `Command { std: "docker" "start" "-a" "b224637772ba82795c8dbe36a808ae634d556ee397667ac12fa8f1aebc027a5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b224637772ba82795c8dbe36a808ae634d556ee397667ac12fa8f1aebc027a5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b224637772ba82795c8dbe36a808ae634d556ee397667ac12fa8f1aebc027a5a", kill_on_drop: false }` [INFO] [stdout] b224637772ba82795c8dbe36a808ae634d556ee397667ac12fa8f1aebc027a5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01dbb4858cc869c099b7ce947a411596ab0b8bfb39567f181f85ce492a19de07 [INFO] running `Command { std: "docker" "start" "-a" "01dbb4858cc869c099b7ce947a411596ab0b8bfb39567f181f85ce492a19de07", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking robust v1.2.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking rstar v0.12.2 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking spade v2.14.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking imgref v1.11.0 [INFO] [stderr] Checking i_key_sort v0.2.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking i_tree v0.8.3 [INFO] [stderr] Compiling xmltree v0.8.0 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking geo-types v0.7.16 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking geographiclib-rs v0.2.5 [INFO] [stderr] Checking earcutr v0.4.3 [INFO] [stderr] Checking avif-serialize v0.8.4 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking jpeg-decoder v0.3.2 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking float_next_after v1.0.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking gif v0.13.3 [INFO] [stderr] Checking zune-jpeg v0.4.18 [INFO] [stderr] Checking image-webp v0.2.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling dxf v0.6.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking ordered-float v5.0.0 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking ena v0.14.3 [INFO] [stderr] Checking av1-grain v0.2.4 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking downcast-rs v2.0.1 [INFO] [stderr] Checking ndshape v0.3.0 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking glam v0.29.3 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Checking smallvec v2.0.0-alpha.11 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Compiling doc-image-embed v0.2.1 [INFO] [stderr] Checking stl_io v0.8.5 [INFO] [stderr] Checking hershey v0.1.2 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking contour_tracing v1.0.12 [INFO] [stderr] Checking chull v0.2.4 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking ttf-parser-utils v0.1.1 [INFO] [stderr] Checking fast-surface-nets v0.2.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking i_float v1.6.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking small_str v0.1.0 [INFO] [stderr] Checking i_shape v1.6.0 [INFO] [stderr] Checking ravif v0.11.20 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Checking argmin-math v0.4.0 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking i_overlay v1.9.4 [INFO] [stderr] Checking argmin v0.10.0 [INFO] [stderr] Checking image v0.25.6 [INFO] [stderr] Checking geo v0.29.3 [INFO] [stderr] Checking geo-buf v0.1.0 [INFO] [stderr] Checking nalgebra v0.33.2 [INFO] [stderr] Checking parry3d-f64 v0.19.0 [INFO] [stderr] Checking gauss-quad v0.2.3 [INFO] [stderr] Checking curvo v0.1.60 [INFO] [stderr] Checking rapier3d-f64 v0.24.0 [INFO] [stderr] Checking csgrs v0.20.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/mesh/bsp.rs:328:20 [INFO] [stdout] | [INFO] [stdout] 328 | let node = Node::from_polygons(&polygons); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 314 + use crate::mesh::Node; [INFO] [stdout] | [INFO] [stdout] 314 + use curvo::prelude::node::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CSG` in this scope [INFO] [stdout] --> src/tests.rs:851:17 [INFO] [stdout] | [INFO] [stdout] 851 | let poly2d: CSG<()> = CSG::polygon(points, None); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/tests.rs:359:26 [INFO] [stdout] | [INFO] [stdout] 359 | let node: Node<()> = Node::new(&[p.clone()]); [INFO] [stdout] | ^^^^^^^^^ ------------ unexpected argument of type `&[polygon::Polygon<()>; 1]` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/mesh/bsp.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 359 - let node: Node<()> = Node::new(&[p.clone()]); [INFO] [stdout] 359 + let node: Node<()> = Node::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/tests.rs:377:30 [INFO] [stdout] | [INFO] [stdout] 377 | let mut node: Node<()> = Node::new(&[p.clone()]); [INFO] [stdout] | ^^^^^^^^^ ------------ unexpected argument of type `&[polygon::Polygon<()>; 1]` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/mesh/bsp.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 377 - let mut node: Node<()> = Node::new(&[p.clone()]); [INFO] [stdout] 377 + let mut node: Node<()> = Node::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/tests.rs:464:32 [INFO] [stdout] | [INFO] [stdout] 464 | let mut node_a: Node<()> = Node::new(&[poly]); [INFO] [stdout] | ^^^^^^^^^ ------- unexpected argument of type `&[polygon::Polygon<()>; 1]` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/mesh/bsp.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 464 - let mut node_a: Node<()> = Node::new(&[poly]); [INFO] [stdout] 464 + let mut node_a: Node<()> = Node::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/tests.rs:475:28 [INFO] [stdout] | [INFO] [stdout] 475 | let node_b: Node<()> = Node::new(&[big_poly]); [INFO] [stdout] | ^^^^^^^^^ ----------- unexpected argument of type `&[polygon::Polygon<()>; 1]` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/mesh/bsp.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 475 - let node_b: Node<()> = Node::new(&[big_poly]); [INFO] [stdout] 475 + let node_b: Node<()> = Node::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/tests.rs:502:26 [INFO] [stdout] | [INFO] [stdout] 502 | let node: Node<()> = Node::new(&[poly1.clone(), poly2.clone()]); [INFO] [stdout] | ^^^^^^^^^ ------------------------------- unexpected argument of type `&[polygon::Polygon<()>; 2]` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/mesh/bsp.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 502 - let node: Node<()> = Node::new(&[poly1.clone(), poly2.clone()]); [INFO] [stdout] 502 + let node: Node<()> = Node::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_polygons` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:522:21 [INFO] [stdout] | [INFO] [stdout] 522 | let polys = csg.to_polygons(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `to_polygons` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `translate` found for struct `Mesh` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `translate` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn translate(&self, x: Real, y: Real, z: Real) -> Self { [INFO] [stdout] | --------- the method is available for `Mesh<_>` here [INFO] [stdout] --> src/tests.rs:529:49 [INFO] [stdout] | [INFO] [stdout] 529 | let cube1: Mesh<()> = Mesh::cube(2.0, None).translate(-1.0, -1.0, -1.0); // from -1 to +1 in all coords [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `translate_vector` with a similar name, but with different arguments [INFO] [stdout] --> src/traits.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | fn translate_vector(&self, vector: Vector3) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `CSGOps` which provides `translate` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `translate` found for struct `Mesh` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `translate` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn translate(&self, x: Real, y: Real, z: Real) -> Self { [INFO] [stdout] | --------- the method is available for `Mesh<_>` here [INFO] [stdout] --> src/tests.rs:530:49 [INFO] [stdout] | [INFO] [stdout] 530 | let cube2: Mesh<()> = Mesh::cube(1.0, None).translate(0.5, 0.5, 0.5); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `translate_vector` with a similar name, but with different arguments [INFO] [stdout] --> src/traits.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | fn translate_vector(&self, vector: Vector3) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `CSGOps` which provides `translate` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `translate` found for struct `Mesh` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `translate` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn translate(&self, x: Real, y: Real, z: Real) -> Self { [INFO] [stdout] | --------- the method is available for `Mesh<_>` here [INFO] [stdout] --> src/tests.rs:552:52 [INFO] [stdout] | [INFO] [stdout] 552 | let big_cube: Mesh<()> = Mesh::cube(4.0, None).translate(-2.0, -2.0, -2.0); // radius=2 => spans [-2,2] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `translate_vector` with a similar name, but with different arguments [INFO] [stdout] --> src/traits.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | fn translate_vector(&self, vector: Vector3) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `CSGOps` which provides `translate` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `translate` found for struct `Mesh` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `translate` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn translate(&self, x: Real, y: Real, z: Real) -> Self { [INFO] [stdout] | --------- the method is available for `Mesh<_>` here [INFO] [stdout] --> src/tests.rs:553:54 [INFO] [stdout] | [INFO] [stdout] 553 | let small_cube: Mesh<()> = Mesh::cube(2.0, None).translate(-1.0, -1.0, -1.0); // radius=1 => spans [-1,1] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `translate_vector` with a similar name, but with different arguments [INFO] [stdout] --> src/traits.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | fn translate_vector(&self, vector: Vector3) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `CSGOps` which provides `translate` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `union` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:573:22 [INFO] [stdout] | [INFO] [stdout] 573 | let unioned = c1.union(&c2); [INFO] [stdout] | ^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `union` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | fn union(&self, other: &Self) -> Self; [INFO] [stdout] | ----- the method is available for `Mesh<()>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CSGOps` which provides `union` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bounding_box` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:576:22 [INFO] [stdout] | [INFO] [stdout] 576 | let bb_cube = c1.bounding_box(); [INFO] [stdout] | ^^^^^^^^^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `bounding_box` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn bounding_box(&self) -> Aabb; [INFO] [stdout] | ------------ the method is available for `Mesh<()>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 576 - let bb_cube = c1.bounding_box(); [INFO] [stdout] 576 + let bb_cube = c1.bounding_box; [INFO] [stdout] | [INFO] [stdout] help: trait `CSGOps` which provides `bounding_box` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] help: there is a method `invalidate_bounding_box` with a similar name [INFO] [stdout] | [INFO] [stdout] 576 | let bb_cube = c1.invalidate_bounding_box(); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bounding_box` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:577:24 [INFO] [stdout] | [INFO] [stdout] 577 | let bb_sphere = c2.bounding_box(); [INFO] [stdout] | ^^^^^^^^^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `bounding_box` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn bounding_box(&self) -> Aabb; [INFO] [stdout] | ------------ the method is available for `Mesh<()>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 577 - let bb_sphere = c2.bounding_box(); [INFO] [stdout] 577 + let bb_sphere = c2.bounding_box; [INFO] [stdout] | [INFO] [stdout] help: trait `CSGOps` which provides `bounding_box` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] help: there is a method `invalidate_bounding_box` with a similar name [INFO] [stdout] | [INFO] [stdout] 577 | let bb_sphere = c2.invalidate_bounding_box(); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intersection` found for struct `Mesh` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `intersection` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn intersection(&self, other: &Self) -> Self; [INFO] [stdout] | ------------ the method is available for `Mesh<()>` here [INFO] [stdout] --> src/tests.rs:586:20 [INFO] [stdout] | [INFO] [stdout] 586 | let isect = c1.intersection(&c2); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `ray_intersections` with a similar name, but with different arguments [INFO] [stdout] --> src/mesh/mod.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | / pub fn ray_intersections( [INFO] [stdout] 243 | | &self, [INFO] [stdout] 244 | | origin: &Point3, [INFO] [stdout] 245 | | direction: &Vector3, [INFO] [stdout] 246 | | ) -> Vec<(Point3, Real)> { [INFO] [stdout] | |__________________________________^ [INFO] [stdout] help: trait `CSGOps` which provides `intersection` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bounding_box` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:589:22 [INFO] [stdout] | [INFO] [stdout] 589 | let bb_cube = c1.bounding_box(); [INFO] [stdout] | ^^^^^^^^^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `bounding_box` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn bounding_box(&self) -> Aabb; [INFO] [stdout] | ------------ the method is available for `Mesh<()>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 589 - let bb_cube = c1.bounding_box(); [INFO] [stdout] 589 + let bb_cube = c1.bounding_box; [INFO] [stdout] | [INFO] [stdout] help: trait `CSGOps` which provides `bounding_box` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] help: there is a method `invalidate_bounding_box` with a similar name [INFO] [stdout] | [INFO] [stdout] 589 | let bb_cube = c1.invalidate_bounding_box(); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bounding_box` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:590:24 [INFO] [stdout] | [INFO] [stdout] 590 | let bb_sphere = c2.bounding_box(); [INFO] [stdout] | ^^^^^^^^^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `bounding_box` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn bounding_box(&self) -> Aabb; [INFO] [stdout] | ------------ the method is available for `Mesh<()>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 590 - let bb_sphere = c2.bounding_box(); [INFO] [stdout] 590 + let bb_sphere = c2.bounding_box; [INFO] [stdout] | [INFO] [stdout] help: trait `CSGOps` which provides `bounding_box` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] help: there is a method `invalidate_bounding_box` with a similar name [INFO] [stdout] | [INFO] [stdout] 590 | let bb_sphere = c2.invalidate_bounding_box(); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intersection` found for struct `Mesh` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `intersection` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn intersection(&self, other: &Self) -> Self; [INFO] [stdout] | ------------ the method is available for `Mesh<()>` here [INFO] [stdout] --> src/tests.rs:602:31 [INFO] [stdout] | [INFO] [stdout] 602 | let intersection = sphere.intersection(&cube); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `ray_intersections` with a similar name, but with different arguments [INFO] [stdout] --> src/mesh/mod.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | / pub fn ray_intersections( [INFO] [stdout] 243 | | &self, [INFO] [stdout] 244 | | origin: &Point3, [INFO] [stdout] 245 | | direction: &Vector3, [INFO] [stdout] 246 | | ) -> Vec<(Point3, Real)> { [INFO] [stdout] | |__________________________________^ [INFO] [stdout] help: trait `CSGOps` which provides `intersection` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `inverse` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:623:18 [INFO] [stdout] | [INFO] [stdout] 623 | let inv = c1.inverse(); [INFO] [stdout] | ^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `inverse` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn inverse(&self) -> Self; [INFO] [stdout] | ------- the method is available for `Mesh<()>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CSGOps` which provides `inverse` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_polygons` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:645:12 [INFO] [stdout] | [INFO] [stdout] 645 | c1.to_polygons().len(), [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `to_polygons` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bounding_box` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:658:16 [INFO] [stdout] | [INFO] [stdout] 658 | let bb = c.bounding_box(); [INFO] [stdout] | ^^^^^^^^^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `bounding_box` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn bounding_box(&self) -> Aabb; [INFO] [stdout] | ------------ the method is available for `Mesh<()>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 658 - let bb = c.bounding_box(); [INFO] [stdout] 658 + let bb = c.bounding_box; [INFO] [stdout] | [INFO] [stdout] help: trait `CSGOps` which provides `bounding_box` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] help: there is a method `invalidate_bounding_box` with a similar name [INFO] [stdout] | [INFO] [stdout] 658 | let bb = c.invalidate_bounding_box(); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_polygons` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:671:24 [INFO] [stdout] | [INFO] [stdout] 671 | let polys = sphere.to_polygons(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `to_polygons` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_polygons` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:692:26 [INFO] [stdout] | [INFO] [stdout] 692 | let polys = cylinder.to_polygons(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `to_polygons` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `center` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:725:45 [INFO] [stdout] | [INFO] [stdout] 725 | let c: Mesh<()> = Mesh::cube(2.0, None).center(); [INFO] [stdout] | ^^^^^^ method not found in `Mesh<_>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `center` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn center(&self) -> Self { [INFO] [stdout] | ------ the method is available for `Mesh<_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CSGOps` which provides `center` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mirror` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:758:22 [INFO] [stdout] | [INFO] [stdout] 758 | let mirror_x = c.mirror(plane_x); [INFO] [stdout] | ^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `mirror` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn mirror(&self, plane: Plane) -> Self { [INFO] [stdout] | ------ the method is available for `Mesh<()>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CSGOps` which provides `mirror` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `center` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:778:46 [INFO] [stdout] | [INFO] [stdout] 778 | let c1: Mesh<()> = Mesh::cube(2.0, None).center(); [INFO] [stdout] | ^^^^^^ method not found in `Mesh<_>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `center` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn center(&self) -> Self { [INFO] [stdout] | ------ the method is available for `Mesh<_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CSGOps` which provides `center` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `center` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:779:46 [INFO] [stdout] | [INFO] [stdout] 779 | let c2: Mesh<()> = Mesh::cube(1.0, None).center(); [INFO] [stdout] | ^^^^^^ method not found in `Mesh<_>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `center` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn center(&self) -> Self { [INFO] [stdout] | ------ the method is available for `Mesh<_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CSGOps` which provides `center` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `center` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:818:48 [INFO] [stdout] | [INFO] [stdout] 818 | let cube: Mesh<()> = Mesh::cube(2.0, None).center(); [INFO] [stdout] | ^^^^^^ method not found in `Mesh<_>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `center` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn center(&self) -> Self { [INFO] [stdout] | ------ the method is available for `Mesh<_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CSGOps` which provides `center` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `polygons` on type `Sketch<()>` [INFO] [stdout] --> src/tests.rs:834:19 [INFO] [stdout] | [INFO] [stdout] 834 | assert_eq!(sq.polygons.len(), 1); [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `geometry`, `bounding_box`, `metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `polygons` on type `Sketch<()>` [INFO] [stdout] --> src/tests.rs:835:20 [INFO] [stdout] | [INFO] [stdout] 835 | let poly = &sq.polygons[0]; [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `geometry`, `bounding_box`, `metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `circle` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:841:34 [INFO] [stdout] | [INFO] [stdout] 841 | let circle: Mesh<()> = Mesh::circle(2.0, 32, None); [INFO] [stdout] | ^^^^^^ function or associated item not found in `Mesh<_>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- function or associated item `circle` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Mesh<_>` consider using one of the following associated functions: [INFO] [stdout] stl::>::from_stl [INFO] [stdout] dxf::>::from_dxf [INFO] [stdout] mesh::metaballs::>::metaballs [INFO] [stdout] sdf::>::sdf [INFO] [stdout] and 19 others [INFO] [stdout] --> src/io/stl.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn from_stl(stl_data: &[u8], metadata: Option) -> Result, std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/io/dxf.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn from_dxf(dxf_data: &[u8], metadata: Option) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/sdf.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / pub fn sdf( [INFO] [stdout] 30 | | sdf: F, [INFO] [stdout] 31 | | resolution: (usize, usize, usize), [INFO] [stdout] 32 | | min_pt: Point3, [INFO] [stdout] ... | [INFO] [stdout] 40 | | F: Fn(&Point3) -> Real + Sync + Send, [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/metaballs.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / pub fn metaballs( [INFO] [stdout] 47 | | balls: &[MetaBall], [INFO] [stdout] 48 | | resolution: (usize, usize, usize), [INFO] [stdout] 49 | | iso_value: Real, [INFO] [stdout] 50 | | padding: Real, [INFO] [stdout] 51 | | metadata: Option, [INFO] [stdout] 52 | | ) -> Mesh { [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CSG` [INFO] [stdout] --> src/tests.rs:851:27 [INFO] [stdout] | [INFO] [stdout] 851 | let poly2d: CSG<()> = CSG::polygon(points, None); [INFO] [stdout] | ^^^ use of undeclared type `CSG` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bounding_box` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:867:23 [INFO] [stdout] | [INFO] [stdout] 867 | let bb = extruded.bounding_box(); [INFO] [stdout] | ^^^^^^^^^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `bounding_box` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn bounding_box(&self) -> Aabb; [INFO] [stdout] | ------------ the method is available for `Mesh<()>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 867 - let bb = extruded.bounding_box(); [INFO] [stdout] 867 + let bb = extruded.bounding_box; [INFO] [stdout] | [INFO] [stdout] help: trait `CSGOps` which provides `bounding_box` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] help: there is a method `invalidate_bounding_box` with a similar name [INFO] [stdout] | [INFO] [stdout] 867 | let bb = extruded.invalidate_bounding_box(); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `translate` found for struct `Sketch` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/sketch/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Sketch { [INFO] [stdout] | -------------------- method `translate` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn translate(&self, x: Real, y: Real, z: Real) -> Self { [INFO] [stdout] | --------- the method is available for `Sketch<_>` here [INFO] [stdout] --> src/tests.rs:878:10 [INFO] [stdout] | [INFO] [stdout] 877 | let square: Sketch<()> = Sketch::square(2.0, None) [INFO] [stdout] | ______________________________- [INFO] [stdout] 878 | | .translate(1.0, 0.0, 0.0) [INFO] [stdout] | |_________-^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `translate_vector` with a similar name, but with different arguments [INFO] [stdout] --> src/traits.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | fn translate_vector(&self, vector: Vector3) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `CSGOps` which provides `translate` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bounding_box` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:891:21 [INFO] [stdout] | [INFO] [stdout] 891 | let bb = sphere.bounding_box(); [INFO] [stdout] | ^^^^^^^^^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `bounding_box` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn bounding_box(&self) -> Aabb; [INFO] [stdout] | ------------ the method is available for `Mesh<()>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 891 - let bb = sphere.bounding_box(); [INFO] [stdout] 891 + let bb = sphere.bounding_box; [INFO] [stdout] | [INFO] [stdout] help: trait `CSGOps` which provides `bounding_box` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] help: there is a method `invalidate_bounding_box` with a similar name [INFO] [stdout] | [INFO] [stdout] 891 | let bb = sphere.invalidate_bounding_box(); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bounding_box` found for struct `Sketch` in the current scope [INFO] [stdout] --> src/tests.rs:914:28 [INFO] [stdout] | [INFO] [stdout] 914 | let bb_square = square.bounding_box(); [INFO] [stdout] | ^^^^^^^^^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] ::: src/sketch/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Sketch { [INFO] [stdout] | -------------------- method `bounding_box` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn bounding_box(&self) -> Aabb; [INFO] [stdout] | ------------ the method is available for `Sketch<()>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 914 - let bb_square = square.bounding_box(); [INFO] [stdout] 914 + let bb_square = square.bounding_box; [INFO] [stdout] | [INFO] [stdout] help: trait `CSGOps` which provides `bounding_box` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] help: there is a method `invalidate_bounding_box` with a similar name [INFO] [stdout] | [INFO] [stdout] 914 | let bb_square = square.invalidate_bounding_box(); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bounding_box` found for struct `Sketch` in the current scope [INFO] [stdout] --> src/tests.rs:915:26 [INFO] [stdout] | [INFO] [stdout] 915 | let bb_grown = grown.bounding_box(); [INFO] [stdout] | ^^^^^^^^^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] ::: src/sketch/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Sketch { [INFO] [stdout] | -------------------- method `bounding_box` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn bounding_box(&self) -> Aabb; [INFO] [stdout] | ------------ the method is available for `Sketch<()>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 915 - let bb_grown = grown.bounding_box(); [INFO] [stdout] 915 + let bb_grown = grown.bounding_box; [INFO] [stdout] | [INFO] [stdout] help: trait `CSGOps` which provides `bounding_box` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] help: there is a method `invalidate_bounding_box` with a similar name [INFO] [stdout] | [INFO] [stdout] 915 | let bb_grown = grown.invalidate_bounding_box(); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bounding_box` found for struct `Sketch` in the current scope [INFO] [stdout] --> src/tests.rs:916:28 [INFO] [stdout] | [INFO] [stdout] 916 | let bb_shrunk = shrunk.bounding_box(); [INFO] [stdout] | ^^^^^^^^^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] ::: src/sketch/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Sketch { [INFO] [stdout] | -------------------- method `bounding_box` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn bounding_box(&self) -> Aabb; [INFO] [stdout] | ------------ the method is available for `Sketch<()>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 916 - let bb_shrunk = shrunk.bounding_box(); [INFO] [stdout] 916 + let bb_shrunk = shrunk.bounding_box; [INFO] [stdout] | [INFO] [stdout] help: trait `CSGOps` which provides `bounding_box` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] help: there is a method `invalidate_bounding_box` with a similar name [INFO] [stdout] | [INFO] [stdout] 916 | let bb_shrunk = shrunk.invalidate_bounding_box(); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `polygons` on type `Sketch<()>` [INFO] [stdout] --> src/tests.rs:936:23 [INFO] [stdout] | [INFO] [stdout] 936 | assert!(!text_csg.polygons.is_empty()); [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `geometry`, `bounding_box`, `metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests.rs:944:12 [INFO] [stdout] | [INFO] [stdout] 944 | if let Some(trimesh) = shape { [INFO] [stdout] | ^^^^^^^^^^^^^ ----- this expression has type `SharedShape` [INFO] [stdout] | | [INFO] [stdout] | expected `SharedShape`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `SharedShape` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `center` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:953:48 [INFO] [stdout] | [INFO] [stdout] 953 | let cube: Mesh<()> = Mesh::cube(2.0, None).center(); // side=2 => volume=8. If density=1 => mass=8 [INFO] [stdout] | ^^^^^^ method not found in `Mesh<_>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `center` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn center(&self) -> Self { [INFO] [stdout] | ------ the method is available for `Mesh<_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CSGOps` which provides `center` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `polygons` on type `Sketch<_>` [INFO] [stdout] --> src/tests.rs:1105:23 [INFO] [stdout] | [INFO] [stdout] 1105 | for p in &mut sq1.polygons { [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `geometry`, `bounding_box`, `metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `translate` found for struct `Sketch` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/sketch/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Sketch { [INFO] [stdout] | -------------------- method `translate` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn translate(&self, x: Real, y: Real, z: Real) -> Self { [INFO] [stdout] | --------- the method is available for `Sketch<_>` here [INFO] [stdout] --> src/tests.rs:1110:41 [INFO] [stdout] | [INFO] [stdout] 1110 | let sq2 = Sketch::square(1.0, None).translate(0.5, 0.0, 0.0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `translate_vector` with a similar name, but with different arguments [INFO] [stdout] --> src/traits.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | fn translate_vector(&self, vector: Vector3) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `CSGOps` which provides `translate` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `union` found for struct `Sketch` in the current scope [INFO] [stdout] --> src/tests.rs:1117:25 [INFO] [stdout] | [INFO] [stdout] 1117 | let union_csg = sq1.union(&sq2); [INFO] [stdout] | ^^^^^ method not found in `Sketch<_>` [INFO] [stdout] | [INFO] [stdout] ::: src/sketch/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Sketch { [INFO] [stdout] | -------------------- method `union` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | fn union(&self, other: &Self) -> Self; [INFO] [stdout] | ----- the method is available for `Sketch<_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CSGOps` which provides `union` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `translate` found for struct `Mesh` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `translate` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn translate(&self, x: Real, y: Real, z: Real) -> Self { [INFO] [stdout] | --------- the method is available for `Mesh<_>` here [INFO] [stdout] --> src/tests.rs:1143:43 [INFO] [stdout] | [INFO] [stdout] 1143 | let mut cube2 = Mesh::cube(2.0, None).translate(0.5, 0.5, 0.5); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `translate_vector` with a similar name, but with different arguments [INFO] [stdout] --> src/traits.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | fn translate_vector(&self, vector: Vector3) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `CSGOps` which provides `translate` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `difference` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1148:24 [INFO] [stdout] | [INFO] [stdout] 1148 | let result = cube1.difference(&cube2); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Mesh` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `difference` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn difference(&self, other: &Self) -> Self; [INFO] [stdout] | ---------- the method is available for `Mesh` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CSGOps` which provides `difference` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `translate` found for struct `Mesh` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `translate` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn translate(&self, x: Real, y: Real, z: Real) -> Self { [INFO] [stdout] | --------- the method is available for `Mesh<_>` here [INFO] [stdout] --> src/tests.rs:1170:43 [INFO] [stdout] | [INFO] [stdout] 1170 | let mut cube2 = Mesh::cube(2.0, None).translate(0.5, 0.5, 0.5); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `translate_vector` with a similar name, but with different arguments [INFO] [stdout] --> src/traits.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | fn translate_vector(&self, vector: Vector3) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `CSGOps` which provides `translate` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intersection` found for struct `Mesh` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `intersection` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn intersection(&self, other: &Self) -> Self; [INFO] [stdout] | ------------ the method is available for `Mesh` here [INFO] [stdout] --> src/tests.rs:1175:24 [INFO] [stdout] | [INFO] [stdout] 1175 | let result = cube1.intersection(&cube2); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `ray_intersections` with a similar name, but with different arguments [INFO] [stdout] --> src/mesh/mod.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | / pub fn ray_intersections( [INFO] [stdout] 243 | | &self, [INFO] [stdout] 244 | | origin: &Point3, [INFO] [stdout] 245 | | direction: &Vector3, [INFO] [stdout] 246 | | ) -> Vec<(Point3, Real)> { [INFO] [stdout] | |__________________________________^ [INFO] [stdout] help: trait `CSGOps` which provides `intersection` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `inverse` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1201:24 [INFO] [stdout] | [INFO] [stdout] 1201 | let inverted = csg.inverse(); [INFO] [stdout] | ^^^^^^^ method not found in `Mesh` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `inverse` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn inverse(&self) -> Self; [INFO] [stdout] | ------- the method is available for `Mesh` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CSGOps` which provides `inverse` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `translate` found for struct `Mesh` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `translate` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn translate(&self, x: Real, y: Real, z: Real) -> Self { [INFO] [stdout] | --------- the method is available for `Mesh` here [INFO] [stdout] --> src/tests.rs:1243:25 [INFO] [stdout] | [INFO] [stdout] 1243 | let csg_trans = csg.translate(10.0, 5.0, 0.0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `translate_vector` with a similar name, but with different arguments [INFO] [stdout] --> src/traits.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | fn translate_vector(&self, vector: Vector3) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `CSGOps` which provides `translate` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `translate` found for struct `Mesh` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `translate` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn translate(&self, x: Real, y: Real, z: Real) -> Self { [INFO] [stdout] | --------- the method is available for `Mesh<_>` here [INFO] [stdout] --> src/tests.rs:1264:42 [INFO] [stdout] | [INFO] [stdout] 1264 | let mut csg2 = Mesh::cube(2.0, None).translate(0.5, 0.5, 0.5); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `translate_vector` with a similar name, but with different arguments [INFO] [stdout] --> src/traits.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | fn translate_vector(&self, vector: Vector3) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `CSGOps` which provides `translate` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `union` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1269:24 [INFO] [stdout] | [INFO] [stdout] 1269 | let unioned = csg1.union(&csg2); [INFO] [stdout] | ^^^^^ method not found in `Mesh` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `union` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | fn union(&self, other: &Self) -> Self; [INFO] [stdout] | ----- the method is available for `Mesh` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CSGOps` which provides `union` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `polygons` on type `Sketch<_>` [INFO] [stdout] --> src/tests.rs:1296:23 [INFO] [stdout] | [INFO] [stdout] 1296 | assert_eq!(square.polygons.len(), 1); [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `geometry`, `bounding_box`, `metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `polygons` on type `Sketch<_>` [INFO] [stdout] --> src/tests.rs:1297:24 [INFO] [stdout] | [INFO] [stdout] 1297 | let poly = &square.polygons[0]; [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `geometry`, `bounding_box`, `metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `polygons` on type `Sketch<_>` [INFO] [stdout] --> src/tests.rs:1309:23 [INFO] [stdout] | [INFO] [stdout] 1309 | assert_eq!(offset.polygons.len(), 1); [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `geometry`, `bounding_box`, `metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `polygons` on type `Sketch<_>` [INFO] [stdout] --> src/tests.rs:1310:24 [INFO] [stdout] | [INFO] [stdout] 1310 | let poly = &offset.polygons[0]; [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `geometry`, `bounding_box`, `metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `polygons` on type `Sketch<_>` [INFO] [stdout] --> src/tests.rs:1325:23 [INFO] [stdout] | [INFO] [stdout] 1325 | assert_eq!(offset.polygons.len(), 1); [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `geometry`, `bounding_box`, `metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `polygons` on type `Sketch<_>` [INFO] [stdout] --> src/tests.rs:1326:24 [INFO] [stdout] | [INFO] [stdout] 1326 | let poly = &offset.polygons[0]; [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `geometry`, `bounding_box`, `metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `polygon` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1338:28 [INFO] [stdout] | [INFO] [stdout] 1338 | let mut csg_cw = Mesh::polygon(&points_cw, None); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Mesh<_>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- function or associated item `polygon` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Mesh<_>` consider using one of the following associated functions: [INFO] [stdout] stl::>::from_stl [INFO] [stdout] dxf::>::from_dxf [INFO] [stdout] mesh::metaballs::>::metaballs [INFO] [stdout] sdf::>::sdf [INFO] [stdout] and 19 others [INFO] [stdout] --> src/io/stl.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn from_stl(stl_data: &[u8], metadata: Option) -> Result, std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/io/dxf.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn from_dxf(dxf_data: &[u8], metadata: Option) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/sdf.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / pub fn sdf( [INFO] [stdout] 30 | | sdf: F, [INFO] [stdout] 31 | | resolution: (usize, usize, usize), [INFO] [stdout] 32 | | min_pt: Point3, [INFO] [stdout] ... | [INFO] [stdout] 40 | | F: Fn(&Point3) -> Real + Sync + Send, [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/metaballs.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / pub fn metaballs( [INFO] [stdout] 47 | | balls: &[MetaBall], [INFO] [stdout] 48 | | resolution: (usize, usize, usize), [INFO] [stdout] 49 | | iso_value: Real, [INFO] [stdout] 50 | | padding: Real, [INFO] [stdout] 51 | | metadata: Option, [INFO] [stdout] 52 | | ) -> Mesh { [INFO] [stdout] | |________________^ [INFO] [stdout] help: there is an associated function `from_polygons` with a similar name [INFO] [stdout] --> src/mesh/mod.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn from_polygons(polygons: &[Polygon]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `polygons` on type `Sketch<_>` [INFO] [stdout] --> src/tests.rs:1354:46 [INFO] [stdout] | [INFO] [stdout] 1354 | let grow_area = signed_area(&offset_grow.polygons[0]); [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `geometry`, `bounding_box`, `metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `polygons` on type `Sketch<_>` [INFO] [stdout] --> src/tests.rs:1355:50 [INFO] [stdout] | [INFO] [stdout] 1355 | let shrink_area = signed_area(&offset_shrink.polygons[0]); [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `geometry`, `bounding_box`, `metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bounding_box` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1470:20 [INFO] [stdout] | [INFO] [stdout] 1470 | let bbox = csg.bounding_box(); [INFO] [stdout] | ^^^^^^^^^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `bounding_box` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn bounding_box(&self) -> Aabb; [INFO] [stdout] | ------------ the method is available for `Mesh<()>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 1470 - let bbox = csg.bounding_box(); [INFO] [stdout] 1470 + let bbox = csg.bounding_box; [INFO] [stdout] | [INFO] [stdout] help: trait `CSGOps` which provides `bounding_box` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] help: there is a method `invalidate_bounding_box` with a similar name [INFO] [stdout] | [INFO] [stdout] 1470 | let bbox = csg.invalidate_bounding_box(); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `union` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1502:24 [INFO] [stdout] | [INFO] [stdout] 1502 | let unioned = csg1.union(&csg2); [INFO] [stdout] | ^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `union` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | fn union(&self, other: &Self) -> Self; [INFO] [stdout] | ----- the method is available for `Mesh<()>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CSGOps` which provides `union` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `polygons` on type `Sketch<()>` [INFO] [stdout] --> src/tests.rs:1523:19 [INFO] [stdout] | [INFO] [stdout] 1523 | flattened.polygons.len(), [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `geometry`, `bounding_box`, `metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `polygons` on type `Sketch<()>` [INFO] [stdout] --> src/tests.rs:1529:28 [INFO] [stdout] | [INFO] [stdout] 1529 | for poly in &flattened.polygons { [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `geometry`, `bounding_box`, `metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bounding_box` found for struct `Sketch` in the current scope [INFO] [stdout] --> src/tests.rs:1540:26 [INFO] [stdout] | [INFO] [stdout] 1540 | let bbox = flattened.bounding_box(); [INFO] [stdout] | ^^^^^^^^^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] ::: src/sketch/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Sketch { [INFO] [stdout] | -------------------- method `bounding_box` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn bounding_box(&self) -> Aabb; [INFO] [stdout] | ------------ the method is available for `Sketch<()>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 1540 - let bbox = flattened.bounding_box(); [INFO] [stdout] 1540 + let bbox = flattened.bounding_box; [INFO] [stdout] | [INFO] [stdout] help: trait `CSGOps` which provides `bounding_box` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] help: there is a method `invalidate_bounding_box` with a similar name [INFO] [stdout] | [INFO] [stdout] 1540 | let bbox = flattened.invalidate_bounding_box(); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `center` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1552:56 [INFO] [stdout] | [INFO] [stdout] 1552 | let cyl = Mesh::<()>::cylinder(1.0, 2.0, 32, None).center(); [INFO] [stdout] | ^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `center` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn center(&self) -> Self { [INFO] [stdout] | ------ the method is available for `Mesh<()>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CSGOps` which provides `center` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `polygons` on type `Sketch<()>` [INFO] [stdout] --> src/tests.rs:1635:23 [INFO] [stdout] | [INFO] [stdout] 1635 | assert!(!flat_csg.polygons.is_empty(), "Result should not be empty"); [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `geometry`, `bounding_box`, `metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bounding_box` found for struct `Sketch` in the current scope [INFO] [stdout] --> src/tests.rs:1636:23 [INFO] [stdout] | [INFO] [stdout] 1636 | let bb = flat_csg.bounding_box(); [INFO] [stdout] | ^^^^^^^^^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] ::: src/sketch/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Sketch { [INFO] [stdout] | -------------------- method `bounding_box` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn bounding_box(&self) -> Aabb; [INFO] [stdout] | ------------ the method is available for `Sketch<()>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 1636 - let bb = flat_csg.bounding_box(); [INFO] [stdout] 1636 + let bb = flat_csg.bounding_box; [INFO] [stdout] | [INFO] [stdout] help: trait `CSGOps` which provides `bounding_box` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] help: there is a method `invalidate_bounding_box` with a similar name [INFO] [stdout] | [INFO] [stdout] 1636 | let bb = flat_csg.invalidate_bounding_box(); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `polygons` on type `Sketch<()>` [INFO] [stdout] --> src/tests.rs:1654:23 [INFO] [stdout] | [INFO] [stdout] 1654 | assert!(!flat_csg.polygons.is_empty(), "Union should not be empty"); [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `geometry`, `bounding_box`, `metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bounding_box` found for struct `Sketch` in the current scope [INFO] [stdout] --> src/tests.rs:1657:23 [INFO] [stdout] | [INFO] [stdout] 1657 | let bb = flat_csg.bounding_box(); [INFO] [stdout] | ^^^^^^^^^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] ::: src/sketch/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Sketch { [INFO] [stdout] | -------------------- method `bounding_box` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn bounding_box(&self) -> Aabb; [INFO] [stdout] | ------------ the method is available for `Sketch<()>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 1657 - let bb = flat_csg.bounding_box(); [INFO] [stdout] 1657 + let bb = flat_csg.bounding_box; [INFO] [stdout] | [INFO] [stdout] help: trait `CSGOps` which provides `bounding_box` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] help: there is a method `invalidate_bounding_box` with a similar name [INFO] [stdout] | [INFO] [stdout] 1657 | let bb = flat_csg.invalidate_bounding_box(); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `polygons` on type `Sketch<()>` [INFO] [stdout] --> src/tests.rs:1667:18 [INFO] [stdout] | [INFO] [stdout] 1667 | flat_csg.polygons.len(), [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `geometry`, `bounding_box`, `metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `polygons` on type `Sketch<()>` [INFO] [stdout] --> src/tests.rs:1684:23 [INFO] [stdout] | [INFO] [stdout] 1684 | assert!(!flat_csg.polygons.is_empty()); [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `geometry`, `bounding_box`, `metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `polygons` on type `Sketch<()>` [INFO] [stdout] --> src/tests.rs:1688:18 [INFO] [stdout] | [INFO] [stdout] 1688 | flat_csg.polygons.len(), [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `geometry`, `bounding_box`, `metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `polygons` on type `Sketch<()>` [INFO] [stdout] --> src/tests.rs:1714:19 [INFO] [stdout] | [INFO] [stdout] 1714 | !flat_csg.polygons.is_empty(), [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `geometry`, `bounding_box`, `metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bounding_box` found for struct `Sketch` in the current scope [INFO] [stdout] --> src/tests.rs:1717:23 [INFO] [stdout] | [INFO] [stdout] 1717 | let bb = flat_csg.bounding_box(); [INFO] [stdout] | ^^^^^^^^^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] ::: src/sketch/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Sketch { [INFO] [stdout] | -------------------- method `bounding_box` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn bounding_box(&self) -> Aabb; [INFO] [stdout] | ------------ the method is available for `Sketch<()>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 1717 - let bb = flat_csg.bounding_box(); [INFO] [stdout] 1717 + let bb = flat_csg.bounding_box; [INFO] [stdout] | [INFO] [stdout] help: trait `CSGOps` which provides `bounding_box` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] help: there is a method `invalidate_bounding_box` with a similar name [INFO] [stdout] | [INFO] [stdout] 1717 | let bb = flat_csg.invalidate_bounding_box(); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `polygons` on type `Sketch<()>` [INFO] [stdout] --> src/tests.rs:1741:23 [INFO] [stdout] | [INFO] [stdout] 1741 | assert!(!flat_csg.polygons.is_empty()); [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `geometry`, `bounding_box`, `metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bounding_box` found for struct `Sketch` in the current scope [INFO] [stdout] --> src/tests.rs:1742:23 [INFO] [stdout] | [INFO] [stdout] 1742 | let bb = flat_csg.bounding_box(); [INFO] [stdout] | ^^^^^^^^^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] ::: src/sketch/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Sketch { [INFO] [stdout] | -------------------- method `bounding_box` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn bounding_box(&self) -> Aabb; [INFO] [stdout] | ------------ the method is available for `Sketch<()>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 1742 - let bb = flat_csg.bounding_box(); [INFO] [stdout] 1742 + let bb = flat_csg.bounding_box; [INFO] [stdout] | [INFO] [stdout] help: trait `CSGOps` which provides `bounding_box` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] help: there is a method `invalidate_bounding_box` with a similar name [INFO] [stdout] | [INFO] [stdout] 1742 | let bb = flat_csg.invalidate_bounding_box(); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Sketch<()>` is not an iterator [INFO] [stdout] --> src/tests.rs:1754:32 [INFO] [stdout] | [INFO] [stdout] 1754 | let flattened = csg_square.flatten(); [INFO] [stdout] | ^^^^^^^ `Sketch<()>` is not an iterator [INFO] [stdout] | [INFO] [stdout] ::: src/sketch/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Sketch { [INFO] [stdout] | -------------------- method `flatten` not found for this struct because it doesn't satisfy `Sketch<()>: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Sketch<()>: Iterator` [INFO] [stdout] which is required by `&mut Sketch<()>: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `flatten`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `rayon::iter::ParallelIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_vertex` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1769:22 [INFO] [stdout] | [INFO] [stdout] 1769 | assert!(csg_cube.contains_vertex(&Point3::new(3.0, 3.0, 3.0))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `contains_vertex` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_vertex` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1770:22 [INFO] [stdout] | [INFO] [stdout] 1770 | assert!(csg_cube.contains_vertex(&Point3::new(1.0, 2.0, 5.9))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `contains_vertex` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_vertex` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1771:23 [INFO] [stdout] | [INFO] [stdout] 1771 | assert!(!csg_cube.contains_vertex(&Point3::new(3.0, 3.0, 6.0))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `contains_vertex` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_vertex` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1772:23 [INFO] [stdout] | [INFO] [stdout] 1772 | assert!(!csg_cube.contains_vertex(&Point3::new(3.0, 3.0, -6.0))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `contains_vertex` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_vertex` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1773:23 [INFO] [stdout] | [INFO] [stdout] 1773 | assert!(!csg_cube.contains_vertex(&Point3::new(3.0, 3.0, 0.0))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `contains_vertex` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_vertex` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1774:22 [INFO] [stdout] | [INFO] [stdout] 1774 | assert!(csg_cube.contains_vertex(&Point3::new(3.0, 3.0, 0.01))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `contains_vertex` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_vertex` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1776:22 [INFO] [stdout] | [INFO] [stdout] 1776 | assert!(csg_cube.contains_vertex(&Point3::new(3.0, 3.0, 5.99999999999))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `contains_vertex` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_vertex` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1777:22 [INFO] [stdout] | [INFO] [stdout] 1777 | assert!(csg_cube.contains_vertex(&Point3::new(3.0, 3.0, 6.0 - 1e-11))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `contains_vertex` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_vertex` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1778:22 [INFO] [stdout] | [INFO] [stdout] 1778 | assert!(csg_cube.contains_vertex(&Point3::new(3.0, 3.0, 6.0 - 1e-14))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `contains_vertex` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_vertex` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1779:22 [INFO] [stdout] | [INFO] [stdout] 1779 | assert!(csg_cube.contains_vertex(&Point3::new(3.0, 3.0, 5.9 + 9e-9))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `contains_vertex` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_vertex` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1781:22 [INFO] [stdout] | [INFO] [stdout] 1781 | assert!(csg_cube.contains_vertex(&Point3::new(3.0, -3.0, 3.0))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `contains_vertex` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_vertex` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1782:23 [INFO] [stdout] | [INFO] [stdout] 1782 | assert!(!csg_cube.contains_vertex(&Point3::new(3.0, -3.01, 3.0))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `contains_vertex` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_vertex` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1783:22 [INFO] [stdout] | [INFO] [stdout] 1783 | assert!(csg_cube.contains_vertex(&Point3::new(0.01, 4.0, 3.0))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `contains_vertex` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_vertex` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1784:23 [INFO] [stdout] | [INFO] [stdout] 1784 | assert!(!csg_cube.contains_vertex(&Point3::new(-0.01, 4.0, 3.0))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `contains_vertex` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `difference` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1787:35 [INFO] [stdout] | [INFO] [stdout] 1787 | let cube_with_hole = csg_cube.difference(&csg_cube_hole); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `difference` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/traits.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn difference(&self, other: &Self) -> Self; [INFO] [stdout] | ---------- the method is available for `Mesh<()>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `CSGOps` which provides `difference` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::traits::CSGOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_vertex` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1798:24 [INFO] [stdout] | [INFO] [stdout] 1798 | assert!(csg_sphere.contains_vertex(&Point3::new(3.0, 3.0, 3.0))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `contains_vertex` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_vertex` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1799:24 [INFO] [stdout] | [INFO] [stdout] 1799 | assert!(csg_sphere.contains_vertex(&Point3::new(-3.0, -3.0, -3.0))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `contains_vertex` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_vertex` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1800:25 [INFO] [stdout] | [INFO] [stdout] 1800 | assert!(!csg_sphere.contains_vertex(&Point3::new(1.0, 2.0, 5.9))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `contains_vertex` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_vertex` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1802:25 [INFO] [stdout] | [INFO] [stdout] 1802 | assert!(!csg_sphere.contains_vertex(&Point3::new(1.0, 1.0, 5.8))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `contains_vertex` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_vertex` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1803:25 [INFO] [stdout] | [INFO] [stdout] 1803 | assert!(!csg_sphere.contains_vertex(&Point3::new(0.0, 3.0, 5.8))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `contains_vertex` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_vertex` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1804:24 [INFO] [stdout] | [INFO] [stdout] 1804 | assert!(csg_sphere.contains_vertex(&Point3::new(0.0, 0.0, 5.8))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `contains_vertex` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_vertex` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1806:25 [INFO] [stdout] | [INFO] [stdout] 1806 | assert!(!csg_sphere.contains_vertex(&Point3::new(3.0, 3.0, 6.0))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `contains_vertex` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_vertex` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1807:25 [INFO] [stdout] | [INFO] [stdout] 1807 | assert!(!csg_sphere.contains_vertex(&Point3::new(3.0, 3.0, -6.0))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `contains_vertex` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_vertex` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1808:24 [INFO] [stdout] | [INFO] [stdout] 1808 | assert!(csg_sphere.contains_vertex(&Point3::new(3.0, 3.0, 0.0))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `contains_vertex` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_vertex` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1810:24 [INFO] [stdout] | [INFO] [stdout] 1810 | assert!(csg_sphere.contains_vertex(&Point3::new(0.0, 0.0, -5.8))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `contains_vertex` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_vertex` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1811:25 [INFO] [stdout] | [INFO] [stdout] 1811 | assert!(!csg_sphere.contains_vertex(&Point3::new(3.0, 3.0, -5.8))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `contains_vertex` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_vertex` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1812:25 [INFO] [stdout] | [INFO] [stdout] 1812 | assert!(!csg_sphere.contains_vertex(&Point3::new(3.0, 3.0, -6.01))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `contains_vertex` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_vertex` found for struct `Mesh` in the current scope [INFO] [stdout] --> src/tests.rs:1813:24 [INFO] [stdout] | [INFO] [stdout] 1813 | assert!(csg_sphere.contains_vertex(&Point3::new(3.0, 3.0, 0.01))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Mesh<()>` [INFO] [stdout] | [INFO] [stdout] ::: src/mesh/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Mesh { [INFO] [stdout] | ----------------------------------------------- method `contains_vertex` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Meshrotate` [INFO] [stdout] --> src/tests.rs:1947:9 [INFO] [stdout] | [INFO] [stdout] 1947 | Meshrotate::from_polygons(&[ [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Meshrotate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0412, E0433, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `csgrs` (lib test) due to 109 previous errors [INFO] running `Command { std: "docker" "inspect" "01dbb4858cc869c099b7ce947a411596ab0b8bfb39567f181f85ce492a19de07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01dbb4858cc869c099b7ce947a411596ab0b8bfb39567f181f85ce492a19de07", kill_on_drop: false }` [INFO] [stdout] 01dbb4858cc869c099b7ce947a411596ab0b8bfb39567f181f85ce492a19de07