[INFO] cloning repository https://github.com/78yoni78/blobs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/78yoni78/blobs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F78yoni78%2Fblobs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F78yoni78%2Fblobs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c2ee2971459534db78cf95391496d820b7ece89a [INFO] building 78yoni78/blobs 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%2F78yoni78%2Fblobs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/78yoni78/blobs 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/78yoni78/blobs [INFO] finished tweaking git repo https://github.com/78yoni78/blobs [INFO] tweaked toml for git repo https://github.com/78yoni78/blobs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/78yoni78/blobs 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 rand_core v0.6.2 [INFO] [stderr] Downloaded getrandom v0.2.3 [INFO] [stderr] Downloaded fs_extra v1.2.0 [INFO] [stderr] Downloaded wasi v0.10.2+wasi-snapshot-preview1 [INFO] [stderr] Downloaded cc v1.0.67 [INFO] [stderr] Downloaded libc v0.2.94 [INFO] [stderr] Downloaded raylib v3.5.0 [INFO] [stderr] Downloaded raylib-sys v3.5.0 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 516216b1048ce3b2912e74e3f5dbf83458c93b2747a942ee607d132c8a0bc674 [INFO] running `Command { std: "docker" "start" "-a" "516216b1048ce3b2912e74e3f5dbf83458c93b2747a942ee607d132c8a0bc674", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "516216b1048ce3b2912e74e3f5dbf83458c93b2747a942ee607d132c8a0bc674", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "516216b1048ce3b2912e74e3f5dbf83458c93b2747a942ee607d132c8a0bc674", kill_on_drop: false }` [INFO] [stdout] 516216b1048ce3b2912e74e3f5dbf83458c93b2747a942ee607d132c8a0bc674 [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 -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] 4ba14b38d85c4b50eabf64a993c9a00a247baf333921de38b03f8e78bbb3a17d [INFO] running `Command { std: "docker" "start" "-a" "4ba14b38d85c4b50eabf64a993c9a00a247baf333921de38b03f8e78bbb3a17d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling raylib-sys v3.5.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling raylib v3.5.0 [INFO] [stderr] Compiling blobs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `raylib::prelude::MouseButton` [INFO] [stdout] --> src/window.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use raylib::prelude::MouseButton; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raylib::prelude::KeyboardKey` [INFO] [stdout] --> src/window.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use raylib::prelude::KeyboardKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DrawingContext` [INFO] [stdout] --> src/window.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | pub use super::{Window, DrawingContext, WindowConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raylib::prelude::Vector3` [INFO] [stdout] --> src/math.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use raylib::prelude::Vector3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blob_key` [INFO] [stdout] --> src/main.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let blob_key = add_random_blob(&mut sim, &mut names); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blob_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blob_key` [INFO] [stdout] --> src/main.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | let blob_key = add_random_blob(&mut sim, &mut names); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blob_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle` is never used [INFO] [stdout] --> src/window.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Window { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn handle(&self) -> &RaylibHandle { &self.handle } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `full` is never used [INFO] [stdout] --> src/physics.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 21 | impl LayerMask { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub const fn full() -> Self { Self(!0) } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/simulation.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 95 | BlobSight(Key), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CircleObject` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 95 | BlobSight(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_food` and `get_food_mut` are never used [INFO] [stdout] --> src/simulation.rs:331:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl Simulation { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 331 | pub fn get_food(&self, food: Key) -> Option<&Food> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 335 | pub fn get_food_mut(&mut self, food: Key) -> Option<&mut Food> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_radius` and `set_sight_depth` are never used [INFO] [stdout] --> src/simulation.rs:395:12 [INFO] [stdout] | [INFO] [stdout] 381 | impl Blob { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn set_radius(&mut self, world: &mut physics::World, value: f32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 408 | pub fn set_sight_depth(&mut self, world: &mut physics::World, value: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pos`, `circle_mut`, and `set_pos` are never used [INFO] [stdout] --> src/simulation.rs:535:12 [INFO] [stdout] | [INFO] [stdout] 530 | impl Food { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 535 | pub fn pos(&self) -> Vector2 { self.pos } [INFO] [stdout] | ^^^ [INFO] [stdout] 536 | [INFO] [stdout] 537 | fn circle_mut<'a>(&self, physics_world: &'a mut physics::World) -> &'a mut Circle { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 541 | pub fn set_pos(&mut self, physics_world: &mut physics::World, value: Vector2) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.68s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "4ba14b38d85c4b50eabf64a993c9a00a247baf333921de38b03f8e78bbb3a17d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ba14b38d85c4b50eabf64a993c9a00a247baf333921de38b03f8e78bbb3a17d", kill_on_drop: false }` [INFO] [stdout] 4ba14b38d85c4b50eabf64a993c9a00a247baf333921de38b03f8e78bbb3a17d [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 -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] 629d1abe38a8a3590dfa1416a0eee7468b1ddf59d3b21e0c9487170915a9d154 [INFO] running `Command { std: "docker" "start" "-a" "629d1abe38a8a3590dfa1416a0eee7468b1ddf59d3b21e0c9487170915a9d154", kill_on_drop: false }` [INFO] [stderr] Compiling blobs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `raylib::prelude::MouseButton` [INFO] [stdout] --> src/window.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use raylib::prelude::MouseButton; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raylib::prelude::KeyboardKey` [INFO] [stdout] --> src/window.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use raylib::prelude::KeyboardKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DrawingContext` [INFO] [stdout] --> src/window.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | pub use super::{Window, DrawingContext, WindowConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raylib::prelude::Vector3` [INFO] [stdout] --> src/math.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use raylib::prelude::Vector3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blob_key` [INFO] [stdout] --> src/main.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let blob_key = add_random_blob(&mut sim, &mut names); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blob_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blob_key` [INFO] [stdout] --> src/main.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | let blob_key = add_random_blob(&mut sim, &mut names); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blob_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle` is never used [INFO] [stdout] --> src/window.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Window { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn handle(&self) -> &RaylibHandle { &self.handle } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `full` is never used [INFO] [stdout] --> src/physics.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 21 | impl LayerMask { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub const fn full() -> Self { Self(!0) } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/simulation.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 95 | BlobSight(Key), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CircleObject` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 95 | BlobSight(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_food` and `get_food_mut` are never used [INFO] [stdout] --> src/simulation.rs:331:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl Simulation { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 331 | pub fn get_food(&self, food: Key) -> Option<&Food> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 335 | pub fn get_food_mut(&mut self, food: Key) -> Option<&mut Food> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_radius` and `set_sight_depth` are never used [INFO] [stdout] --> src/simulation.rs:395:12 [INFO] [stdout] | [INFO] [stdout] 381 | impl Blob { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn set_radius(&mut self, world: &mut physics::World, value: f32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 408 | pub fn set_sight_depth(&mut self, world: &mut physics::World, value: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pos`, `circle_mut`, and `set_pos` are never used [INFO] [stdout] --> src/simulation.rs:535:12 [INFO] [stdout] | [INFO] [stdout] 530 | impl Food { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 535 | pub fn pos(&self) -> Vector2 { self.pos } [INFO] [stdout] | ^^^ [INFO] [stdout] 536 | [INFO] [stdout] 537 | fn circle_mut<'a>(&self, physics_world: &'a mut physics::World) -> &'a mut Circle { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 541 | pub fn set_pos(&mut self, physics_world: &mut physics::World, value: Vector2) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "629d1abe38a8a3590dfa1416a0eee7468b1ddf59d3b21e0c9487170915a9d154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "629d1abe38a8a3590dfa1416a0eee7468b1ddf59d3b21e0c9487170915a9d154", kill_on_drop: false }` [INFO] [stdout] 629d1abe38a8a3590dfa1416a0eee7468b1ddf59d3b21e0c9487170915a9d154