[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] testing DimartX/CG_course_gtk-rs against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDimartX%2FCG_course_gtk-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[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-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DimartX/CG_course_gtk-rs on toolchain 1ef7943ee607160a564655b6596f83670ef95df5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded futures-executor v0.3.14
[INFO] [stderr]   Downloaded futures-macro v0.3.14
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ead3b0074b466bafd31f4dfcc564b8df16ca082f921a9a2fad96bb24226de21a
[INFO] running `Command { std: "docker" "start" "-a" "ead3b0074b466bafd31f4dfcc564b8df16ca082f921a9a2fad96bb24226de21a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ead3b0074b466bafd31f4dfcc564b8df16ca082f921a9a2fad96bb24226de21a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ead3b0074b466bafd31f4dfcc564b8df16ca082f921a9a2fad96bb24226de21a", kill_on_drop: false }`
[INFO] [stdout] ead3b0074b466bafd31f4dfcc564b8df16ca082f921a9a2fad96bb24226de21a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3618e4a20dd136bd8145d83ac7ffa1903c7b347517dcdc70e411a371e7f6c230
[INFO] running `Command { std: "docker" "start" "-a" "3618e4a20dd136bd8145d83ac7ffa1903c7b347517dcdc70e411a371e7f6c230", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[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 pkg-config v0.3.19
[INFO] [stderr]    Compiling version-compare v0.0.10
[INFO] [stderr]    Compiling strum v0.18.0
[INFO] [stderr]    Compiling libc v0.2.93
[INFO] [stderr]    Compiling proc-macro2 v1.0.26
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling heck v0.3.2
[INFO] [stderr]    Compiling futures-core v0.3.14
[INFO] [stderr]    Compiling futures-sink v0.3.14
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling futures-io v0.3.14
[INFO] [stderr]    Compiling futures-channel v0.3.14
[INFO] [stderr]    Compiling anyhow v1.0.40
[INFO] [stderr]    Compiling pin-project-lite v0.2.6
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling futures-task v0.3.14
[INFO] [stderr]    Compiling slab v0.4.3
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling once_cell v1.7.2
[INFO] [stderr]    Compiling gio v0.9.1
[INFO] [stderr]    Compiling gdk-pixbuf v0.9.0
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]    Compiling cairo-rs v0.9.1
[INFO] [stderr]    Compiling pango v0.9.1
[INFO] [stderr]    Compiling atk v0.9.0
[INFO] [stderr]    Compiling gdk v0.13.2
[INFO] [stderr]    Compiling gtk v0.9.2
[INFO] [stderr]    Compiling toml v0.5.8
[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 futures-util v0.3.14
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling thiserror v1.0.24
[INFO] [stderr]    Compiling glib-macros v0.10.1
[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 pango-sys v0.10.0
[INFO] [stderr]    Compiling gdk-pixbuf-sys v0.10.0
[INFO] [stderr]    Compiling cairo-sys-rs v0.10.0
[INFO] [stderr]    Compiling gdk-sys v0.10.0
[INFO] [stderr]    Compiling atk-sys v0.10.0
[INFO] [stderr]    Compiling gtk-sys v0.10.0
[INFO] [stderr]    Compiling futures-executor v0.3.14
[INFO] [stderr]    Compiling glib v0.10.3
[INFO] [stderr]    Compiling futures v0.3.14
[INFO] [stderr]    Compiling course_project v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `glib::clone`
[INFO] [stdout]  --> src/buttons_events.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use glib::clone;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `px`
[INFO] [stdout]    --> src/figure.rs:190:21
[INFO] [stdout]     |
[INFO] [stdout] 190 |                 let px = self.control_points[i][j][0];
[INFO] [stdout]     |                     ^^ help: if this is intentional, prefix it with an underscore: `_px`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `py`
[INFO] [stdout]    --> src/figure.rs:191:21
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 let py = self.control_points[i][j][1];
[INFO] [stdout]     |                     ^^ help: if this is intentional, prefix it with an underscore: `_py`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_draw_color_alpha`, `print_text`, `draw_line`, and `fill_polygon` are never used
[INFO] [stdout]   --> src/canvas.rs:8:8
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub trait Canvas {
[INFO] [stdout]    |           ------ methods in this trait
[INFO] [stdout]  7 |     fn set_draw_color(&mut self, color: Color);
[INFO] [stdout]  8 |     fn set_draw_color_alpha(&mut self, color: Color, alpha: f64);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     fn print_text(&mut self, p: &Point, text: &str);
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 12 |     fn draw_line(&mut self, points: &[Point]);
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 13 |     fn draw_polygon(&mut self, points: &[Point]);
[INFO] [stdout] 14 |     fn fill_polygon(&mut self, points: &[Point]);
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `gray`, `white`, `red`, `green`, and `dark_green` are never used
[INFO] [stdout]   --> src/color.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Color {
[INFO] [stdout]    | ---------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn gray() -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn white() -> Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn red() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn green() -> Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn dark_green() -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from` is never used
[INFO] [stdout]   --> src/point.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Point {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub fn from(pt: Point_f64) -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point_f64` is never constructed
[INFO] [stdout]   --> src/point.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct Point_f64 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `from`, `x`, and `y` are never used
[INFO] [stdout]   --> src/point.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl Point_f64 {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 60 |     pub fn new(x: f64, y: f64) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn from(pt: Point) -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn x(&self) -> f64 {
[INFO] [stdout]    |            ^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub fn y(&self) -> f64 {
[INFO] [stdout]    |            ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_in_rectangle` is never used
[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 `new` is never used
[INFO] [stdout]   --> src/figure.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Polygon {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 12 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `transform` is never used
[INFO] [stdout]   --> src/figure.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub trait FigureImpl {
[INFO] [stdout]    |           ---------- method in this trait
[INFO] [stdout] 25 |     fn transform(&mut self, matrix: [[f64; 4]; 4]);
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cross_product` is never used
[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 `dot_product` is never used
[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 `angle_vectors` is never used
[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 `norm` is never used
[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 `maximum` is never used
[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: method `stretch` is never used
[INFO] [stdout]   --> src/transformations.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl TransformMatrix {
[INFO] [stdout]    | -------------------- method in this implementation
[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]    |           ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 21 - pub const surface_order: usize = 4;
[INFO] [stdout] 21 + pub const SURFACE_ORDER: usize = 4;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 46s
[INFO] running `Command { std: "docker" "inspect" "3618e4a20dd136bd8145d83ac7ffa1903c7b347517dcdc70e411a371e7f6c230", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3618e4a20dd136bd8145d83ac7ffa1903c7b347517dcdc70e411a371e7f6c230", kill_on_drop: false }`
[INFO] [stdout] 3618e4a20dd136bd8145d83ac7ffa1903c7b347517dcdc70e411a371e7f6c230
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a0297fe5d604b7b4ae522d0604daf9c96e72ad0c979731d2770741f91699ec56
[INFO] running `Command { std: "docker" "start" "-a" "a0297fe5d604b7b4ae522d0604daf9c96e72ad0c979731d2770741f91699ec56", kill_on_drop: false }`
[INFO] [stderr]    Compiling course_project v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `glib::clone`
[INFO] [stdout]  --> src/buttons_events.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use glib::clone;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `px`
[INFO] [stdout]    --> src/figure.rs:190:21
[INFO] [stdout]     |
[INFO] [stdout] 190 |                 let px = self.control_points[i][j][0];
[INFO] [stdout]     |                     ^^ help: if this is intentional, prefix it with an underscore: `_px`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `py`
[INFO] [stdout]    --> src/figure.rs:191:21
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 let py = self.control_points[i][j][1];
[INFO] [stdout]     |                     ^^ help: if this is intentional, prefix it with an underscore: `_py`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_draw_color_alpha`, `print_text`, `draw_line`, and `fill_polygon` are never used
[INFO] [stdout]   --> src/canvas.rs:8:8
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub trait Canvas {
[INFO] [stdout]    |           ------ methods in this trait
[INFO] [stdout]  7 |     fn set_draw_color(&mut self, color: Color);
[INFO] [stdout]  8 |     fn set_draw_color_alpha(&mut self, color: Color, alpha: f64);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     fn print_text(&mut self, p: &Point, text: &str);
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 12 |     fn draw_line(&mut self, points: &[Point]);
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 13 |     fn draw_polygon(&mut self, points: &[Point]);
[INFO] [stdout] 14 |     fn fill_polygon(&mut self, points: &[Point]);
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `gray`, `white`, `red`, `green`, and `dark_green` are never used
[INFO] [stdout]   --> src/color.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Color {
[INFO] [stdout]    | ---------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn gray() -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn white() -> Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn red() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn green() -> Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn dark_green() -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from` is never used
[INFO] [stdout]   --> src/point.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Point {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub fn from(pt: Point_f64) -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point_f64` is never constructed
[INFO] [stdout]   --> src/point.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct Point_f64 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `from`, `x`, and `y` are never used
[INFO] [stdout]   --> src/point.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl Point_f64 {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 60 |     pub fn new(x: f64, y: f64) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn from(pt: Point) -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn x(&self) -> f64 {
[INFO] [stdout]    |            ^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub fn y(&self) -> f64 {
[INFO] [stdout]    |            ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_in_rectangle` is never used
[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 `new` is never used
[INFO] [stdout]   --> src/figure.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Polygon {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 12 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `transform` is never used
[INFO] [stdout]   --> src/figure.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub trait FigureImpl {
[INFO] [stdout]    |           ---------- method in this trait
[INFO] [stdout] 25 |     fn transform(&mut self, matrix: [[f64; 4]; 4]);
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cross_product` is never used
[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 `dot_product` is never used
[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 `angle_vectors` is never used
[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 `norm` is never used
[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 `maximum` is never used
[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: method `stretch` is never used
[INFO] [stdout]   --> src/transformations.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl TransformMatrix {
[INFO] [stdout]    | -------------------- method in this implementation
[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]    |           ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 21 - pub const surface_order: usize = 4;
[INFO] [stdout] 21 + pub const SURFACE_ORDER: usize = 4;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.66s
[INFO] running `Command { std: "docker" "inspect" "a0297fe5d604b7b4ae522d0604daf9c96e72ad0c979731d2770741f91699ec56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a0297fe5d604b7b4ae522d0604daf9c96e72ad0c979731d2770741f91699ec56", kill_on_drop: false }`
[INFO] [stdout] a0297fe5d604b7b4ae522d0604daf9c96e72ad0c979731d2770741f91699ec56
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 4686bbeb1dc4975885a5db9ffb0d03b5166653f7a0af03dcf2d20932691ed573
[INFO] running `Command { std: "docker" "start" "-a" "4686bbeb1dc4975885a5db9ffb0d03b5166653f7a0af03dcf2d20932691ed573", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `glib::clone`
[INFO] [stderr]  --> src/buttons_events.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use glib::clone;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: type `Point_f64` should have an upper camel case name
[INFO] [stderr]   --> src/point.rs:54:12
[INFO] [stderr]    |
[INFO] [stderr] 54 | pub struct Point_f64 {
[INFO] [stderr]    |            ^^^^^^^^^ help: convert the identifier to upper camel case: `PointF64`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `px`
[INFO] [stderr]    --> src/figure.rs:190:21
[INFO] [stderr]     |
[INFO] [stderr] 190 |                 let px = self.control_points[i][j][0];
[INFO] [stderr]     |                     ^^ help: if this is intentional, prefix it with an underscore: `_px`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `py`
[INFO] [stderr]    --> src/figure.rs:191:21
[INFO] [stderr]     |
[INFO] [stderr] 191 |                 let py = self.control_points[i][j][1];
[INFO] [stderr]     |                     ^^ help: if this is intentional, prefix it with an underscore: `_py`
[INFO] [stderr] 
[INFO] [stderr] warning: methods `set_draw_color_alpha`, `print_text`, `draw_line`, and `fill_polygon` are never used
[INFO] [stderr]   --> src/canvas.rs:8:8
[INFO] [stderr]    |
[INFO] [stderr]  6 | pub trait Canvas {
[INFO] [stderr]    |           ------ methods in this trait
[INFO] [stderr]  7 |     fn set_draw_color(&mut self, color: Color);
[INFO] [stderr]  8 |     fn set_draw_color_alpha(&mut self, color: Color, alpha: f64);
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 11 |     fn print_text(&mut self, p: &Point, text: &str);
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 12 |     fn draw_line(&mut self, points: &[Point]);
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 13 |     fn draw_polygon(&mut self, points: &[Point]);
[INFO] [stderr] 14 |     fn fill_polygon(&mut self, points: &[Point]);
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `gray`, `white`, `red`, `green`, and `dark_green` are never used
[INFO] [stderr]   --> src/color.rs:17:12
[INFO] [stderr]    |
[INFO] [stderr]  8 | impl Color {
[INFO] [stderr]    | ---------- associated functions in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 17 |     pub fn gray() -> Self {
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 21 |     pub fn white() -> Self {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 25 |     pub fn red() -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 29 |     pub fn green() -> Self {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 33 |     pub fn dark_green() -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `from` is never used
[INFO] [stderr]   --> src/point.rs:15:12
[INFO] [stderr]    |
[INFO] [stderr] 10 | impl Point {
[INFO] [stderr]    | ---------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 15 |     pub fn from(pt: Point_f64) -> Self {
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Point_f64` is never constructed
[INFO] [stderr]   --> src/point.rs:54:12
[INFO] [stderr]    |
[INFO] [stderr] 54 | pub struct Point_f64 {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `from`, `x`, and `y` are never used
[INFO] [stderr]   --> src/point.rs:60:12
[INFO] [stderr]    |
[INFO] [stderr] 59 | impl Point_f64 {
[INFO] [stderr]    | -------------- associated items in this implementation
[INFO] [stderr] 60 |     pub fn new(x: f64, y: f64) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 64 |     pub fn from(pt: Point) -> Self {
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 71 |     pub fn x(&self) -> f64 {
[INFO] [stderr]    |            ^
[INFO] [stderr] ...
[INFO] [stderr] 75 |     pub fn y(&self) -> f64 {
[INFO] [stderr]    |            ^
[INFO] [stderr] 
[INFO] [stderr] warning: function `is_in_rectangle` is never used
[INFO] [stderr]    --> src/point.rs:124:8
[INFO] [stderr]     |
[INFO] [stderr] 124 | pub fn is_in_rectangle(lu: Point_f64, rd: Point_f64, point: Point_f64) -> bool {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/figure.rs:12:8
[INFO] [stderr]    |
[INFO] [stderr] 11 | impl Polygon {
[INFO] [stderr]    | ------------ associated function in this implementation
[INFO] [stderr] 12 |     fn new() -> Self {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `transform` is never used
[INFO] [stderr]   --> src/figure.rs:25:8
[INFO] [stderr]    |
[INFO] [stderr] 24 | pub trait FigureImpl {
[INFO] [stderr]    |           ---------- method in this trait
[INFO] [stderr] 25 |     fn transform(&mut self, matrix: [[f64; 4]; 4]);
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `cross_product` is never used
[INFO] [stderr]   --> src/figure.rs:83:4
[INFO] [stderr]    |
[INFO] [stderr] 83 | fn cross_product(a: [f64; 4], b: [f64; 4], c: [f64; 4]) -> [f64; 4] {
[INFO] [stderr]    |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `dot_product` is never used
[INFO] [stderr]   --> src/figure.rs:92:4
[INFO] [stderr]    |
[INFO] [stderr] 92 | fn dot_product(lhs: [f64; 4], rhs: [f64; 4]) -> f64 {
[INFO] [stderr]    |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `angle_vectors` is never used
[INFO] [stderr]   --> src/figure.rs:96:4
[INFO] [stderr]    |
[INFO] [stderr] 96 | fn angle_vectors(lhs: [f64; 4], rhs: [f64; 4]) -> f64 {
[INFO] [stderr]    |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `norm` is never used
[INFO] [stderr]    --> src/figure.rs:101:4
[INFO] [stderr]     |
[INFO] [stderr] 101 | fn norm(vector: [f64; 4]) -> [f64; 4] {
[INFO] [stderr]     |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `maximum` is never used
[INFO] [stderr]    --> src/figure.rs:111:4
[INFO] [stderr]     |
[INFO] [stderr] 111 | fn maximum(a: f64, b: f64) -> f64{
[INFO] [stderr]     |    ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `stretch` is never used
[INFO] [stderr]   --> src/transformations.rs:45:12
[INFO] [stderr]    |
[INFO] [stderr] 34 | impl TransformMatrix {
[INFO] [stderr]    | -------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 45 |     pub fn stretch(&mut self, x: f64, y: f64, z: f64) -> Self {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `surface_order` should have an upper case name
[INFO] [stderr]   --> src/state.rs:21:11
[INFO] [stderr]    |
[INFO] [stderr] 21 | pub const surface_order: usize = 4;
[INFO] [stderr]    |           ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] help: convert the identifier to upper case
[INFO] [stderr]    |
[INFO] [stderr] 21 - pub const surface_order: usize = 4;
[INFO] [stderr] 21 + pub const SURFACE_ORDER: usize = 4;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: `course_project` (bin "course_project" test) generated 19 warnings (run `cargo fix --bin "course_project" -p course_project --tests` to apply 4 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/course_project-4442adeff074c114)
[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" "4686bbeb1dc4975885a5db9ffb0d03b5166653f7a0af03dcf2d20932691ed573", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4686bbeb1dc4975885a5db9ffb0d03b5166653f7a0af03dcf2d20932691ed573", kill_on_drop: false }`
[INFO] [stdout] 4686bbeb1dc4975885a5db9ffb0d03b5166653f7a0af03dcf2d20932691ed573
