[INFO] cloning repository https://github.com/dlubarov/rust-game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dlubarov/rust-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdlubarov%2Frust-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdlubarov%2Frust-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1464b8c172c7fa8d2dfccbe3a9f1e121009fbcd7 [INFO] building dlubarov/rust-game 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%2Fdlubarov%2Frust-game" "/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/dlubarov/rust-game 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/dlubarov/rust-game [INFO] finished tweaking git repo https://github.com/dlubarov/rust-game [INFO] tweaked toml for git repo https://github.com/dlubarov/rust-game written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dlubarov/rust-game 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] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tempfile v3.0.3 [INFO] [stderr] Downloaded gleam v0.6.0 [INFO] [stderr] Downloaded wayland-protocols v0.20.11 [INFO] [stderr] Downloaded wayland-client v0.20.11 [INFO] [stderr] Downloaded core-foundation-sys v0.6.1 [INFO] [stderr] Downloaded core-foundation v0.6.1 [INFO] [stderr] Downloaded rand v0.5.4 [INFO] [stderr] Downloaded objc v0.2.3 [INFO] [stderr] Downloaded wayland-commons v0.20.11 [INFO] [stderr] Downloaded wayland-scanner v0.20.11 [INFO] [stderr] Downloaded wayland-sys v0.20.11 [INFO] [stderr] Downloaded x11-dl v2.18.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] e9f0b19d1200f5534eb1c5a01b18b8403a82b8df0777bd8d02c2aab3963de340 [INFO] running `Command { std: "docker" "start" "-a" "e9f0b19d1200f5534eb1c5a01b18b8403a82b8df0777bd8d02c2aab3963de340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9f0b19d1200f5534eb1c5a01b18b8403a82b8df0777bd8d02c2aab3963de340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9f0b19d1200f5534eb1c5a01b18b8403a82b8df0777bd8d02c2aab3963de340", kill_on_drop: false }` [INFO] [stdout] e9f0b19d1200f5534eb1c5a01b18b8403a82b8df0777bd8d02c2aab3963de340 [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] 742166fbc8abe4bb77aef04becda0eea9b96663dcf84ffeb0d48130397944ea0 [INFO] running `Command { std: "docker" "start" "-a" "742166fbc8abe4bb77aef04becda0eea9b96663dcf84ffeb0d48130397944ea0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Compiling lazy_static v1.0.2 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling downcast-rs v1.0.3 [INFO] [stderr] Compiling rand_core v0.2.1 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling log v0.4.3 [INFO] [stderr] Compiling stable_deref_trait v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.11 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling smallvec v0.6.2 [INFO] [stderr] Compiling lock_api v0.1.3 [INFO] [stderr] Compiling byteorder v1.2.3 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling rand v0.5.4 [INFO] [stderr] Compiling wayland-scanner v0.20.11 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling x11-dl v2.18.0 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling wayland-client v0.20.11 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling wayland-protocols v0.20.11 [INFO] [stderr] Compiling tempfile v3.0.3 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Compiling glutin v0.17.0 [INFO] [stderr] Compiling parking_lot v0.6.3 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.20.11 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling wayland-commons v0.20.11 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling glium v0.22.0 [INFO] [stderr] Compiling rustc-demangle v0.1.8 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling smithay-client-toolkit v0.2.6 [INFO] [stderr] Compiling winit v0.16.2 [INFO] [stderr] Compiling rustcraft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `glium::index::*` [INFO] [stdout] --> src/human.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use glium::index::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec4::*` [INFO] [stdout] --> src/human.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use vec4::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vertex::*` [INFO] [stdout] --> src/human.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use vertex::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/mat3.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/mat4.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/human.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/vertex.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/vertex.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | implement_vertex!(ColoredVertex, position, normal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/character.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | body: Body, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 | body: dyn Body, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `name` is never used [INFO] [stdout] --> src/body.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Body { [INFO] [stdout] | ---- associated function in this trait [INFO] [stdout] 5 | fn name() -> &'static str where Self: Sized; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Character` is never constructed [INFO] [stdout] --> src/character.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Character { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NECK_LENGTH` is never used [INFO] [stdout] --> src/human.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const NECK_LENGTH: f32 = 0.2; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TORSO_WIDTH` is never used [INFO] [stdout] --> src/human.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const TORSO_WIDTH: f32 = 0.3; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UPPER_ARM_LENGTH` is never used [INFO] [stdout] --> src/human.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const UPPER_ARM_LENGTH: f32 = 0.3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOWER_ARM_LENGTH` is never used [INFO] [stdout] --> src/human.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const LOWER_ARM_LENGTH: f32 = 0.3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `left_shoulder`, `right_shoulder`, `left_elbow`, `right_elbow`, `right_knee`, and `right_sacroiliac` are never read [INFO] [stdout] --> src/human.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct Joints { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 31 | left_shoulder: Joint, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 32 | right_shoulder: Joint, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 33 | left_elbow: Joint, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | right_elbow: Joint, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 35 | left_knee: Joint, [INFO] [stdout] 36 | right_knee: Joint, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | left_sacroiliac: Joint, [INFO] [stdout] 38 | right_sacroiliac: Joint, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Joints` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/human.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Human { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn stand(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn sit(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn backward(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn right_sacroiliac_transform(&self) -> Mat4f { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn right_knee_transform(&self) -> Mat4f { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn left_shoulder_pos(&self) -> Vec3f { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn right_shoulder_pos(&self) -> Vec3f { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn left_hip_pos(&self) -> Vec3f { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn right_hip_pos(&self) -> Vec3f { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rows` and `columns` are never used [INFO] [stdout] --> src/mat3.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Mat3f { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn rows(self) -> [[f32; 3]; 3] { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn columns(self) -> [[f32; 3]; 3] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rows` is never used [INFO] [stdout] --> src/mat4.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Mat4f { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn rows(self) -> [[f32; 4]; 4] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `UNIT_X` and `UNIT_Y` are never used [INFO] [stdout] --> src/vec2.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 9 | impl Vec2f { [INFO] [stdout] | ---------- associated constants in this implementation [INFO] [stdout] 10 | pub const ZERO: Vec2f = Vec2f { x: 0.0, y: 0.0 }; [INFO] [stdout] 11 | pub const UNIT_X: Vec2f = Vec2f { x: 1.0, y: 0.0 }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | pub const UNIT_Y: Vec2f = Vec2f { x: 0.0, y: 1.0 }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/vec3.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 10 | impl Vec3f { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 11 | pub const ZERO: Vec3f = Vec3f { x: 0.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub const UNIT_X: Vec3f = Vec3f { x: 1.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | pub const UNIT_Y: Vec3f = Vec3f { x: 0.0, y: 1.0, z: 0.0 }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | pub const UNIT_Z: Vec3f = Vec3f { x: 0.0, y: 0.0, z: 1.0 }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | [INFO] [stdout] 16 | pub fn normalized(self) -> Vec3f { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn norm(self) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn norm_squared(self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/vec4.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 11 | impl Vec4f { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 12 | pub const ZERO: Vec4f = Vec4f { x: 0.0, y: 0.0, z: 0.0, w: 0.0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | pub const UNIT_X: Vec4f = Vec4f { x: 1.0, y: 0.0, z: 0.0, w: 0.0 }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | pub const UNIT_Y: Vec4f = Vec4f { x: 0.0, y: 1.0, z: 0.0, w: 0.0 }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | pub const UNIT_Z: Vec4f = Vec4f { x: 0.0, y: 0.0, z: 1.0, w: 0.0 }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | pub const UNIT_W: Vec4f = Vec4f { x: 0.0, y: 0.0, z: 0.0, w: 1.0 }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | [INFO] [stdout] 18 | pub fn normalized(self) -> Vec4f { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn norm(self) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn norm_squared(self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/vertex.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl ColoredVertex { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 15 | pub fn new(position: Vec3f, normal: Vec3f) -> ColoredVertex { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.26s [INFO] running `Command { std: "docker" "inspect" "742166fbc8abe4bb77aef04becda0eea9b96663dcf84ffeb0d48130397944ea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "742166fbc8abe4bb77aef04becda0eea9b96663dcf84ffeb0d48130397944ea0", kill_on_drop: false }` [INFO] [stdout] 742166fbc8abe4bb77aef04becda0eea9b96663dcf84ffeb0d48130397944ea0 [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] 6b8d8c02e3b8b27dabb2b07317dda45d56dd1b1c6224d441af935bd6c93052a0 [INFO] running `Command { std: "docker" "start" "-a" "6b8d8c02e3b8b27dabb2b07317dda45d56dd1b1c6224d441af935bd6c93052a0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rustcraft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `glium::index::*` [INFO] [stdout] --> src/human.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use glium::index::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec4::*` [INFO] [stdout] --> src/human.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use vec4::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vertex::*` [INFO] [stdout] --> src/human.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use vertex::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/human.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/vertex.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/vertex.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | implement_vertex!(ColoredVertex, position, normal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/character.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | body: Body, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 | body: dyn Body, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `name` is never used [INFO] [stdout] --> src/body.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Body { [INFO] [stdout] | ---- associated function in this trait [INFO] [stdout] 5 | fn name() -> &'static str where Self: Sized; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Character` is never constructed [INFO] [stdout] --> src/character.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Character { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NECK_LENGTH` is never used [INFO] [stdout] --> src/human.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const NECK_LENGTH: f32 = 0.2; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TORSO_WIDTH` is never used [INFO] [stdout] --> src/human.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const TORSO_WIDTH: f32 = 0.3; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UPPER_ARM_LENGTH` is never used [INFO] [stdout] --> src/human.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const UPPER_ARM_LENGTH: f32 = 0.3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOWER_ARM_LENGTH` is never used [INFO] [stdout] --> src/human.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const LOWER_ARM_LENGTH: f32 = 0.3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `left_shoulder`, `right_shoulder`, `left_elbow`, `right_elbow`, `right_knee`, and `right_sacroiliac` are never read [INFO] [stdout] --> src/human.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct Joints { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 31 | left_shoulder: Joint, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 32 | right_shoulder: Joint, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 33 | left_elbow: Joint, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | right_elbow: Joint, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 35 | left_knee: Joint, [INFO] [stdout] 36 | right_knee: Joint, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | left_sacroiliac: Joint, [INFO] [stdout] 38 | right_sacroiliac: Joint, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Joints` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/human.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Human { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn stand(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn sit(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn backward(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn right_sacroiliac_transform(&self) -> Mat4f { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn right_knee_transform(&self) -> Mat4f { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn left_shoulder_pos(&self) -> Vec3f { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn right_shoulder_pos(&self) -> Vec3f { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn left_hip_pos(&self) -> Vec3f { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn right_hip_pos(&self) -> Vec3f { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rows` and `columns` are never used [INFO] [stdout] --> src/mat3.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Mat3f { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn rows(self) -> [[f32; 3]; 3] { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn columns(self) -> [[f32; 3]; 3] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rows` is never used [INFO] [stdout] --> src/mat4.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Mat4f { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn rows(self) -> [[f32; 4]; 4] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `UNIT_X` and `UNIT_Y` are never used [INFO] [stdout] --> src/vec2.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 9 | impl Vec2f { [INFO] [stdout] | ---------- associated constants in this implementation [INFO] [stdout] 10 | pub const ZERO: Vec2f = Vec2f { x: 0.0, y: 0.0 }; [INFO] [stdout] 11 | pub const UNIT_X: Vec2f = Vec2f { x: 1.0, y: 0.0 }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | pub const UNIT_Y: Vec2f = Vec2f { x: 0.0, y: 1.0 }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `ZERO` and `normalized` are never used [INFO] [stdout] --> src/vec3.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 10 | impl Vec3f { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 11 | pub const ZERO: Vec3f = Vec3f { x: 0.0, y: 0.0, z: 0.0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn normalized(self) -> Vec3f { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `ZERO`, `UNIT_W`, and `normalized` are never used [INFO] [stdout] --> src/vec4.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 11 | impl Vec4f { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 12 | pub const ZERO: Vec4f = Vec4f { x: 0.0, y: 0.0, z: 0.0, w: 0.0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub const UNIT_W: Vec4f = Vec4f { x: 0.0, y: 0.0, z: 0.0, w: 1.0 }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | [INFO] [stdout] 18 | pub fn normalized(self) -> Vec4f { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/vertex.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl ColoredVertex { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 15 | pub fn new(position: Vec3f, normal: Vec3f) -> ColoredVertex { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] running `Command { std: "docker" "inspect" "6b8d8c02e3b8b27dabb2b07317dda45d56dd1b1c6224d441af935bd6c93052a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b8d8c02e3b8b27dabb2b07317dda45d56dd1b1c6224d441af935bd6c93052a0", kill_on_drop: false }` [INFO] [stdout] 6b8d8c02e3b8b27dabb2b07317dda45d56dd1b1c6224d441af935bd6c93052a0