[INFO] cloning repository https://github.com/VRatPolito/crocheting [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VRatPolito/crocheting" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVRatPolito%2Fcrocheting", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVRatPolito%2Fcrocheting'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] be282f9685b3b1107e2d139790f68c3c02b536c9 [INFO] checking VRatPolito/crocheting/be282f9685b3b1107e2d139790f68c3c02b536c9 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVRatPolito%2Fcrocheting" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/VRatPolito/crocheting on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/VRatPolito/crocheting [INFO] finished tweaking git repo https://github.com/VRatPolito/crocheting [INFO] tweaked toml for git repo https://github.com/VRatPolito/crocheting written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/VRatPolito/crocheting 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded paste v1.0.6 [INFO] [stderr] Downloaded wide v0.7.3 [INFO] [stderr] Downloaded fixedbitset v0.4.1 [INFO] [stderr] Downloaded petgraph v0.6.0 [INFO] [stderr] Downloaded simba v0.7.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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad19ddb24f9c263eafc4a328bb206ddc5cc66b6082e9088b345ad2ad47e88c2a [INFO] running `Command { std: "docker" "start" "-a" "ad19ddb24f9c263eafc4a328bb206ddc5cc66b6082e9088b345ad2ad47e88c2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad19ddb24f9c263eafc4a328bb206ddc5cc66b6082e9088b345ad2ad47e88c2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad19ddb24f9c263eafc4a328bb206ddc5cc66b6082e9088b345ad2ad47e88c2a", kill_on_drop: false }` [INFO] [stdout] ad19ddb24f9c263eafc4a328bb206ddc5cc66b6082e9088b345ad2ad47e88c2a [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0666587e8bed9ac84375082765c96dd40d76d6e2bb7806185a48b12f1752429b [INFO] running `Command { std: "docker" "start" "-a" "0666587e8bed9ac84375082765c96dd40d76d6e2bb7806185a48b12f1752429b", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking fixedbitset v0.4.1 [INFO] [stderr] Checking safe_arch v0.6.0 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking wide v0.7.3 [INFO] [stderr] Checking indexmap v1.7.0 [INFO] [stderr] Checking approx v0.5.0 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking petgraph v0.6.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking simba v0.7.0 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Checking nalgebra v0.30.1 [INFO] [stderr] Checking crocheting v0.1.0 (/opt/rustwide/workdir/crocheting) [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> crocheting/src/nodes.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> crocheting/src/param_surface.rs:235:35 [INFO] [stdout] | [INFO] [stdout] 235 | let spostamento = (self.to_3d_point(direct_tau_incremented_coord)? - self.to_3d_point(coord)?); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 235 - let spostamento = (self.to_3d_point(direct_tau_incremented_coord)? - self.to_3d_point(coord)?); [INFO] [stdout] 235 + let spostamento = self.to_3d_point(direct_tau_incremented_coord)? - self.to_3d_point(coord)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> crocheting/src/nodes.rs:2380:21 [INFO] [stdout] | [INFO] [stdout] 2379 | todo!("Ancora non supportato"); [INFO] [stdout] | ------------------------------ any code following this expression is unreachable [INFO] [stdout] 2380 | / gr.add_edge( [INFO] [stdout] 2381 | | prev_level_nodes[0], [INFO] [stdout] 2382 | | new_nodes[1], [INFO] [stdout] 2383 | | CrochetEdge { [INFO] [stdout] 2384 | | link_type: EdgeType::Wale, [INFO] [stdout] 2385 | | }, [INFO] [stdout] 2386 | | ); [INFO] [stdout] | |______________________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> crocheting/src/param_surface.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 250 | return Ok(new_coord); [INFO] [stdout] | -------------------- any code following this expression is unreachable [INFO] [stdout] 251 | [INFO] [stdout] 252 | / return Ok( [INFO] [stdout] 253 | | TauCoords{ [INFO] [stdout] 254 | | tau: coord.tau + dist / ds_su_dtau, [INFO] [stdout] 255 | | v: coord.v [INFO] [stdout] 256 | | } [INFO] [stdout] 257 | | ); [INFO] [stdout] | |______________^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> crocheting/src/crochet_consts.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 135 | return sin_value*DITHERING_MULT; [INFO] [stdout] | ------------------------------- any code following this expression is unreachable [INFO] [stdout] 136 | / if sin_value > 0.0 [INFO] [stdout] 137 | | { [INFO] [stdout] 138 | | return sin_value*DITHERING_MULT; [INFO] [stdout] 139 | | } [INFO] [stdout] ... | [INFO] [stdout] 142 | | return sin_value*(DITHERING_MULT*0.5); [INFO] [stdout] 143 | | } [INFO] [stdout] | |_________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> crocheting/src/nodes.rs:1138:17 [INFO] [stdout] | [INFO] [stdout] 1138 | for i in 1..self.get_surface().tau_max_value().floor() as usize [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_generated_cycle` [INFO] [stdout] --> crocheting/src/nodes.rs:1143:21 [INFO] [stdout] | [INFO] [stdout] 1143 | let mut last_generated_cycle: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_generated_cycle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_generated_cycle` [INFO] [stdout] --> crocheting/src/nodes.rs:1149:25 [INFO] [stdout] | [INFO] [stdout] 1149 | let mut current_generated_cycle: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_generated_cycle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_coords` [INFO] [stdout] --> crocheting/src/nodes.rs:1250:25 [INFO] [stdout] | [INFO] [stdout] 1250 | let base_coords = self [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_coords` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_c_node_coord` [INFO] [stdout] --> crocheting/src/nodes.rs:1319:25 [INFO] [stdout] | [INFO] [stdout] 1319 | let next_c_node_coord = self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_c_node_coord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crocheting/src/nodes.rs:1143:17 [INFO] [stdout] | [INFO] [stdout] 1143 | let mut last_generated_cycle: Vec = vec![]; [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] --> crocheting/src/nodes.rs:1149:21 [INFO] [stdout] | [INFO] [stdout] 1149 | let mut current_generated_cycle: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fuond_we` is assigned to, but never used [INFO] [stdout] --> crocheting/src/nodes.rs:2921:33 [INFO] [stdout] | [INFO] [stdout] 2921 | let mut fuond_we = self.get_graph().node_weight(start_ind).unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_fuond_we` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `fuond_we` is never read [INFO] [stdout] --> crocheting/src/nodes.rs:2938:33 [INFO] [stdout] | [INFO] [stdout] 2938 | ... fuond_we = w; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wanted_length` [INFO] [stdout] --> crocheting/src/nodes.rs:1954:33 [INFO] [stdout] | [INFO] [stdout] 1954 | ... let wanted_length = crochet_consts::get_height(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wanted_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crocheting/src/nodes.rs:1913:21 [INFO] [stdout] | [INFO] [stdout] 1913 | let mut new_middle_coords = left_average.lerp(&right_average, 0.5); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `column_end` [INFO] [stdout] --> crocheting/src/nodes.rs:2039:17 [INFO] [stdout] | [INFO] [stdout] 2039 | column_end: [TauCoords; 2] [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_column_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `was_splitted` [INFO] [stdout] --> crocheting/src/nodes.rs:2180:21 [INFO] [stdout] | [INFO] [stdout] 2180 | let was_splitted = ret[1].len() > 1; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_was_splitted` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_target` [INFO] [stdout] --> crocheting/src/nodes.rs:2214:21 [INFO] [stdout] | [INFO] [stdout] 2214 | let base_target: TauCoords = gr.node_weight(base_node).unwrap().height_target(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `medium_v` [INFO] [stdout] --> crocheting/src/nodes.rs:2217:25 [INFO] [stdout] | [INFO] [stdout] 2217 | let medium_v: TauCoords = gr [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_medium_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cur_coord` [INFO] [stdout] --> crocheting/src/nodes.rs:2224:29 [INFO] [stdout] | [INFO] [stdout] 2224 | let cur_coord = gr.node_weight(previous_column_nodes[i]).unwrap().coords; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cur_coord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `column_middle` [INFO] [stdout] --> crocheting/src/nodes.rs:2292:17 [INFO] [stdout] | [INFO] [stdout] 2292 | column_middle: &Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_column_middle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surf` [INFO] [stdout] --> crocheting/src/nodes.rs:2348:17 [INFO] [stdout] | [INFO] [stdout] 2348 | surf: &Box, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_surf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direzione` [INFO] [stdout] --> crocheting/src/param_surface.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | let direzione = self.get_curve().versor_i(u)?.normalize(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direzione` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `versore_tau_global` [INFO] [stdout] --> crocheting/src/param_surface.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | let versore_tau_global: Vector3 = (self.to_3d_point(p_aum_tau)? - self.to_3d_point(p_base)?).normalize(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_versore_tau_global` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orto_to_spiral_global` [INFO] [stdout] --> crocheting/src/param_surface.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | let orto_to_spiral_global: Vector3 = - versore_v_spirale.cross(&normal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orto_to_spiral_global` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crocheting/src/mesh_viz.rs:1310:17 [INFO] [stdout] | [INFO] [stdout] 1310 | let mut p2 = plane_face_from_transform(&self.transform[1], starting_index + p1.0.len() as i32); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crocheting/src/mesh_viz.rs:1424:17 [INFO] [stdout] | [INFO] [stdout] 1424 | let mut p2 = plane_face_from_transform(&self.transform[1], starting_index + p1.0.len() as i32); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ITERATIONS` is never used [INFO] [stdout] --> crocheting/src/param_surface.rs:189:23 [INFO] [stdout] | [INFO] [stdout] 189 | const ITERATIONS: usize = 10; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `flip` is never read [INFO] [stdout] --> crocheting/src/mesh_viz.rs:1227:9 [INFO] [stdout] | [INFO] [stdout] 1225 | pub struct SingleCrochetFace { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 1226 | stitch_type: StitchType, [INFO] [stdout] 1227 | flip: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SingleCrochetFace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `flip` is never read [INFO] [stdout] --> crocheting/src/mesh_viz.rs:1289:9 [INFO] [stdout] | [INFO] [stdout] 1287 | pub struct IncreaseFace { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 1288 | stitch_type: StitchType, [INFO] [stdout] 1289 | flip: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IncreaseFace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `flip` is never read [INFO] [stdout] --> crocheting/src/mesh_viz.rs:1403:9 [INFO] [stdout] | [INFO] [stdout] 1401 | pub struct DecreaseFace { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 1402 | stitch_type: StitchType, [INFO] [stdout] 1403 | flip: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DecreaseFace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `flip` is never read [INFO] [stdout] --> crocheting/src/mesh_viz.rs:1514:9 [INFO] [stdout] | [INFO] [stdout] 1512 | pub struct TurnBackFace { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 1513 | stitch_type: StitchType, [INFO] [stdout] 1514 | flip: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TurnBackFace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `flip` is never read [INFO] [stdout] --> crocheting/src/mesh_viz.rs:1573:9 [INFO] [stdout] | [INFO] [stdout] 1571 | pub struct TurnForwardFace { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 1572 | stitch_type: StitchType, [INFO] [stdout] 1573 | flip: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TurnForwardFace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `flip` is never read [INFO] [stdout] --> crocheting/src/mesh_viz.rs:1635:9 [INFO] [stdout] | [INFO] [stdout] 1633 | pub struct CapFace { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 1634 | stitch_type: StitchType, [INFO] [stdout] 1635 | flip: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CapFace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&NodeIndex` instead of cloning the inner type [INFO] [stdout] --> crocheting/src/nodes.rs:938:47 [INFO] [stdout] | [INFO] [stdout] 938 | ... .node_weight(*n_id.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&NodeIndex` instead of cloning the inner type [INFO] [stdout] --> crocheting/src/nodes.rs:945:55 [INFO] [stdout] | [INFO] [stdout] 945 | .filter(|n| self.find_all_wales(*n.clone()).len() < 2) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&NodeIndex` instead of cloning the inner type [INFO] [stdout] --> crocheting/src/nodes.rs:1327:59 [INFO] [stdout] | [INFO] [stdout] 1327 | .filter(|n| self.find_all_wales(*n.clone()).len() < 2) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking generatore_uncinetto v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `MultiShapeSurface` [INFO] [stdout] --> src/main.rs:2:63 [INFO] [stdout] | [INFO] [stdout] 2 | use crocheting::param_surface::surface::{Cylinder, UVSurface, MultiShapeSurface}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Circle`, `MultiPointShape`, and `Shape` [INFO] [stdout] --> src/main.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | use crocheting::geometry::shapes::{MultiPointShape, Circle, Shape}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crocheting::mesh_viz::mesh_viz::StitchMesh` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crocheting::mesh_viz::mesh_viz::StitchMesh; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EdgeType` [INFO] [stdout] --> src/main.rs:9:48 [INFO] [stdout] | [INFO] [stdout] 9 | use crocheting::nodes::nodes::{KnittableGraph, EdgeType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crocheting::instructions::instructions::InstructionsGenerator` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crocheting::instructions::instructions::InstructionsGenerator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> src/main.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::{Instant, Duration}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cylinder` [INFO] [stdout] --> src/modelli.rs:3:57 [INFO] [stdout] | [INFO] [stdout] 3 | use crocheting::param_surface::surface::{UVSurface, Cylinder, MultiShapeSurface}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Circle` [INFO] [stdout] --> src/modelli.rs:5:63 [INFO] [stdout] | [INFO] [stdout] 5 | use crocheting::geometry::shapes::{MultiPointShape,Shape, Circle}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cylinder` [INFO] [stdout] --> src/modelli.rs:3:57 [INFO] [stdout] | [INFO] [stdout] 3 | use crocheting::param_surface::surface::{UVSurface, Cylinder, MultiShapeSurface}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Circle` [INFO] [stdout] --> src/modelli.rs:5:63 [INFO] [stdout] | [INFO] [stdout] 5 | use crocheting::geometry::shapes::{MultiPointShape,Shape, Circle}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `beastie` is never used [INFO] [stdout] --> src/modelli.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn beastie() -> Box [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let s = Cylinder::new(Box::new(b), 0.05, 0.05); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1251:21 [INFO] [stdout] | [INFO] [stdout] 1251 | let mut st = StitchMesh::new_from_graph(&gr); [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] --> src/main.rs:1299:21 [INFO] [stdout] | [INFO] [stdout] 1299 | let mut st = StitchMesh::new_from_graph(&gr); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `beastie` is never used [INFO] [stdout] --> src/modelli.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn beastie() -> Box [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cylinder_render` is never used [INFO] [stdout] --> src/main.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 205 | fn test_cylinder_render() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `geodesic` is never used [INFO] [stdout] --> src/main.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 227 | fn geodesic() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cilindro_semplice` is never used [INFO] [stdout] --> src/main.rs:260:8 [INFO] [stdout] | [INFO] [stdout] 260 | fn cilindro_semplice() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knitted_test_2_no_shortrow` is never used [INFO] [stdout] --> src/main.rs:352:8 [INFO] [stdout] | [INFO] [stdout] 352 | fn knitted_test_2_no_shortrow() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knitted_test_2` is never used [INFO] [stdout] --> src/main.rs:423:8 [INFO] [stdout] | [INFO] [stdout] 423 | fn knitted_test_2() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `knitted_cylinder` is never used [INFO] [stdout] --> src/main.rs:488:8 [INFO] [stdout] | [INFO] [stdout] 488 | fn knitted_cylinder() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bezier_examples` is never used [INFO] [stdout] --> src/main.rs:530:8 [INFO] [stdout] | [INFO] [stdout] 530 | fn bezier_examples() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `godot_meshviz` is never used [INFO] [stdout] --> src/main.rs:563:8 [INFO] [stdout] | [INFO] [stdout] 563 | fn godot_meshviz() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `capunaman` is never used [INFO] [stdout] --> src/main.rs:627:8 [INFO] [stdout] | [INFO] [stdout] 627 | fn capunaman() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `capunaman_knitted_test_2` is never used [INFO] [stdout] --> src/main.rs:669:8 [INFO] [stdout] | [INFO] [stdout] 669 | fn capunaman_knitted_test_2() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multishape_1_crochetgraph` is never used [INFO] [stdout] --> src/main.rs:709:8 [INFO] [stdout] | [INFO] [stdout] 709 | fn multishape_1_crochetgraph() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multishape_1_capunaman` is never used [INFO] [stdout] --> src/main.rs:801:8 [INFO] [stdout] | [INFO] [stdout] 801 | fn multishape_1_capunaman() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `oca_celeste` is never used [INFO] [stdout] --> src/main.rs:870:8 [INFO] [stdout] | [INFO] [stdout] 870 | fn oca_celeste() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `beastie` is never used [INFO] [stdout] --> src/main.rs:960:8 [INFO] [stdout] | [INFO] [stdout] 960 | fn beastie() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spiral_check` is never used [INFO] [stdout] --> src/main.rs:987:8 [INFO] [stdout] | [INFO] [stdout] 987 | fn spiral_check() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `plots_for_compliance` is never used [INFO] [stdout] --> src/main.rs:1044:8 [INFO] [stdout] | [INFO] [stdout] 1044 | fn plots_for_compliance() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `time_benchmark_godot_meshviz` is never used [INFO] [stdout] --> src/main.rs:1074:8 [INFO] [stdout] | [INFO] [stdout] 1074 | fn time_benchmark_godot_meshviz() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `time_benchmark_oca_celeste` is never used [INFO] [stdout] --> src/main.rs:1098:8 [INFO] [stdout] | [INFO] [stdout] 1098 | fn time_benchmark_oca_celeste() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `asymmetric_expansion` is never used [INFO] [stdout] --> src/main.rs:1326:8 [INFO] [stdout] | [INFO] [stdout] 1326 | fn asymmetric_expansion() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:1034:17 [INFO] [stdout] | [INFO] [stdout] 1034 | write!(file_output, "{} {} {}\n", p.x, p.y, p.z); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:1265:17 [INFO] [stdout] | [INFO] [stdout] 1265 | writeln!(time_file, "{}", dati_capunaman[0].as_millis()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:1311:17 [INFO] [stdout] | [INFO] [stdout] 1311 | writeln!(time_file, "{}", dati_gismondi[0].as_millis()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.27s [INFO] running `Command { std: "docker" "inspect" "0666587e8bed9ac84375082765c96dd40d76d6e2bb7806185a48b12f1752429b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0666587e8bed9ac84375082765c96dd40d76d6e2bb7806185a48b12f1752429b", kill_on_drop: false }` [INFO] [stdout] 0666587e8bed9ac84375082765c96dd40d76d6e2bb7806185a48b12f1752429b