[INFO] cloning repository https://github.com/nanolabo/nanomesh-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nanolabo/nanomesh-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnanolabo%2Fnanomesh-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnanolabo%2Fnanomesh-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 366e5e55bf119a58e3d1709c9a6167e493c4f584 [INFO] building nanolabo/nanomesh-rust against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnanolabo%2Fnanomesh-rust" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nanolabo/nanomesh-rust on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nanolabo/nanomesh-rust [INFO] finished tweaking git repo https://github.com/nanolabo/nanomesh-rust [INFO] tweaked toml for git repo https://github.com/nanolabo/nanomesh-rust written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/nanolabo/nanomesh-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bfef4fbafabb398a525403b05c344a3a891dfd4eb10134263518a6cfe687ce91 [INFO] running `Command { std: "docker" "start" "-a" "bfef4fbafabb398a525403b05c344a3a891dfd4eb10134263518a6cfe687ce91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bfef4fbafabb398a525403b05c344a3a891dfd4eb10134263518a6cfe687ce91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfef4fbafabb398a525403b05c344a3a891dfd4eb10134263518a6cfe687ce91", kill_on_drop: false }` [INFO] [stdout] bfef4fbafabb398a525403b05c344a3a891dfd4eb10134263518a6cfe687ce91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78d3492432b07d582e3499e2526857f1ddd1bb57daec455796e707b91706d0e7 [INFO] running `Command { std: "docker" "start" "-a" "78d3492432b07d582e3499e2526857f1ddd1bb57daec455796e707b91706d0e7", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.80 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.80 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling pool v0.1.4 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling assert_approx_eq v1.1.0 [INFO] [stderr] Compiling geometry-predicates v0.3.0 [INFO] [stderr] Compiling slotmap v0.4.3 [INFO] [stderr] Compiling hashbrown v0.3.1 [INFO] [stderr] Compiling fast-float v0.2.0 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling linked_hash_set v0.1.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling priority-queue v1.2.1 [INFO] [stderr] Compiling bitvec v0.19.6 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling simba v0.5.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.80 [INFO] [stderr] Compiling step v0.1.0 (/opt/rustwide/workdir/step) [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.80 [INFO] [stderr] Compiling nalgebra v0.27.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.80 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Compiling nanomesh_macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> macros/src/macros.rs:21:38 [INFO] [stdout] | [INFO] [stdout] 21 | syn::Fields::Unnamed(fields) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fields` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling cdt v0.1.0 (/opt/rustwide/workdir/cdt) [INFO] [stderr] Compiling js-sys v0.3.57 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling web-sys v0.3.57 [INFO] [stderr] Compiling console_log v0.2.0 [INFO] [stderr] Compiling nalgebra-glm v0.13.0 [INFO] [stderr] Compiling nanomesh v0.1.0 (/opt/rustwide/workdir/main) [INFO] [stderr] Compiling nurbs v0.1.0 (/opt/rustwide/workdir/nurbs) [INFO] [stdout] warning: unused imports: `DVec3`, `U32Vec3` [INFO] [stdout] --> main/src/io/stl.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use glm::{DVec3, U32Vec3}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> main/src/io/stl.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> main/src/mesh/decimate/decimate.rs:161:101 [INFO] [stdout] | [INFO] [stdout] 161 | ...s: &mut Vec, queue: &PriorityQueue::>, position_to_node: &U32... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position_to_node` [INFO] [stdout] --> main/src/mesh/decimate/decimate.rs:161:183 [INFO] [stdout] | [INFO] [stdout] 161 | ...lt>, position_to_node: &U32Map, edge_buffer: &mut U32Set, edge: &Edge, collapse_context: &mut CollapseContext) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position_to_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_buffer` [INFO] [stdout] --> main/src/mesh/decimate/decimate.rs:161:210 [INFO] [stdout] | [INFO] [stdout] 161 | ...ition_to_node: &U32Map, edge_buffer: &mut U32Set, edge: &Edge, collapse_context: &mut CollapseContext) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> main/src/scene/scene.rs:16:38 [INFO] [stdout] | [INFO] [stdout] 16 | fn set_attachement_id(&mut self, id: EntityId) { } [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> main/src/mesh/decimate/decimate.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | let mut error_a = matrix.quadric_distance_to_vertex(&pos_a); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> main/src/mesh/decimate/decimate.rs:186:17 [INFO] [stdout] | [INFO] [stdout] 186 | let mut error_b = matrix.quadric_distance_to_vertex(&pos_b); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_siblings` [INFO] [stdout] --> main/src/mesh/connected_mesh.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | fn check_siblings(&self, node_index: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_siblings` [INFO] [stdout] --> main/src/mesh/connected_mesh.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn print_siblings(&self, node_index: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_relatives` [INFO] [stdout] --> main/src/mesh/connected_mesh.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | fn check_relatives(&self, node_index: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_layout` [INFO] [stdout] --> main/src/mesh/connected_mesh.rs:310:8 [INFO] [stdout] | [INFO] [stdout] 310 | fn from_layout(position: u32, sibling: u32, relative: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `first_index` [INFO] [stdout] --> main/src/mesh/group.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | first_index: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `index_count` [INFO] [stdout] --> main/src/mesh/group.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | index_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> main/src/io/stl.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | writer.write(&u.to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> main/src/io/stl.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | writer.write(&[0; 12]); // Triangle normal (todo) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> main/src/io/stl.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | writer.write(&(v.x as f32).to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> main/src/io/stl.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | writer.write(&(v.y as f32).to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> main/src/io/stl.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | writer.write(&(v.z as f32).to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> main/src/io/stl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | writer.write(&[0; 2]); // Mot de contrôle (wat?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling triangulate v0.1.0 (/opt/rustwide/workdir/triangulate) [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nanolabo_wasm v0.1.0 (/opt/rustwide/workdir/wasm) [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> wasm/src/lib.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn read_obj(parameters: &Parameters, bytes: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parameters` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 35.18s [INFO] running `Command { std: "docker" "inspect" "78d3492432b07d582e3499e2526857f1ddd1bb57daec455796e707b91706d0e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78d3492432b07d582e3499e2526857f1ddd1bb57daec455796e707b91706d0e7", kill_on_drop: false }` [INFO] [stdout] 78d3492432b07d582e3499e2526857f1ddd1bb57daec455796e707b91706d0e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c72bd3a46e6f117247173118e2ebe77764bd69aad61cbdc2bfcb31cb5dae3de2 [INFO] running `Command { std: "docker" "start" "-a" "c72bd3a46e6f117247173118e2ebe77764bd69aad61cbdc2bfcb31cb5dae3de2", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> macros/src/macros.rs:21:38 [INFO] [stdout] | [INFO] [stdout] 21 | syn::Fields::Unnamed(fields) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fields` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nanomesh_macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DVec3`, `U32Vec3` [INFO] [stdout] --> main/src/io/stl.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use glm::{DVec3, U32Vec3}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> main/src/io/stl.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> main/src/mesh/decimate/decimate.rs:161:101 [INFO] [stdout] | [INFO] [stdout] 161 | ...s: &mut Vec, queue: &PriorityQueue::>, position_to_node: &U32... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position_to_node` [INFO] [stdout] --> main/src/mesh/decimate/decimate.rs:161:183 [INFO] [stdout] | [INFO] [stdout] 161 | ...lt>, position_to_node: &U32Map, edge_buffer: &mut U32Set, edge: &Edge, collapse_context: &mut CollapseContext) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position_to_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_buffer` [INFO] [stdout] --> main/src/mesh/decimate/decimate.rs:161:210 [INFO] [stdout] | [INFO] [stdout] 161 | ...ition_to_node: &U32Map, edge_buffer: &mut U32Set, edge: &Edge, collapse_context: &mut CollapseContext) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> main/src/scene/scene.rs:16:38 [INFO] [stdout] | [INFO] [stdout] 16 | fn set_attachement_id(&mut self, id: EntityId) { } [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> main/src/mesh/decimate/decimate.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | let mut error_a = matrix.quadric_distance_to_vertex(&pos_a); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> main/src/mesh/decimate/decimate.rs:186:17 [INFO] [stdout] | [INFO] [stdout] 186 | let mut error_b = matrix.quadric_distance_to_vertex(&pos_b); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_siblings` [INFO] [stdout] --> main/src/mesh/connected_mesh.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | fn check_siblings(&self, node_index: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_siblings` [INFO] [stdout] --> main/src/mesh/connected_mesh.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn print_siblings(&self, node_index: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_relatives` [INFO] [stdout] --> main/src/mesh/connected_mesh.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | fn check_relatives(&self, node_index: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_layout` [INFO] [stdout] --> main/src/mesh/connected_mesh.rs:310:8 [INFO] [stdout] | [INFO] [stdout] 310 | fn from_layout(position: u32, sibling: u32, relative: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `first_index` [INFO] [stdout] --> main/src/mesh/group.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | first_index: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `index_count` [INFO] [stdout] --> main/src/mesh/group.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | index_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> main/src/io/stl.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | writer.write(&u.to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> main/src/io/stl.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | writer.write(&[0; 12]); // Triangle normal (todo) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> main/src/io/stl.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | writer.write(&(v.x as f32).to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> main/src/io/stl.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | writer.write(&(v.y as f32).to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> main/src/io/stl.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | writer.write(&(v.z as f32).to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> main/src/io/stl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | writer.write(&[0; 2]); // Mot de contrôle (wat?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nanomesh v0.1.0 (/opt/rustwide/workdir/main) [INFO] [stderr] Compiling nurbs v0.1.0 (/opt/rustwide/workdir/nurbs) [INFO] [stderr] Compiling nanolabo_wasm v0.1.0 (/opt/rustwide/workdir/wasm) [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> nurbs/src/knot_vector.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> macros/src/macros.rs:21:38 [INFO] [stdout] | [INFO] [stdout] 21 | syn::Fields::Unnamed(fields) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fields` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> wasm/src/lib.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn read_obj(parameters: &Parameters, bytes: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parameters` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::base::*` [INFO] [stdout] --> main/src/mesh/builders.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | use crate::base::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DVec3`, `U32Vec3` [INFO] [stdout] --> main/src/io/stl.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use glm::{DVec3, U32Vec3}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> main/src/io/stl.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> main/src/scene/scene.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> main/src/mesh/builders.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 150 | return; // todo: Fix this [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] 151 | [INFO] [stdout] 152 | let mut positions = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> main/src/mesh/decimate/decimate.rs:161:101 [INFO] [stdout] | [INFO] [stdout] 161 | ...s: &mut Vec, queue: &PriorityQueue::>, position_to_node: &U32... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position_to_node` [INFO] [stdout] --> main/src/mesh/decimate/decimate.rs:161:183 [INFO] [stdout] | [INFO] [stdout] 161 | ...lt>, position_to_node: &U32Map, edge_buffer: &mut U32Set, edge: &Edge, collapse_context: &mut CollapseContext) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position_to_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_buffer` [INFO] [stdout] --> main/src/mesh/decimate/decimate.rs:161:210 [INFO] [stdout] | [INFO] [stdout] 161 | ...ition_to_node: &U32Map, edge_buffer: &mut U32Set, edge: &Edge, collapse_context: &mut CollapseContext) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> main/src/scene/scene.rs:16:38 [INFO] [stdout] | [INFO] [stdout] 16 | fn set_attachement_id(&mut self, id: EntityId) { } [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> main/src/scene/scene.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | for i in 0..10000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> main/src/mesh/decimate/decimate.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | let mut error_a = matrix.quadric_distance_to_vertex(&pos_a); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> main/src/mesh/decimate/decimate.rs:186:17 [INFO] [stdout] | [INFO] [stdout] 186 | let mut error_b = matrix.quadric_distance_to_vertex(&pos_b); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stdout] warning: associated function is never used: `print_siblings` [INFO] [stdout] --> main/src/mesh/connected_mesh.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn print_siblings(&self, node_index: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `first_index` [INFO] [stdout] --> main/src/mesh/group.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | first_index: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `index_count` [INFO] [stdout] --> main/src/mesh/group.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | index_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> main/src/io/stl.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | writer.write(&u.to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> main/src/io/stl.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | writer.write(&[0; 12]); // Triangle normal (todo) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> main/src/io/stl.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | writer.write(&(v.x as f32).to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> main/src/io/stl.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | writer.write(&(v.y as f32).to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> main/src/io/stl.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | writer.write(&(v.z as f32).to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> main/src/io/stl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | writer.write(&[0; 2]); // Mot de contrôle (wat?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling step v0.1.0 (/opt/rustwide/workdir/step) [INFO] [stderr] Compiling cdt v0.1.0 (/opt/rustwide/workdir/cdt) [INFO] [stderr] Compiling triangulate v0.1.0 (/opt/rustwide/workdir/triangulate) [INFO] [stdout] warning: unused variable: `tri` [INFO] [stdout] --> triangulate/examples/step_to_stl.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let tri = triangulate(&entities); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tri` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 22.68s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/cdt-be67e50749f3dc8e) [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/nanolabo_wasm-554f2052956b12bd) [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/nanomesh-dbd36e682c564227) [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/nanomesh_macros-831aac344e36b6c5) [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/nurbs-e9f0c88045a2c008) [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/step-1c207e2561be8cba) [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/triangulate-85a7fa5745156e26) [INFO] running `Command { std: "docker" "inspect" "c72bd3a46e6f117247173118e2ebe77764bd69aad61cbdc2bfcb31cb5dae3de2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c72bd3a46e6f117247173118e2ebe77764bd69aad61cbdc2bfcb31cb5dae3de2", kill_on_drop: false }` [INFO] [stdout] c72bd3a46e6f117247173118e2ebe77764bd69aad61cbdc2bfcb31cb5dae3de2