[INFO] cloning repository https://github.com/DimartX/CG_course_gtk-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DimartX/CG_course_gtk-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDimartX%2FCG_course_gtk-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDimartX%2FCG_course_gtk-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 22ee01263e734e0d7d5d27d064087ce8fe35a174 [INFO] checking DimartX/CG_course_gtk-rs against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDimartX%2FCG_course_gtk-rs" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DimartX/CG_course_gtk-rs on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DimartX/CG_course_gtk-rs [INFO] finished tweaking git repo https://github.com/DimartX/CG_course_gtk-rs [INFO] tweaked toml for git repo https://github.com/DimartX/CG_course_gtk-rs written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/DimartX/CG_course_gtk-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca066e408bc4e64209177f80db2e8a2a35b870ebe737e1735784ae1b6e4e206d [INFO] running `Command { std: "docker" "start" "-a" "ca066e408bc4e64209177f80db2e8a2a35b870ebe737e1735784ae1b6e4e206d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca066e408bc4e64209177f80db2e8a2a35b870ebe737e1735784ae1b6e4e206d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca066e408bc4e64209177f80db2e8a2a35b870ebe737e1735784ae1b6e4e206d", kill_on_drop: false }` [INFO] [stdout] ca066e408bc4e64209177f80db2e8a2a35b870ebe737e1735784ae1b6e4e206d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e32abb0e1b058c2c07d6ef22f56abb41441b1c046fa9945111de486b8ea3eb3f [INFO] running `Command { std: "docker" "start" "-a" "e32abb0e1b058c2c07d6ef22f56abb41441b1c046fa9945111de486b8ea3eb3f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling gio v0.9.1 [INFO] [stderr] Compiling cairo-rs v0.9.1 [INFO] [stderr] Compiling gdk-pixbuf v0.9.0 [INFO] [stderr] Compiling pango v0.9.1 [INFO] [stderr] Compiling atk v0.9.0 [INFO] [stderr] Compiling gdk v0.13.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling gtk v0.9.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling glib-macros v0.10.1 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Compiling system-deps v1.3.2 [INFO] [stderr] Compiling glib-sys v0.10.1 [INFO] [stderr] Compiling gobject-sys v0.10.0 [INFO] [stderr] Compiling gio-sys v0.10.1 [INFO] [stderr] Compiling cairo-sys-rs v0.10.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.10.0 [INFO] [stderr] Compiling pango-sys v0.10.0 [INFO] [stderr] Compiling atk-sys v0.10.0 [INFO] [stderr] Compiling gdk-sys v0.10.0 [INFO] [stderr] Compiling gtk-sys v0.10.0 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking glib v0.10.3 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking course_project v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/buttons_events.rs (1 fix) [INFO] [stderr] Fixed src/figure.rs (2 fixes) [INFO] [stdout] warning: type `Point_f64` should have an upper camel case name [INFO] [stdout] --> src/point.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Point_f64 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `PointF64` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Point_f64` should have an upper camel case name [INFO] [stdout] --> src/point.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Point_f64 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `PointF64` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gray` [INFO] [stdout] --> src/color.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn gray() -> Self { [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: `white` [INFO] [stdout] --> src/color.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn white() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `red` [INFO] [stdout] --> src/color.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn red() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `green` [INFO] [stdout] --> src/color.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn green() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dark_green` [INFO] [stdout] --> src/color.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn dark_green() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/point.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn from(pt: Point_f64) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/point.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(x: f64, y: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/point.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn from(pt: Point) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_in_rectangle` [INFO] [stdout] --> src/point.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn is_in_rectangle(lu: Point_f64, rd: Point_f64, point: Point_f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/figure.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cross_product` [INFO] [stdout] --> src/figure.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn cross_product(a: [f64; 4], b: [f64; 4], c: [f64; 4]) -> [f64; 4] { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dot_product` [INFO] [stdout] --> src/figure.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn dot_product(lhs: [f64; 4], rhs: [f64; 4]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `angle_vectors` [INFO] [stdout] --> src/figure.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn angle_vectors(lhs: [f64; 4], rhs: [f64; 4]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `norm` [INFO] [stdout] --> src/figure.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn norm(vector: [f64; 4]) -> [f64; 4] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `maximum` [INFO] [stdout] --> src/figure.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn maximum(a: f64, b: f64) -> f64{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stretch` [INFO] [stdout] --> src/transformations.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn stretch(&mut self, x: f64, y: f64, z: f64) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `surface_order` should have an upper case name [INFO] [stdout] --> src/state.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const surface_order: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `SURFACE_ORDER` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gray` [INFO] [stdout] --> src/color.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn gray() -> Self { [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: `white` [INFO] [stdout] --> src/color.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn white() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `red` [INFO] [stdout] --> src/color.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn red() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `green` [INFO] [stdout] --> src/color.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn green() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dark_green` [INFO] [stdout] --> src/color.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn dark_green() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/point.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn from(pt: Point_f64) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/point.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(x: f64, y: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/point.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn from(pt: Point) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_in_rectangle` [INFO] [stdout] --> src/point.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn is_in_rectangle(lu: Point_f64, rd: Point_f64, point: Point_f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/figure.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cross_product` [INFO] [stdout] --> src/figure.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn cross_product(a: [f64; 4], b: [f64; 4], c: [f64; 4]) -> [f64; 4] { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dot_product` [INFO] [stdout] --> src/figure.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn dot_product(lhs: [f64; 4], rhs: [f64; 4]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `angle_vectors` [INFO] [stdout] --> src/figure.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn angle_vectors(lhs: [f64; 4], rhs: [f64; 4]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `norm` [INFO] [stdout] --> src/figure.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn norm(vector: [f64; 4]) -> [f64; 4] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `maximum` [INFO] [stdout] --> src/figure.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn maximum(a: f64, b: f64) -> f64{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stretch` [INFO] [stdout] --> src/transformations.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn stretch(&mut self, x: f64, y: f64, z: f64) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `surface_order` should have an upper case name [INFO] [stdout] --> src/state.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const surface_order: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `SURFACE_ORDER` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 08s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking course_project v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: type `Point_f64` should have an upper camel case name [INFO] [stdout] --> src/point.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Point_f64 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `PointF64` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Point_f64` should have an upper camel case name [INFO] [stdout] --> src/point.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Point_f64 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `PointF64` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gray` [INFO] [stdout] --> src/color.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn gray() -> Self { [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: `white` [INFO] [stdout] --> src/color.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn white() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `red` [INFO] [stdout] --> src/color.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn red() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `green` [INFO] [stdout] --> src/color.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn green() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dark_green` [INFO] [stdout] --> src/color.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn dark_green() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/point.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn from(pt: Point_f64) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/point.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(x: f64, y: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/point.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn from(pt: Point) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_in_rectangle` [INFO] [stdout] --> src/point.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn is_in_rectangle(lu: Point_f64, rd: Point_f64, point: Point_f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/figure.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cross_product` [INFO] [stdout] --> src/figure.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn cross_product(a: [f64; 4], b: [f64; 4], c: [f64; 4]) -> [f64; 4] { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dot_product` [INFO] [stdout] --> src/figure.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn dot_product(lhs: [f64; 4], rhs: [f64; 4]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `angle_vectors` [INFO] [stdout] --> src/figure.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn angle_vectors(lhs: [f64; 4], rhs: [f64; 4]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `norm` [INFO] [stdout] --> src/figure.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn norm(vector: [f64; 4]) -> [f64; 4] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `maximum` [INFO] [stdout] --> src/figure.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn maximum(a: f64, b: f64) -> f64{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stretch` [INFO] [stdout] --> src/transformations.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn stretch(&mut self, x: f64, y: f64, z: f64) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `surface_order` should have an upper case name [INFO] [stdout] --> src/state.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const surface_order: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `SURFACE_ORDER` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gray` [INFO] [stdout] --> src/color.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn gray() -> Self { [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: `white` [INFO] [stdout] --> src/color.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn white() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `red` [INFO] [stdout] --> src/color.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn red() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `green` [INFO] [stdout] --> src/color.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn green() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dark_green` [INFO] [stdout] --> src/color.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn dark_green() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/point.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn from(pt: Point_f64) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/point.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(x: f64, y: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/point.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn from(pt: Point) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_in_rectangle` [INFO] [stdout] --> src/point.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn is_in_rectangle(lu: Point_f64, rd: Point_f64, point: Point_f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/figure.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cross_product` [INFO] [stdout] --> src/figure.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn cross_product(a: [f64; 4], b: [f64; 4], c: [f64; 4]) -> [f64; 4] { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dot_product` [INFO] [stdout] --> src/figure.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn dot_product(lhs: [f64; 4], rhs: [f64; 4]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `angle_vectors` [INFO] [stdout] --> src/figure.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn angle_vectors(lhs: [f64; 4], rhs: [f64; 4]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `norm` [INFO] [stdout] --> src/figure.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn norm(vector: [f64; 4]) -> [f64; 4] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `maximum` [INFO] [stdout] --> src/figure.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn maximum(a: f64, b: f64) -> f64{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stretch` [INFO] [stdout] --> src/transformations.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn stretch(&mut self, x: f64, y: f64, z: f64) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `surface_order` should have an upper case name [INFO] [stdout] --> src/state.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const surface_order: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `SURFACE_ORDER` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.98s [INFO] running `Command { std: "docker" "inspect" "e32abb0e1b058c2c07d6ef22f56abb41441b1c046fa9945111de486b8ea3eb3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e32abb0e1b058c2c07d6ef22f56abb41441b1c046fa9945111de486b8ea3eb3f", kill_on_drop: false }` [INFO] [stdout] e32abb0e1b058c2c07d6ef22f56abb41441b1c046fa9945111de486b8ea3eb3f