[INFO] cloning repository https://github.com/vetlemt/DDDragon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vetlemt/DDDragon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvetlemt%2FDDDragon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvetlemt%2FDDDragon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0108f7cef31d4f1676593983c7a2c36116b442bb [INFO] checking vetlemt/DDDragon against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvetlemt%2FDDDragon" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vetlemt/DDDragon on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vetlemt/DDDragon [INFO] finished tweaking git repo https://github.com/vetlemt/DDDragon [INFO] tweaked toml for git repo https://github.com/vetlemt/DDDragon written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/vetlemt/DDDragon 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a98bcd4c16e57153b7638436111227f2711e87812131e05bfba029a2b99c50c7 [INFO] running `Command { std: "docker" "start" "-a" "a98bcd4c16e57153b7638436111227f2711e87812131e05bfba029a2b99c50c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a98bcd4c16e57153b7638436111227f2711e87812131e05bfba029a2b99c50c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a98bcd4c16e57153b7638436111227f2711e87812131e05bfba029a2b99c50c7", kill_on_drop: false }` [INFO] [stdout] a98bcd4c16e57153b7638436111227f2711e87812131e05bfba029a2b99c50c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16c768b4eee55520cbabb828cd31d663b83ff899a42626f8326e4234cf24bbd5 [INFO] running `Command { std: "docker" "start" "-a" "16c768b4eee55520cbabb828cd31d663b83ff899a42626f8326e4234cf24bbd5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking tui v0.19.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking dddragon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `futures::future::join_all` [INFO] [stdout] --> src/app.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::join_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `threadpool::ThreadPool` [INFO] [stdout] --> src/app.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use threadpool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Alignment` [INFO] [stdout] --> src/app.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use tui::layout::{Alignment, Constraint}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Borders`, `Paragraph` [INFO] [stdout] --> src/app.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | use tui::widgets::{Axis, Block, Borders, BorderType, Chart, Dataset, GraphType, Paragraph}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyModifiers` [INFO] [stdout] --> src/handler.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | use crossterm::event::{KeyCode, KeyEvent, KeyModifiers}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::join_all` [INFO] [stdout] --> src/app.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::join_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `threadpool::ThreadPool` [INFO] [stdout] --> src/app.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use threadpool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Alignment` [INFO] [stdout] --> src/app.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use tui::layout::{Alignment, Constraint}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Borders`, `Paragraph` [INFO] [stdout] --> src/app.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | use tui::widgets::{Axis, Block, Borders, BorderType, Chart, Dataset, GraphType, Paragraph}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyModifiers` [INFO] [stdout] --> src/handler.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | use crossterm::event::{KeyCode, KeyEvent, KeyModifiers}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pentagram2` [INFO] [stdout] --> src/app.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | let mut pentagram2 = Polygon::new( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pentagram2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit_cube` [INFO] [stdout] --> src/app.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | let mut unit_cube = Polyhedron::new( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unit_cube` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pentaface` [INFO] [stdout] --> src/app.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let pentaface: Points3d = (0..5).into_iter().map(|n| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pentaface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut pentagram = Polygon::new( [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut pentagram2 = Polygon::new( [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let mut unit_cube = Polyhedron::new( [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start`, `end`, and `color` are never read [INFO] [stdout] --> src/app.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 294 | struct Line{ [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 295 | points: Points3d, [INFO] [stdout] 296 | start: Point3d, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 297 | end: Point3d, [INFO] [stdout] | ^^^ [INFO] [stdout] 298 | center: Point3d, [INFO] [stdout] 299 | color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `len`, `approximate_projected_size`, and `projected_extremeties` are never used [INFO] [stdout] --> src/app.rs:315:8 [INFO] [stdout] | [INFO] [stdout] 302 | impl Line{ [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 315 | fn len(&self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | fn approximate_projected_size(start: Point3d, end: Point3d, e: Point3d, t: Point3d, character_ratio: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 329 | fn projected_extremeties(start: Point3d, end: Point3d, e: Point3d, t: Point3d) -> Point2d { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `polygons` is never read [INFO] [stdout] --> src/app.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 468 | struct Polyhedron { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 469 | polygons: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_datasets` and `render` are never used [INFO] [stdout] --> src/app.rs:480:8 [INFO] [stdout] | [INFO] [stdout] 473 | impl Polyhedron { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 480 | fn as_datasets(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 490 | async fn render(&mut self, world: WorldMetrics) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Surface` is never constructed [INFO] [stdout] --> src/app.rs:502:8 [INFO] [stdout] | [INFO] [stdout] 502 | struct Surface { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Matrix` is never used [INFO] [stdout] --> src/app.rs:510:6 [INFO] [stdout] | [INFO] [stdout] 510 | type Matrix = [[f64;3];3]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MatrixFactory` is never constructed [INFO] [stdout] --> src/app.rs:512:8 [INFO] [stdout] | [INFO] [stdout] 512 | struct MatrixFactory; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `identity`, `rotate_x`, `rotate_y`, `rotate_z`, and `rotate` are never used [INFO] [stdout] --> src/app.rs:514:8 [INFO] [stdout] | [INFO] [stdout] 513 | impl MatrixFactory { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 514 | fn identity() -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 522 | fn rotate_x(theta: Radians) -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | fn rotate_y(theta: Radians) -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 542 | fn rotate_z(theta: Radians) -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 552 | fn rotate(roll: Radians, pitch: Radians, yaw: Radians) -> Matrix { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sender` and `handler` are never read [INFO] [stdout] --> src/event.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct EventHandler { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 25 | /// Event sender channel. [INFO] [stdout] 26 | sender: mpsc::Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | handler: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventHandler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pentagram2` [INFO] [stdout] --> src/app.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | let mut pentagram2 = Polygon::new( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pentagram2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit_cube` [INFO] [stdout] --> src/app.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | let mut unit_cube = Polyhedron::new( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unit_cube` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pentaface` [INFO] [stdout] --> src/app.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let pentaface: Points3d = (0..5).into_iter().map(|n| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pentaface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut pentagram = Polygon::new( [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut pentagram2 = Polygon::new( [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let mut unit_cube = Polyhedron::new( [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start`, `end`, and `color` are never read [INFO] [stdout] --> src/app.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 294 | struct Line{ [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 295 | points: Points3d, [INFO] [stdout] 296 | start: Point3d, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 297 | end: Point3d, [INFO] [stdout] | ^^^ [INFO] [stdout] 298 | center: Point3d, [INFO] [stdout] 299 | color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `len`, `approximate_projected_size`, and `projected_extremeties` are never used [INFO] [stdout] --> src/app.rs:315:8 [INFO] [stdout] | [INFO] [stdout] 302 | impl Line{ [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 315 | fn len(&self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | fn approximate_projected_size(start: Point3d, end: Point3d, e: Point3d, t: Point3d, character_ratio: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 329 | fn projected_extremeties(start: Point3d, end: Point3d, e: Point3d, t: Point3d) -> Point2d { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `polygons` is never read [INFO] [stdout] --> src/app.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 468 | struct Polyhedron { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 469 | polygons: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_datasets` and `render` are never used [INFO] [stdout] --> src/app.rs:480:8 [INFO] [stdout] | [INFO] [stdout] 473 | impl Polyhedron { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 480 | fn as_datasets(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 490 | async fn render(&mut self, world: WorldMetrics) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Surface` is never constructed [INFO] [stdout] --> src/app.rs:502:8 [INFO] [stdout] | [INFO] [stdout] 502 | struct Surface { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Matrix` is never used [INFO] [stdout] --> src/app.rs:510:6 [INFO] [stdout] | [INFO] [stdout] 510 | type Matrix = [[f64;3];3]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MatrixFactory` is never constructed [INFO] [stdout] --> src/app.rs:512:8 [INFO] [stdout] | [INFO] [stdout] 512 | struct MatrixFactory; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `identity`, `rotate_x`, `rotate_y`, `rotate_z`, and `rotate` are never used [INFO] [stdout] --> src/app.rs:514:8 [INFO] [stdout] | [INFO] [stdout] 513 | impl MatrixFactory { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 514 | fn identity() -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 522 | fn rotate_x(theta: Radians) -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | fn rotate_y(theta: Radians) -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 542 | fn rotate_z(theta: Radians) -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 552 | fn rotate(roll: Radians, pitch: Radians, yaw: Radians) -> Matrix { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sender` and `handler` are never read [INFO] [stdout] --> src/event.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct EventHandler { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 25 | /// Event sender channel. [INFO] [stdout] 26 | sender: mpsc::Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | handler: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventHandler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.83s [INFO] running `Command { std: "docker" "inspect" "16c768b4eee55520cbabb828cd31d663b83ff899a42626f8326e4234cf24bbd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16c768b4eee55520cbabb828cd31d663b83ff899a42626f8326e4234cf24bbd5", kill_on_drop: false }` [INFO] [stdout] 16c768b4eee55520cbabb828cd31d663b83ff899a42626f8326e4234cf24bbd5 [INFO] checking vetlemt/DDDragon against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvetlemt%2FDDDragon" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vetlemt/DDDragon on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vetlemt/DDDragon [INFO] finished tweaking git repo https://github.com/vetlemt/DDDragon [INFO] tweaked toml for git repo https://github.com/vetlemt/DDDragon written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/vetlemt/DDDragon 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8a348b90597cb4425389ffdfdb45fcfb5038e48dc698d2fd3d2d354b2250344 [INFO] running `Command { std: "docker" "start" "-a" "f8a348b90597cb4425389ffdfdb45fcfb5038e48dc698d2fd3d2d354b2250344", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8a348b90597cb4425389ffdfdb45fcfb5038e48dc698d2fd3d2d354b2250344", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8a348b90597cb4425389ffdfdb45fcfb5038e48dc698d2fd3d2d354b2250344", kill_on_drop: false }` [INFO] [stdout] f8a348b90597cb4425389ffdfdb45fcfb5038e48dc698d2fd3d2d354b2250344 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1bf31074b8534632c53371f238879fd35abc3d339726f0b25bd31a466aa107ac [INFO] running `Command { std: "docker" "start" "-a" "1bf31074b8534632c53371f238879fd35abc3d339726f0b25bd31a466aa107ac", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking tui v0.19.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking dddragon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `futures::future::join_all` [INFO] [stdout] --> src/app.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::join_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `threadpool::ThreadPool` [INFO] [stdout] --> src/app.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use threadpool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Alignment` [INFO] [stdout] --> src/app.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use tui::layout::{Alignment, Constraint}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Borders`, `Paragraph` [INFO] [stdout] --> src/app.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | use tui::widgets::{Axis, Block, Borders, BorderType, Chart, Dataset, GraphType, Paragraph}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyModifiers` [INFO] [stdout] --> src/handler.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | use crossterm::event::{KeyCode, KeyEvent, KeyModifiers}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::join_all` [INFO] [stdout] --> src/app.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::future::join_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `threadpool::ThreadPool` [INFO] [stdout] --> src/app.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use threadpool::ThreadPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Alignment` [INFO] [stdout] --> src/app.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use tui::layout::{Alignment, Constraint}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Borders`, `Paragraph` [INFO] [stdout] --> src/app.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | use tui::widgets::{Axis, Block, Borders, BorderType, Chart, Dataset, GraphType, Paragraph}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyModifiers` [INFO] [stdout] --> src/handler.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | use crossterm::event::{KeyCode, KeyEvent, KeyModifiers}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pentagram2` [INFO] [stdout] --> src/app.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | let mut pentagram2 = Polygon::new( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pentagram2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit_cube` [INFO] [stdout] --> src/app.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | let mut unit_cube = Polyhedron::new( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unit_cube` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pentaface` [INFO] [stdout] --> src/app.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let pentaface: Points3d = (0..5).into_iter().map(|n| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pentaface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut pentagram = Polygon::new( [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut pentagram2 = Polygon::new( [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let mut unit_cube = Polyhedron::new( [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start`, `end`, and `color` are never read [INFO] [stdout] --> src/app.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 294 | struct Line{ [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 295 | points: Points3d, [INFO] [stdout] 296 | start: Point3d, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 297 | end: Point3d, [INFO] [stdout] | ^^^ [INFO] [stdout] 298 | center: Point3d, [INFO] [stdout] 299 | color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `len`, `approximate_projected_size`, and `projected_extremeties` are never used [INFO] [stdout] --> src/app.rs:315:8 [INFO] [stdout] | [INFO] [stdout] 302 | impl Line{ [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 315 | fn len(&self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | fn approximate_projected_size(start: Point3d, end: Point3d, e: Point3d, t: Point3d, character_ratio: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 329 | fn projected_extremeties(start: Point3d, end: Point3d, e: Point3d, t: Point3d) -> Point2d { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `polygons` is never read [INFO] [stdout] --> src/app.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 468 | struct Polyhedron { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 469 | polygons: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_datasets` and `render` are never used [INFO] [stdout] --> src/app.rs:480:8 [INFO] [stdout] | [INFO] [stdout] 473 | impl Polyhedron { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 480 | fn as_datasets(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 490 | async fn render(&mut self, world: WorldMetrics) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Surface` is never constructed [INFO] [stdout] --> src/app.rs:502:8 [INFO] [stdout] | [INFO] [stdout] 502 | struct Surface { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Matrix` is never used [INFO] [stdout] --> src/app.rs:510:6 [INFO] [stdout] | [INFO] [stdout] 510 | type Matrix = [[f64;3];3]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MatrixFactory` is never constructed [INFO] [stdout] --> src/app.rs:512:8 [INFO] [stdout] | [INFO] [stdout] 512 | struct MatrixFactory; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `identity`, `rotate_x`, `rotate_y`, `rotate_z`, and `rotate` are never used [INFO] [stdout] --> src/app.rs:514:8 [INFO] [stdout] | [INFO] [stdout] 513 | impl MatrixFactory { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 514 | fn identity() -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 522 | fn rotate_x(theta: Radians) -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | fn rotate_y(theta: Radians) -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 542 | fn rotate_z(theta: Radians) -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 552 | fn rotate(roll: Radians, pitch: Radians, yaw: Radians) -> Matrix { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sender` and `handler` are never read [INFO] [stdout] --> src/event.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct EventHandler { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 25 | /// Event sender channel. [INFO] [stdout] 26 | sender: mpsc::Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | handler: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventHandler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pentagram2` [INFO] [stdout] --> src/app.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | let mut pentagram2 = Polygon::new( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pentagram2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit_cube` [INFO] [stdout] --> src/app.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | let mut unit_cube = Polyhedron::new( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unit_cube` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pentaface` [INFO] [stdout] --> src/app.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let pentaface: Points3d = (0..5).into_iter().map(|n| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pentaface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut pentagram = Polygon::new( [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut pentagram2 = Polygon::new( [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let mut unit_cube = Polyhedron::new( [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start`, `end`, and `color` are never read [INFO] [stdout] --> src/app.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 294 | struct Line{ [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 295 | points: Points3d, [INFO] [stdout] 296 | start: Point3d, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 297 | end: Point3d, [INFO] [stdout] | ^^^ [INFO] [stdout] 298 | center: Point3d, [INFO] [stdout] 299 | color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `len`, `approximate_projected_size`, and `projected_extremeties` are never used [INFO] [stdout] --> src/app.rs:315:8 [INFO] [stdout] | [INFO] [stdout] 302 | impl Line{ [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 315 | fn len(&self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | fn approximate_projected_size(start: Point3d, end: Point3d, e: Point3d, t: Point3d, character_ratio: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 329 | fn projected_extremeties(start: Point3d, end: Point3d, e: Point3d, t: Point3d) -> Point2d { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `polygons` is never read [INFO] [stdout] --> src/app.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 468 | struct Polyhedron { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 469 | polygons: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_datasets` and `render` are never used [INFO] [stdout] --> src/app.rs:480:8 [INFO] [stdout] | [INFO] [stdout] 473 | impl Polyhedron { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 480 | fn as_datasets(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 490 | async fn render(&mut self, world: WorldMetrics) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Surface` is never constructed [INFO] [stdout] --> src/app.rs:502:8 [INFO] [stdout] | [INFO] [stdout] 502 | struct Surface { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Matrix` is never used [INFO] [stdout] --> src/app.rs:510:6 [INFO] [stdout] | [INFO] [stdout] 510 | type Matrix = [[f64;3];3]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MatrixFactory` is never constructed [INFO] [stdout] --> src/app.rs:512:8 [INFO] [stdout] | [INFO] [stdout] 512 | struct MatrixFactory; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `identity`, `rotate_x`, `rotate_y`, `rotate_z`, and `rotate` are never used [INFO] [stdout] --> src/app.rs:514:8 [INFO] [stdout] | [INFO] [stdout] 513 | impl MatrixFactory { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 514 | fn identity() -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 522 | fn rotate_x(theta: Radians) -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | fn rotate_y(theta: Radians) -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 542 | fn rotate_z(theta: Radians) -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 552 | fn rotate(roll: Radians, pitch: Radians, yaw: Radians) -> Matrix { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sender` and `handler` are never read [INFO] [stdout] --> src/event.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct EventHandler { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 25 | /// Event sender channel. [INFO] [stdout] 26 | sender: mpsc::Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | handler: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventHandler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.62s [INFO] running `Command { std: "docker" "inspect" "1bf31074b8534632c53371f238879fd35abc3d339726f0b25bd31a466aa107ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bf31074b8534632c53371f238879fd35abc3d339726f0b25bd31a466aa107ac", kill_on_drop: false }` [INFO] [stdout] 1bf31074b8534632c53371f238879fd35abc3d339726f0b25bd31a466aa107ac