[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] building Pavel-chemist/floating_objects against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [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 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v2.1.0 [INFO] [stderr] Downloaded fltk v1.4.1 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d456f1d4ff8cd5cef7ebb60dbd14a54c713c36c3dcab601623d0d6c48e19aba7 [INFO] running `Command { std: "docker" "start" "-a" "d456f1d4ff8cd5cef7ebb60dbd14a54c713c36c3dcab601623d0d6c48e19aba7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d456f1d4ff8cd5cef7ebb60dbd14a54c713c36c3dcab601623d0d6c48e19aba7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d456f1d4ff8cd5cef7ebb60dbd14a54c713c36c3dcab601623d0d6c48e19aba7", kill_on_drop: false }` [INFO] [stdout] d456f1d4ff8cd5cef7ebb60dbd14a54c713c36c3dcab601623d0d6c48e19aba7 [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f36e7c9976f09a085d637968a8ef341a47f9d1fb01938e29ea9ed607d78f291f [INFO] running `Command { std: "docker" "start" "-a" "f36e7c9976f09a085d637968a8ef341a47f9d1fb01938e29ea9ed607d78f291f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.141 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling ttf-parser v0.18.1 [INFO] [stderr] Compiling bitflags v2.1.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling fltk-sys v1.4.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling getrandom v0.2.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling fltk v1.4.1 [INFO] [stderr] Compiling floating_objects v0.1.0 (/opt/rustwide/workdir) [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: `Message` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.19s [INFO] running `Command { std: "docker" "inspect" "f36e7c9976f09a085d637968a8ef341a47f9d1fb01938e29ea9ed607d78f291f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f36e7c9976f09a085d637968a8ef341a47f9d1fb01938e29ea9ed607d78f291f", kill_on_drop: false }` [INFO] [stdout] f36e7c9976f09a085d637968a8ef341a47f9d1fb01938e29ea9ed607d78f291f [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad47b4d30bac06c4a444c2bb14841ef9178e143bf28c3f541e78433806475387 [INFO] running `Command { std: "docker" "start" "-a" "ad47b4d30bac06c4a444c2bb14841ef9178e143bf28c3f541e78433806475387", kill_on_drop: false }` [INFO] [stderr] Compiling floating_objects v0.1.0 (/opt/rustwide/workdir) [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: `Message` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "ad47b4d30bac06c4a444c2bb14841ef9178e143bf28c3f541e78433806475387", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad47b4d30bac06c4a444c2bb14841ef9178e143bf28c3f541e78433806475387", kill_on_drop: false }` [INFO] [stdout] ad47b4d30bac06c4a444c2bb14841ef9178e143bf28c3f541e78433806475387