[INFO] cloning repository https://github.com/Pavel-chemist/floating_objects [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Pavel-chemist/floating_objects" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPavel-chemist%2Ffloating_objects", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPavel-chemist%2Ffloating_objects'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d374db9eec133462d45bc6be7be8a74bf669993e [INFO] checking Pavel-chemist/floating_objects against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPavel-chemist%2Ffloating_objects" "/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/Pavel-chemist/floating_objects 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/Pavel-chemist/floating_objects [INFO] finished tweaking git repo https://github.com/Pavel-chemist/floating_objects [INFO] tweaked toml for git repo https://github.com/Pavel-chemist/floating_objects written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Pavel-chemist/floating_objects 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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded paste v1.0.12 [INFO] [stderr] Downloaded bitflags v2.1.0 [INFO] [stderr] Downloaded fltk v1.4.1 [INFO] [stderr] Downloaded getrandom v0.2.9 [INFO] [stderr] Downloaded libc v0.2.141 [INFO] [stderr] Downloaded fltk-sys v1.4.1 [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] 67c68c9d02d5b65aed82130da68df0d6d6126b985ecc525ea23e894b5ba0a285 [INFO] running `Command { std: "docker" "start" "-a" "67c68c9d02d5b65aed82130da68df0d6d6126b985ecc525ea23e894b5ba0a285", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67c68c9d02d5b65aed82130da68df0d6d6126b985ecc525ea23e894b5ba0a285", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67c68c9d02d5b65aed82130da68df0d6d6126b985ecc525ea23e894b5ba0a285", kill_on_drop: false }` [INFO] [stdout] 67c68c9d02d5b65aed82130da68df0d6d6126b985ecc525ea23e894b5ba0a285 [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] 5e4e13d0f47b5332ddedcd7f5176f51da7d32f3ba57e7be02cdf5a1c4310e0dd [INFO] running `Command { std: "docker" "start" "-a" "5e4e13d0f47b5332ddedcd7f5176f51da7d32f3ba57e7be02cdf5a1c4310e0dd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.141 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Checking ttf-parser v0.18.1 [INFO] [stderr] Checking bitflags v2.1.0 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Checking getrandom v0.2.9 [INFO] [stderr] Compiling fltk-sys v1.4.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fltk v1.4.1 [INFO] [stderr] Checking floating_objects v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `app` is imported redundantly [INFO] [stdout] --> src/main.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | app::{self, App, MouseButton}, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | *, [INFO] [stdout] | - the item `app` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `enums` is imported redundantly [INFO] [stdout] --> src/main.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | enums::{self, Color, ColorDepth, Event, FrameType}, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | *, [INFO] [stdout] | - the item `enums` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `app` is imported redundantly [INFO] [stdout] --> src/main.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | app::{self, App, MouseButton}, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | *, [INFO] [stdout] | - the item `app` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `enums` is imported redundantly [INFO] [stdout] --> src/main.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | enums::{self, Color, ColorDepth, Event, FrameType}, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | *, [INFO] [stdout] | - the item `enums` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `t1` is assigned to, but never used [INFO] [stdout] --> src/circle.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | let mut t1: f64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_t1` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t1` is never read [INFO] [stdout] --> src/circle.rs:164:25 [INFO] [stdout] | [INFO] [stdout] 164 | t1 = (-b + f64::sqrt(b * b - 4.0 * a * c))/(2.0 * a); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `t1` is assigned to, but never used [INFO] [stdout] --> src/circle.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | let mut t1: f64; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_t1` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t1` is never read [INFO] [stdout] --> src/circle.rs:164:25 [INFO] [stdout] | [INFO] [stdout] 164 | t1 = (-b + f64::sqrt(b * b - 4.0 * a * c))/(2.0 * a); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/main.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | MouseReleased(i32, i32, MouseButton), [INFO] [stdout] | ------------- ^^^ ^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 43 | MouseReleased((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `copy` is never used [INFO] [stdout] --> src/common_structs.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl RGBCanvas { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn copy(&self) -> RGBCanvas { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_i` is never used [INFO] [stdout] --> src/common_structs.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Coord { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn new_i(x: i32, y: i32) -> Coord { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_circle` is never used [INFO] [stdout] --> src/state.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn remove_circle(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_selected` is never read [INFO] [stdout] --> src/circle.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Circle { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | is_selected: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Circle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/main.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | MouseReleased(i32, i32, MouseButton), [INFO] [stdout] | ------------- ^^^ ^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 43 | MouseReleased((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `copy` is never used [INFO] [stdout] --> src/common_structs.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl RGBCanvas { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn copy(&self) -> RGBCanvas { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_i` is never used [INFO] [stdout] --> src/common_structs.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Coord { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn new_i(x: i32, y: i32) -> Coord { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_circle` is never used [INFO] [stdout] --> src/state.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn remove_circle(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_selected` is never read [INFO] [stdout] --> src/circle.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Circle { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | is_selected: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Circle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 56s [INFO] running `Command { std: "docker" "inspect" "5e4e13d0f47b5332ddedcd7f5176f51da7d32f3ba57e7be02cdf5a1c4310e0dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e4e13d0f47b5332ddedcd7f5176f51da7d32f3ba57e7be02cdf5a1c4310e0dd", kill_on_drop: false }` [INFO] [stdout] 5e4e13d0f47b5332ddedcd7f5176f51da7d32f3ba57e7be02cdf5a1c4310e0dd