[INFO] cloning repository https://github.com/AlexandreGac/moteur-physique [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlexandreGac/moteur-physique" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexandreGac%2Fmoteur-physique", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexandreGac%2Fmoteur-physique'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e00eed08933d37c4bb17d471ef1b68024ddf90a3 [INFO] testing AlexandreGac/moteur-physique against try#028592fec99e54cc92def5a2a849c673b066dd93 for pr-146098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexandreGac%2Fmoteur-physique" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AlexandreGac/moteur-physique [INFO] finished tweaking git repo https://github.com/AlexandreGac/moteur-physique [INFO] tweaked toml for git repo https://github.com/AlexandreGac/moteur-physique written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AlexandreGac/moteur-physique on toolchain 028592fec99e54cc92def5a2a849c673b066dd93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AlexandreGac/moteur-physique 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" "+028592fec99e54cc92def5a2a849c673b066dd93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27dd956f768a41cff02a5589bddeb9d98f882c1af42822cdce822e6ab93aaff5 [INFO] running `Command { std: "docker" "start" "-a" "27dd956f768a41cff02a5589bddeb9d98f882c1af42822cdce822e6ab93aaff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27dd956f768a41cff02a5589bddeb9d98f882c1af42822cdce822e6ab93aaff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27dd956f768a41cff02a5589bddeb9d98f882c1af42822cdce822e6ab93aaff5", kill_on_drop: false }` [INFO] [stdout] 27dd956f768a41cff02a5589bddeb9d98f882c1af42822cdce822e6ab93aaff5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c079a38db162d92f575dbf057f9bc6f910c82b1773f36877735c14e524ace2d9 [INFO] running `Command { std: "docker" "start" "-a" "c079a38db162d92f575dbf057f9bc6f910c82b1773f36877735c14e524ace2d9", kill_on_drop: false }` [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling bytemuck v1.14.3 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling piston-float v1.0.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling piston-viewport v1.0.2 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling piston-graphics_api_version v1.0.1 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling gl v0.13.0 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling ab_glyph v0.2.25 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling safe_arch v0.7.1 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling piston-texture v0.9.0 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling wide v0.7.15 [INFO] [stderr] Compiling gfx v0.18.3 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-complex v0.4.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling shader_version v0.7.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling spin_sleep v1.2.0 [INFO] [stderr] Compiling interpolation v0.3.0 [INFO] [stderr] Compiling piston2d-graphics v0.44.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.4.0 [INFO] [stderr] Compiling robust v1.1.0 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling spade v2.6.0 [INFO] [stderr] Compiling pistoncore-input v1.0.1 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling piston-gfx_texture v0.44.0 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.80.0 [INFO] [stderr] Compiling pistoncore-window v1.0.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.55.0 [INFO] [stderr] Compiling piston v0.55.0 [INFO] [stderr] Compiling nalgebra v0.32.4 [INFO] [stderr] Compiling parry2d-f64 v0.13.7 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling pistoncore-glutin_window v0.72.0 [INFO] [stderr] Compiling piston_window v0.131.0 [INFO] [stderr] Compiling physics_engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Vector2` [INFO] [stdout] --> src/solver.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use nalgebra::{DMatrix, DVector, Vector2, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector2` [INFO] [stdout] --> src/main.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use nalgebra::{Isometry2, Point2, Vector2}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::constraints::Constraint` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::constraints::Constraint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/constraints.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | _ => todo!("Pas encore implémenté !") [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/constraints.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 40 | Constraint::Distance { index, local, pin } => { [INFO] [stdout] | ------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 50 | Constraint::Link { index_1, index_2, local_1, local_2 } => { [INFO] [stdout] | ------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 69 | _ => todo!("Pas encore implémenté !") [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/constraints.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | _ => todo!("Pas encore implémenté !") [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/constraints.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 78 | Constraint::Distance { index, local, pin } => { [INFO] [stdout] | ------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 89 | Constraint::Link { index_1, index_2, local_1, local_2 } => { [INFO] [stdout] | ------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 110 | _ => todo!("Pas encore implémenté !") [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/constraints.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/constraints.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 118 | Constraint::Distance { index, local, pin } => { [INFO] [stdout] | ------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 144 | Constraint::Link { index_1, index_2, local_1, local_2 } => { [INFO] [stdout] | ------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 172 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_constraint` is never used [INFO] [stdout] --> src/solver.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 312 | impl SolverBuilder { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 326 | pub fn add_constraint(mut self, constraint: Constraint) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Distance` and `Link` are never constructed [INFO] [stdout] --> src/constraints.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Constraint { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 10 | Distance { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | Link { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `create_distance_constraint` and `create_link_constraint` are never used [INFO] [stdout] --> src/constraints.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Constraint { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 24 | [INFO] [stdout] 25 | pub fn create_distance_constraint(index: Index, local: Vector2, pin: Vector2) -> Constraint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn create_link_constraint(index_1: Index, index_2: Index, local_1: Vector2, local_2: Vector2) -> Constraint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.64s [INFO] running `Command { std: "docker" "inspect" "c079a38db162d92f575dbf057f9bc6f910c82b1773f36877735c14e524ace2d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c079a38db162d92f575dbf057f9bc6f910c82b1773f36877735c14e524ace2d9", kill_on_drop: false }` [INFO] [stdout] c079a38db162d92f575dbf057f9bc6f910c82b1773f36877735c14e524ace2d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85c172497dac08967d8dd8d32dd13e005d52c900f7a51faa0b5e1ed9f3a639dc [INFO] running `Command { std: "docker" "start" "-a" "85c172497dac08967d8dd8d32dd13e005d52c900f7a51faa0b5e1ed9f3a639dc", kill_on_drop: false }` [INFO] [stderr] Compiling physics_engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Vector2` [INFO] [stdout] --> src/solver.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use nalgebra::{DMatrix, DVector, Vector2, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector2` [INFO] [stdout] --> src/main.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use nalgebra::{Isometry2, Point2, Vector2}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::constraints::Constraint` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::constraints::Constraint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/constraints.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | _ => todo!("Pas encore implémenté !") [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/constraints.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 40 | Constraint::Distance { index, local, pin } => { [INFO] [stdout] | ------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 50 | Constraint::Link { index_1, index_2, local_1, local_2 } => { [INFO] [stdout] | ------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 69 | _ => todo!("Pas encore implémenté !") [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/constraints.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | _ => todo!("Pas encore implémenté !") [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/constraints.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 78 | Constraint::Distance { index, local, pin } => { [INFO] [stdout] | ------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 89 | Constraint::Link { index_1, index_2, local_1, local_2 } => { [INFO] [stdout] | ------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 110 | _ => todo!("Pas encore implémenté !") [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/constraints.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/constraints.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 118 | Constraint::Distance { index, local, pin } => { [INFO] [stdout] | ------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 144 | Constraint::Link { index_1, index_2, local_1, local_2 } => { [INFO] [stdout] | ------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 172 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_constraint` is never used [INFO] [stdout] --> src/solver.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 312 | impl SolverBuilder { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 326 | pub fn add_constraint(mut self, constraint: Constraint) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Distance` and `Link` are never constructed [INFO] [stdout] --> src/constraints.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Constraint { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 10 | Distance { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | Link { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `create_distance_constraint` and `create_link_constraint` are never used [INFO] [stdout] --> src/constraints.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Constraint { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 24 | [INFO] [stdout] 25 | pub fn create_distance_constraint(index: Index, local: Vector2, pin: Vector2) -> Constraint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn create_link_constraint(index_1: Index, index_2: Index, local_1: Vector2, local_2: Vector2) -> Constraint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.81s [INFO] running `Command { std: "docker" "inspect" "85c172497dac08967d8dd8d32dd13e005d52c900f7a51faa0b5e1ed9f3a639dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85c172497dac08967d8dd8d32dd13e005d52c900f7a51faa0b5e1ed9f3a639dc", kill_on_drop: false }` [INFO] [stdout] 85c172497dac08967d8dd8d32dd13e005d52c900f7a51faa0b5e1ed9f3a639dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c49cb5c86b74432af3abea05413ff401caaaba2f6dc73a530ab72ebb3e189d2d [INFO] running `Command { std: "docker" "start" "-a" "c49cb5c86b74432af3abea05413ff401caaaba2f6dc73a530ab72ebb3e189d2d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Vector2` [INFO] [stderr] --> src/solver.rs:4:34 [INFO] [stderr] | [INFO] [stderr] 4 | use nalgebra::{DMatrix, DVector, Vector2, Vector3}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Vector2` [INFO] [stderr] --> src/main.rs:7:35 [INFO] [stderr] | [INFO] [stderr] 7 | use nalgebra::{Isometry2, Point2, Vector2}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::constraints::Constraint` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use crate::constraints::Constraint; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/constraints.rs:69:13 [INFO] [stderr] | [INFO] [stderr] 69 | _ => todo!("Pas encore implémenté !") [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/constraints.rs:69:13 [INFO] [stderr] | [INFO] [stderr] 40 | Constraint::Distance { index, local, pin } => { [INFO] [stderr] | ------------------------------------------ matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 50 | Constraint::Link { index_1, index_2, local_1, local_2 } => { [INFO] [stderr] | ------------------------------------------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 69 | _ => todo!("Pas encore implémenté !") [INFO] [stderr] | ^ collectively making this unreachable [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/constraints.rs:110:13 [INFO] [stderr] | [INFO] [stderr] 110 | _ => todo!("Pas encore implémenté !") [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/constraints.rs:110:13 [INFO] [stderr] | [INFO] [stderr] 78 | Constraint::Distance { index, local, pin } => { [INFO] [stderr] | ------------------------------------------ matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 89 | Constraint::Link { index_1, index_2, local_1, local_2 } => { [INFO] [stderr] | ------------------------------------------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 110 | _ => todo!("Pas encore implémenté !") [INFO] [stderr] | ^ collectively making this unreachable [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/constraints.rs:172:13 [INFO] [stderr] | [INFO] [stderr] 172 | _ => {} [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/constraints.rs:172:13 [INFO] [stderr] | [INFO] [stderr] 118 | Constraint::Distance { index, local, pin } => { [INFO] [stderr] | ------------------------------------------ matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 144 | Constraint::Link { index_1, index_2, local_1, local_2 } => { [INFO] [stderr] | ------------------------------------------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 172 | _ => {} [INFO] [stderr] | ^ collectively making this unreachable [INFO] [stderr] [INFO] [stderr] warning: method `add_constraint` is never used [INFO] [stderr] --> src/solver.rs:326:12 [INFO] [stderr] | [INFO] [stderr] 312 | impl SolverBuilder { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 326 | pub fn add_constraint(mut self, constraint: Constraint) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variants `Distance` and `Link` are never constructed [INFO] [stderr] --> src/constraints.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub enum Constraint { [INFO] [stderr] | ---------- variants in this enum [INFO] [stderr] 10 | Distance { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 15 | Link { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `create_distance_constraint` and `create_link_constraint` are never used [INFO] [stderr] --> src/constraints.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 23 | impl Constraint { [INFO] [stderr] | --------------- associated functions in this implementation [INFO] [stderr] 24 | [INFO] [stderr] 25 | pub fn create_distance_constraint(index: Index, local: Vector2, pin: Vector2) -> Constraint { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 31 | pub fn create_link_constraint(index_1: Index, index_2: Index, local_1: Vector2, local_2: Vector2) -> Constraint { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `physics_engine` (bin "physics_engine" test) generated 9 warnings (run `cargo fix --bin "physics_engine" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/physics_engine-d0ba85543b864557) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c49cb5c86b74432af3abea05413ff401caaaba2f6dc73a530ab72ebb3e189d2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c49cb5c86b74432af3abea05413ff401caaaba2f6dc73a530ab72ebb3e189d2d", kill_on_drop: false }` [INFO] [stdout] c49cb5c86b74432af3abea05413ff401caaaba2f6dc73a530ab72ebb3e189d2d