[INFO] cloning repository https://github.com/BonsaiDen/ik-prototype [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BonsaiDen/ik-prototype" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBonsaiDen%2Fik-prototype", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBonsaiDen%2Fik-prototype'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a29734dea490e963b844b474b312139955611c7e [INFO] testing BonsaiDen/ik-prototype against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBonsaiDen%2Fik-prototype" "/workspace/builds/worker-108/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-108/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BonsaiDen/ik-prototype on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BonsaiDen/ik-prototype [INFO] finished tweaking git repo https://github.com/BonsaiDen/ik-prototype [INFO] tweaked toml for git repo https://github.com/BonsaiDen/ik-prototype written to /workspace/builds/worker-108/source/Cargo.toml [INFO] crate git repo https://github.com/BonsaiDen/ik-prototype already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded minifb v0.10.3 [INFO] [stderr] Downloaded downcast-rs v1.0.0 [INFO] [stderr] Downloaded line_drawing v0.6.0 [INFO] [stderr] Downloaded orbclient v0.3.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e362efac728d5fe731c3a4dcef4cd6572f1822cdb1480e4e6f79b675a993b68 [INFO] running `Command { std: "docker" "start" "-a" "2e362efac728d5fe731c3a4dcef4cd6572f1822cdb1480e4e6f79b675a993b68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e362efac728d5fe731c3a4dcef4cd6572f1822cdb1480e4e6f79b675a993b68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e362efac728d5fe731c3a4dcef4cd6572f1822cdb1480e4e6f79b675a993b68", kill_on_drop: false }` [INFO] [stdout] 2e362efac728d5fe731c3a4dcef4cd6572f1822cdb1480e4e6f79b675a993b68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44093333af27a3e512d9fc83809cad990cd339b4a7b93cc84f80567e18ac8c26 [INFO] running `Command { std: "docker" "start" "-a" "44093333af27a3e512d9fc83809cad990cd339b4a7b93cc84f80567e18ac8c26", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling libc v0.2.34 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling num-traits v0.1.41 [INFO] [stderr] Compiling downcast-rs v1.0.0 [INFO] [stderr] Compiling time v0.1.38 [INFO] [stderr] Compiling line_drawing v0.6.0 [INFO] [stderr] Compiling minifb v0.10.3 [INFO] [stderr] Compiling x11-dl v2.14.0 [INFO] [stderr] Compiling lean v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/particle.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | fn solve(&self, &mut [Particle]) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut [Particle]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/library/stick_figure.rs:508:79 [INFO] [stdout] | [INFO] [stdout] 508 | ).min(self.config.leanback_max).max(self.config.leanback_min) * 0.009;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/library/stick_figure.rs:542:42 [INFO] [stdout] | [INFO] [stdout] 542 | let compression = Vec2::new(0.0, (self.compression * ((self.compression_timer * self.config.land_speed).min(3.41).sin()).max(0.0))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 542 - let compression = Vec2::new(0.0, (self.compression * ((self.compression_timer * self.config.land_speed).min(3.41).sin()).max(0.0))); [INFO] [stdout] 542 + let compression = Vec2::new(0.0, self.compression * ((self.compression_timer * self.config.land_speed).min(3.41).sin()).max(0.0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/library/mod.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | fn world(&self, Vec2) -> Option<(Vec2, i32, i32)>; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec2` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/library/mod.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | fn set_bone(&mut self, &'static str); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'static str` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/library/weapon.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / lazy_static! { [INFO] [stdout] 21 | | [INFO] [stdout] 22 | | static ref WEAPON_RIFLE_RIGID: RigidBodyData = RigidBodyData { [INFO] [stdout] 23 | | points: vec![ [INFO] [stdout] ... | [INFO] [stdout] 41 | | [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/library/stick_figure.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / lazy_static! { [INFO] [stdout] 33 | | [INFO] [stdout] 34 | | static ref DEFAULT_FIGURE_SKELETON: SkeletalData = SkeletalData { [INFO] [stdout] 35 | | bones: vec![ [INFO] [stdout] ... | [INFO] [stdout] 254 | | [INFO] [stdout] 255 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/library/stick_figure.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / lazy_static! { [INFO] [stdout] 33 | | [INFO] [stdout] 34 | | static ref DEFAULT_FIGURE_SKELETON: SkeletalData = SkeletalData { [INFO] [stdout] 35 | | bones: vec![ [INFO] [stdout] ... | [INFO] [stdout] 254 | | [INFO] [stdout] 255 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/library/stick_figure.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / lazy_static! { [INFO] [stdout] 33 | | [INFO] [stdout] 34 | | static ref DEFAULT_FIGURE_SKELETON: SkeletalData = SkeletalData { [INFO] [stdout] 35 | | bones: vec![ [INFO] [stdout] ... | [INFO] [stdout] 254 | | [INFO] [stdout] 255 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/library/stick_figure.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / lazy_static! { [INFO] [stdout] 33 | | [INFO] [stdout] 34 | | static ref DEFAULT_FIGURE_SKELETON: SkeletalData = SkeletalData { [INFO] [stdout] 35 | | bones: vec![ [INFO] [stdout] ... | [INFO] [stdout] 254 | | [INFO] [stdout] 255 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/library/stick_figure.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / lazy_static! { [INFO] [stdout] 33 | | [INFO] [stdout] 34 | | static ref DEFAULT_FIGURE_SKELETON: SkeletalData = SkeletalData { [INFO] [stdout] 35 | | bones: vec![ [INFO] [stdout] ... | [INFO] [stdout] 254 | | [INFO] [stdout] 255 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/particle.rs:266:26 [INFO] [stdout] | [INFO] [stdout] 266 | constraints: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 266 - constraints: Vec>, [INFO] [stdout] 266 + constraints: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/library/stick_figure.rs:332:44 [INFO] [stdout] | [INFO] [stdout] 332 | accessories: HashMap<&'static str, Box>>, [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 332 - accessories: HashMap<&'static str, Box>>, [INFO] [stdout] 332 + accessories: HashMap<&'static str, Box>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ragdoll.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | constraints: Vec>, [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - constraints: Vec>, [INFO] [stdout] 18 + constraints: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/particle.rs:378:28 [INFO] [stdout] | [INFO] [stdout] 378 | constraints: &[Box], [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 378 - constraints: &[Box], [INFO] [stdout] 378 + constraints: &[Box], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ragdoll.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(joints: Vec, constraints: Vec>) -> Self { [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 - pub fn new(joints: Vec, constraints: Vec>) -> Self { [INFO] [stdout] 28 + pub fn new(joints: Vec, constraints: Vec>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/skeleton.rs:693:42 [INFO] [stdout] | [INFO] [stdout] 693 | fn to_constaint(&self) -> Option> { [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 693 - fn to_constaint(&self) -> Option> { [INFO] [stdout] 693 + fn to_constaint(&self) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/library/stick_figure.rs:406:74 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn remove_accessory(&mut self, name: &'static str) -> Option>> { [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 406 - pub fn remove_accessory(&mut self, name: &'static str) -> Option>> { [INFO] [stdout] 406 + pub fn remove_accessory(&mut self, name: &'static str) -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/library/stick_figure.rs:401:48 [INFO] [stdout] | [INFO] [stdout] 401 | let mut a = Box::new(accessory) as Box>; [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 401 - let mut a = Box::new(accessory) as Box>; [INFO] [stdout] 401 + let mut a = Box::new(accessory) as Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/skeleton.rs:240:38 [INFO] [stdout] | [INFO] [stdout] 240 | let mut constraints: Vec> = self.bones.iter().filter_map(|bone| { [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 240 - let mut constraints: Vec> = self.bones.iter().filter_map(|bone| { [INFO] [stdout] 240 + let mut constraints: Vec> = self.bones.iter().filter_map(|bone| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/skeleton.rs:397:21 [INFO] [stdout] | [INFO] [stdout] 397 | let mut bone = &mut self.bones[*i]; [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: field is never read: `min_angle` [INFO] [stdout] --> src/skeleton.rs:668:5 [INFO] [stdout] | [INFO] [stdout] 668 | min_angle: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Bone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/skeleton.rs:654:10 [INFO] [stdout] | [INFO] [stdout] 654 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_angle` [INFO] [stdout] --> src/skeleton.rs:669:5 [INFO] [stdout] | [INFO] [stdout] 669 | max_angle: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/skeleton.rs:654:10 [INFO] [stdout] | [INFO] [stdout] 654 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 36.23s [INFO] running `Command { std: "docker" "inspect" "44093333af27a3e512d9fc83809cad990cd339b4a7b93cc84f80567e18ac8c26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44093333af27a3e512d9fc83809cad990cd339b4a7b93cc84f80567e18ac8c26", kill_on_drop: false }` [INFO] [stdout] 44093333af27a3e512d9fc83809cad990cd339b4a7b93cc84f80567e18ac8c26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5544f2f51ae3b3124ff0a995542c435948e84673d10c9bec22e15492bbdf1aa9 [INFO] running `Command { std: "docker" "start" "-a" "5544f2f51ae3b3124ff0a995542c435948e84673d10c9bec22e15492bbdf1aa9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/particle.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | fn solve(&self, &mut [Particle]) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut [Particle]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/library/stick_figure.rs:508:79 [INFO] [stdout] | [INFO] [stdout] 508 | ).min(self.config.leanback_max).max(self.config.leanback_min) * 0.009;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/library/stick_figure.rs:542:42 [INFO] [stdout] | [INFO] [stdout] 542 | let compression = Vec2::new(0.0, (self.compression * ((self.compression_timer * self.config.land_speed).min(3.41).sin()).max(0.0))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 542 - let compression = Vec2::new(0.0, (self.compression * ((self.compression_timer * self.config.land_speed).min(3.41).sin()).max(0.0))); [INFO] [stdout] 542 + let compression = Vec2::new(0.0, self.compression * ((self.compression_timer * self.config.land_speed).min(3.41).sin()).max(0.0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/library/mod.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | fn world(&self, Vec2) -> Option<(Vec2, i32, i32)>; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec2` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/library/mod.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | fn set_bone(&mut self, &'static str); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'static str` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/library/weapon.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / lazy_static! { [INFO] [stdout] 21 | | [INFO] [stdout] 22 | | static ref WEAPON_RIFLE_RIGID: RigidBodyData = RigidBodyData { [INFO] [stdout] 23 | | points: vec![ [INFO] [stdout] ... | [INFO] [stdout] 41 | | [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/library/stick_figure.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / lazy_static! { [INFO] [stdout] 33 | | [INFO] [stdout] 34 | | static ref DEFAULT_FIGURE_SKELETON: SkeletalData = SkeletalData { [INFO] [stdout] 35 | | bones: vec![ [INFO] [stdout] ... | [INFO] [stdout] 254 | | [INFO] [stdout] 255 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/library/stick_figure.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / lazy_static! { [INFO] [stdout] 33 | | [INFO] [stdout] 34 | | static ref DEFAULT_FIGURE_SKELETON: SkeletalData = SkeletalData { [INFO] [stdout] 35 | | bones: vec![ [INFO] [stdout] ... | [INFO] [stdout] 254 | | [INFO] [stdout] 255 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/library/stick_figure.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / lazy_static! { [INFO] [stdout] 33 | | [INFO] [stdout] 34 | | static ref DEFAULT_FIGURE_SKELETON: SkeletalData = SkeletalData { [INFO] [stdout] 35 | | bones: vec![ [INFO] [stdout] ... | [INFO] [stdout] 254 | | [INFO] [stdout] 255 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/library/stick_figure.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / lazy_static! { [INFO] [stdout] 33 | | [INFO] [stdout] 34 | | static ref DEFAULT_FIGURE_SKELETON: SkeletalData = SkeletalData { [INFO] [stdout] 35 | | bones: vec![ [INFO] [stdout] ... | [INFO] [stdout] 254 | | [INFO] [stdout] 255 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/library/stick_figure.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / lazy_static! { [INFO] [stdout] 33 | | [INFO] [stdout] 34 | | static ref DEFAULT_FIGURE_SKELETON: SkeletalData = SkeletalData { [INFO] [stdout] 35 | | bones: vec![ [INFO] [stdout] ... | [INFO] [stdout] 254 | | [INFO] [stdout] 255 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/particle.rs:266:26 [INFO] [stdout] | [INFO] [stdout] 266 | constraints: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 266 - constraints: Vec>, [INFO] [stdout] 266 + constraints: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/library/stick_figure.rs:332:44 [INFO] [stdout] | [INFO] [stdout] 332 | accessories: HashMap<&'static str, Box>>, [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 332 - accessories: HashMap<&'static str, Box>>, [INFO] [stdout] 332 + accessories: HashMap<&'static str, Box>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ragdoll.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | constraints: Vec>, [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - constraints: Vec>, [INFO] [stdout] 18 + constraints: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling lean v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/particle.rs:378:28 [INFO] [stdout] | [INFO] [stdout] 378 | constraints: &[Box], [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 378 - constraints: &[Box], [INFO] [stdout] 378 + constraints: &[Box], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ragdoll.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(joints: Vec, constraints: Vec>) -> Self { [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 - pub fn new(joints: Vec, constraints: Vec>) -> Self { [INFO] [stdout] 28 + pub fn new(joints: Vec, constraints: Vec>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/skeleton.rs:693:42 [INFO] [stdout] | [INFO] [stdout] 693 | fn to_constaint(&self) -> Option> { [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 693 - fn to_constaint(&self) -> Option> { [INFO] [stdout] 693 + fn to_constaint(&self) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/library/stick_figure.rs:406:74 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn remove_accessory(&mut self, name: &'static str) -> Option>> { [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 406 - pub fn remove_accessory(&mut self, name: &'static str) -> Option>> { [INFO] [stdout] 406 + pub fn remove_accessory(&mut self, name: &'static str) -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/library/stick_figure.rs:401:48 [INFO] [stdout] | [INFO] [stdout] 401 | let mut a = Box::new(accessory) as Box>; [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 401 - let mut a = Box::new(accessory) as Box>; [INFO] [stdout] 401 + let mut a = Box::new(accessory) as Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/skeleton.rs:240:38 [INFO] [stdout] | [INFO] [stdout] 240 | let mut constraints: Vec> = self.bones.iter().filter_map(|bone| { [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 240 - let mut constraints: Vec> = self.bones.iter().filter_map(|bone| { [INFO] [stdout] 240 + let mut constraints: Vec> = self.bones.iter().filter_map(|bone| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/skeleton.rs:397:21 [INFO] [stdout] | [INFO] [stdout] 397 | let mut bone = &mut self.bones[*i]; [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: field is never read: `min_angle` [INFO] [stdout] --> src/skeleton.rs:668:5 [INFO] [stdout] | [INFO] [stdout] 668 | min_angle: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Bone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/skeleton.rs:654:10 [INFO] [stdout] | [INFO] [stdout] 654 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_angle` [INFO] [stdout] --> src/skeleton.rs:669:5 [INFO] [stdout] | [INFO] [stdout] 669 | max_angle: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/skeleton.rs:654:10 [INFO] [stdout] | [INFO] [stdout] 654 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> examples/foo.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> examples/foo.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | / lazy_static! { [INFO] [stdout] 155 | | static ref SKELETON: SkeletalData = SkeletalData { [INFO] [stdout] 156 | | bones: vec![ [INFO] [stdout] 157 | | ( "Root", ( "Root", 0.0, 0.0, 0.00, 0.98)), // 0 [INFO] [stdout] ... | [INFO] [stdout] 174 | | }; [INFO] [stdout] 175 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/particle.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | fn solve(&self, &mut [Particle]) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut [Particle]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/library/stick_figure.rs:508:79 [INFO] [stdout] | [INFO] [stdout] 508 | ).min(self.config.leanback_max).max(self.config.leanback_min) * 0.009;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/library/stick_figure.rs:542:42 [INFO] [stdout] | [INFO] [stdout] 542 | let compression = Vec2::new(0.0, (self.compression * ((self.compression_timer * self.config.land_speed).min(3.41).sin()).max(0.0))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 542 - let compression = Vec2::new(0.0, (self.compression * ((self.compression_timer * self.config.land_speed).min(3.41).sin()).max(0.0))); [INFO] [stdout] 542 + let compression = Vec2::new(0.0, self.compression * ((self.compression_timer * self.config.land_speed).min(3.41).sin()).max(0.0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/library/mod.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | fn world(&self, Vec2) -> Option<(Vec2, i32, i32)>; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec2` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/library/mod.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | fn set_bone(&mut self, &'static str); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'static str` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> examples/foo.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | x: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Vec2` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> examples/foo.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/library/weapon.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / lazy_static! { [INFO] [stdout] 21 | | [INFO] [stdout] 22 | | static ref WEAPON_RIFLE_RIGID: RigidBodyData = RigidBodyData { [INFO] [stdout] 23 | | points: vec![ [INFO] [stdout] ... | [INFO] [stdout] 41 | | [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> examples/foo.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | y: f32 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Vec2` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> examples/foo.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tmp_update_angle` [INFO] [stdout] --> examples/foo.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | tmp_update_angle: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/foo.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_angle` [INFO] [stdout] --> examples/foo.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | current_angle: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/foo.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `user_angle` [INFO] [stdout] --> examples/foo.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | user_angle: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/foo.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `length` [INFO] [stdout] --> examples/foo.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | length: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/foo.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `start` [INFO] [stdout] --> examples/foo.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | start: Vec2, // parent.end [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/foo.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end` [INFO] [stdout] --> examples/foo.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | end: Vec2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/foo.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `world_position` [INFO] [stdout] --> examples/foo.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | world_position: Vec2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/foo.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `local_transform` [INFO] [stdout] --> examples/foo.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | local_transform: Vec2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> examples/foo.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/library/stick_figure.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / lazy_static! { [INFO] [stdout] 33 | | [INFO] [stdout] 34 | | static ref DEFAULT_FIGURE_SKELETON: SkeletalData = SkeletalData { [INFO] [stdout] 35 | | bones: vec![ [INFO] [stdout] ... | [INFO] [stdout] 254 | | [INFO] [stdout] 255 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/library/stick_figure.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / lazy_static! { [INFO] [stdout] 33 | | [INFO] [stdout] 34 | | static ref DEFAULT_FIGURE_SKELETON: SkeletalData = SkeletalData { [INFO] [stdout] 35 | | bones: vec![ [INFO] [stdout] ... | [INFO] [stdout] 254 | | [INFO] [stdout] 255 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/library/stick_figure.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / lazy_static! { [INFO] [stdout] 33 | | [INFO] [stdout] 34 | | static ref DEFAULT_FIGURE_SKELETON: SkeletalData = SkeletalData { [INFO] [stdout] 35 | | bones: vec![ [INFO] [stdout] ... | [INFO] [stdout] 254 | | [INFO] [stdout] 255 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/library/stick_figure.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / lazy_static! { [INFO] [stdout] 33 | | [INFO] [stdout] 34 | | static ref DEFAULT_FIGURE_SKELETON: SkeletalData = SkeletalData { [INFO] [stdout] 35 | | bones: vec![ [INFO] [stdout] ... | [INFO] [stdout] 254 | | [INFO] [stdout] 255 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/library/stick_figure.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / lazy_static! { [INFO] [stdout] 33 | | [INFO] [stdout] 34 | | static ref DEFAULT_FIGURE_SKELETON: SkeletalData = SkeletalData { [INFO] [stdout] 35 | | bones: vec![ [INFO] [stdout] ... | [INFO] [stdout] 254 | | [INFO] [stdout] 255 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/particle.rs:266:26 [INFO] [stdout] | [INFO] [stdout] 266 | constraints: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 266 - constraints: Vec>, [INFO] [stdout] 266 + constraints: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/library/stick_figure.rs:332:44 [INFO] [stdout] | [INFO] [stdout] 332 | accessories: HashMap<&'static str, Box>>, [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 332 - accessories: HashMap<&'static str, Box>>, [INFO] [stdout] 332 + accessories: HashMap<&'static str, Box>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ragdoll.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | constraints: Vec>, [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - constraints: Vec>, [INFO] [stdout] 18 + constraints: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/particle.rs:378:28 [INFO] [stdout] | [INFO] [stdout] 378 | constraints: &[Box], [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 378 - constraints: &[Box], [INFO] [stdout] 378 + constraints: &[Box], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ragdoll.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(joints: Vec, constraints: Vec>) -> Self { [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 - pub fn new(joints: Vec, constraints: Vec>) -> Self { [INFO] [stdout] 28 + pub fn new(joints: Vec, constraints: Vec>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/skeleton.rs:693:42 [INFO] [stdout] | [INFO] [stdout] 693 | fn to_constaint(&self) -> Option> { [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 693 - fn to_constaint(&self) -> Option> { [INFO] [stdout] 693 + fn to_constaint(&self) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/library/stick_figure.rs:406:74 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn remove_accessory(&mut self, name: &'static str) -> Option>> { [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 406 - pub fn remove_accessory(&mut self, name: &'static str) -> Option>> { [INFO] [stdout] 406 + pub fn remove_accessory(&mut self, name: &'static str) -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/library/stick_figure.rs:401:48 [INFO] [stdout] | [INFO] [stdout] 401 | let mut a = Box::new(accessory) as Box>; [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 401 - let mut a = Box::new(accessory) as Box>; [INFO] [stdout] 401 + let mut a = Box::new(accessory) as Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/skeleton.rs:240:38 [INFO] [stdout] | [INFO] [stdout] 240 | let mut constraints: Vec> = self.bones.iter().filter_map(|bone| { [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 240 - let mut constraints: Vec> = self.bones.iter().filter_map(|bone| { [INFO] [stdout] 240 + let mut constraints: Vec> = self.bones.iter().filter_map(|bone| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/skeleton.rs:397:21 [INFO] [stdout] | [INFO] [stdout] 397 | let mut bone = &mut self.bones[*i]; [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: field is never read: `min_angle` [INFO] [stdout] --> src/skeleton.rs:668:5 [INFO] [stdout] | [INFO] [stdout] 668 | min_angle: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Bone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/skeleton.rs:654:10 [INFO] [stdout] | [INFO] [stdout] 654 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_angle` [INFO] [stdout] --> src/skeleton.rs:669:5 [INFO] [stdout] | [INFO] [stdout] 669 | max_angle: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/skeleton.rs:654:10 [INFO] [stdout] | [INFO] [stdout] 654 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.21s [INFO] running `Command { std: "docker" "inspect" "5544f2f51ae3b3124ff0a995542c435948e84673d10c9bec22e15492bbdf1aa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5544f2f51ae3b3124ff0a995542c435948e84673d10c9bec22e15492bbdf1aa9", kill_on_drop: false }` [INFO] [stdout] 5544f2f51ae3b3124ff0a995542c435948e84673d10c9bec22e15492bbdf1aa9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e9e6d091399e00fc7015c67988efa56ab660c05ba236cb8a4d9ea66c722906ee [INFO] running `Command { std: "docker" "start" "-a" "e9e6d091399e00fc7015c67988efa56ab660c05ba236cb8a4d9ea66c722906ee", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/particle.rs:26:21 [INFO] [stderr] | [INFO] [stderr] 26 | fn solve(&self, &mut [Particle]) {} [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut [Particle]` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/library/stick_figure.rs:508:79 [INFO] [stderr] | [INFO] [stderr] 508 | ).min(self.config.leanback_max).max(self.config.leanback_min) * 0.009;; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/library/stick_figure.rs:542:42 [INFO] [stderr] | [INFO] [stderr] 542 | let compression = Vec2::new(0.0, (self.compression * ((self.compression_timer * self.config.land_speed).min(3.41).sin()).max(0.0))); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 542 - let compression = Vec2::new(0.0, (self.compression * ((self.compression_timer * self.config.land_speed).min(3.41).sin()).max(0.0))); [INFO] [stderr] 542 + let compression = Vec2::new(0.0, self.compression * ((self.compression_timer * self.config.land_speed).min(3.41).sin()).max(0.0)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/library/mod.rs:40:21 [INFO] [stderr] | [INFO] [stderr] 40 | fn world(&self, Vec2) -> Option<(Vec2, i32, i32)>; [INFO] [stderr] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec2` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/library/mod.rs:44:28 [INFO] [stderr] | [INFO] [stderr] 44 | fn set_bone(&mut self, &'static str); [INFO] [stderr] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'static str` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/library/weapon.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | / lazy_static! { [INFO] [stderr] 21 | | [INFO] [stderr] 22 | | static ref WEAPON_RIFLE_RIGID: RigidBodyData = RigidBodyData { [INFO] [stderr] 23 | | points: vec![ [INFO] [stderr] ... | [INFO] [stderr] 41 | | [INFO] [stderr] 42 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/library/stick_figure.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | / lazy_static! { [INFO] [stderr] 33 | | [INFO] [stderr] 34 | | static ref DEFAULT_FIGURE_SKELETON: SkeletalData = SkeletalData { [INFO] [stderr] 35 | | bones: vec![ [INFO] [stderr] ... | [INFO] [stderr] 254 | | [INFO] [stderr] 255 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/particle.rs:266:26 [INFO] [stderr] | [INFO] [stderr] 266 | constraints: Vec>, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 266 - constraints: Vec>, [INFO] [stderr] 266 + constraints: Vec>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/library/stick_figure.rs:332:44 [INFO] [stderr] | [INFO] [stderr] 332 | accessories: HashMap<&'static str, Box>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 332 - accessories: HashMap<&'static str, Box>>, [INFO] [stderr] 332 + accessories: HashMap<&'static str, Box>>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ragdoll.rs:18:26 [INFO] [stderr] | [INFO] [stderr] 18 | constraints: Vec>, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 18 - constraints: Vec>, [INFO] [stderr] 18 + constraints: Vec>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/particle.rs:378:28 [INFO] [stderr] | [INFO] [stderr] 378 | constraints: &[Box], [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 378 - constraints: &[Box], [INFO] [stderr] 378 + constraints: &[Box], [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ragdoll.rs:28:60 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn new(joints: Vec, constraints: Vec>) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 28 - pub fn new(joints: Vec, constraints: Vec>) -> Self { [INFO] [stderr] 28 + pub fn new(joints: Vec, constraints: Vec>) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/skeleton.rs:693:42 [INFO] [stderr] | [INFO] [stderr] 693 | fn to_constaint(&self) -> Option> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 693 - fn to_constaint(&self) -> Option> { [INFO] [stderr] 693 + fn to_constaint(&self) -> Option> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/library/stick_figure.rs:406:74 [INFO] [stderr] | [INFO] [stderr] 406 | pub fn remove_accessory(&mut self, name: &'static str) -> Option>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 406 - pub fn remove_accessory(&mut self, name: &'static str) -> Option>> { [INFO] [stderr] 406 + pub fn remove_accessory(&mut self, name: &'static str) -> Option>> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/library/stick_figure.rs:401:48 [INFO] [stderr] | [INFO] [stderr] 401 | let mut a = Box::new(accessory) as Box>; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 401 - let mut a = Box::new(accessory) as Box>; [INFO] [stderr] 401 + let mut a = Box::new(accessory) as Box>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/skeleton.rs:240:38 [INFO] [stderr] | [INFO] [stderr] 240 | let mut constraints: Vec> = self.bones.iter().filter_map(|bone| { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 240 - let mut constraints: Vec> = self.bones.iter().filter_map(|bone| { [INFO] [stderr] 240 + let mut constraints: Vec> = self.bones.iter().filter_map(|bone| { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/skeleton.rs:397:21 [INFO] [stderr] | [INFO] [stderr] 397 | let mut bone = &mut self.bones[*i]; [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `min_angle` [INFO] [stderr] --> src/skeleton.rs:668:5 [INFO] [stderr] | [INFO] [stderr] 668 | min_angle: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Bone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/skeleton.rs:654:10 [INFO] [stderr] | [INFO] [stderr] 654 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `max_angle` [INFO] [stderr] --> src/skeleton.rs:669:5 [INFO] [stderr] | [INFO] [stderr] 669 | max_angle: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Bone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/skeleton.rs:654:10 [INFO] [stderr] | [INFO] [stderr] 654 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `lean` (lib) generated 23 warnings (4 duplicates) [INFO] [stderr] warning: `lean` (lib test) generated 23 warnings (23 duplicates) [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> examples/foo.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> examples/foo.rs:154:1 [INFO] [stderr] | [INFO] [stderr] 154 | / lazy_static! { [INFO] [stderr] 155 | | static ref SKELETON: SkeletalData = SkeletalData { [INFO] [stderr] 156 | | bones: vec![ [INFO] [stderr] 157 | | ( "Root", ( "Root", 0.0, 0.0, 0.00, 0.98)), // 0 [INFO] [stderr] ... | [INFO] [stderr] 174 | | }; [INFO] [stderr] 175 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `x` [INFO] [stderr] --> examples/foo.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | x: f32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Vec2` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> examples/foo.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Debug, Copy, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `y` [INFO] [stderr] --> examples/foo.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | y: f32 [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Vec2` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> examples/foo.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Debug, Copy, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `tmp_update_angle` [INFO] [stderr] --> examples/foo.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | tmp_update_angle: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Bone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> examples/foo.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `current_angle` [INFO] [stderr] --> examples/foo.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | current_angle: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Bone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> examples/foo.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `user_angle` [INFO] [stderr] --> examples/foo.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | user_angle: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Bone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> examples/foo.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `length` [INFO] [stderr] --> examples/foo.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 48 | length: f32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Bone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> examples/foo.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `start` [INFO] [stderr] --> examples/foo.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | start: Vec2, // parent.end [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Bone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> examples/foo.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `end` [INFO] [stderr] --> examples/foo.rs:50:5 [INFO] [stderr] | [INFO] [stderr] 50 | end: Vec2, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Bone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> examples/foo.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `world_position` [INFO] [stderr] --> examples/foo.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | world_position: Vec2, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Bone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> examples/foo.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `local_transform` [INFO] [stderr] --> examples/foo.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | local_transform: Vec2, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Bone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> examples/foo.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `lean` (example "foo") generated 12 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lean-7edda0c88fc20783) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests lean [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> /opt/rustwide/workdir/src/library/stick_figure.rs:508:79 [INFO] [stderr] | [INFO] [stderr] 508 | ).min(self.config.leanback_max).max(self.config.leanback_min) * 0.009;; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> /opt/rustwide/workdir/src/library/stick_figure.rs:542:42 [INFO] [stderr] | [INFO] [stderr] 542 | let compression = Vec2::new(0.0, (self.compression * ((self.compression_timer * self.config.land_speed).min(3.41).sin()).max(0.0))); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 542 - let compression = Vec2::new(0.0, (self.compression * ((self.compression_timer * self.config.land_speed).min(3.41).sin()).max(0.0))); [INFO] [stderr] 542 + let compression = Vec2::new(0.0, self.compression * ((self.compression_timer * self.config.land_speed).min(3.41).sin()).max(0.0)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e9e6d091399e00fc7015c67988efa56ab660c05ba236cb8a4d9ea66c722906ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9e6d091399e00fc7015c67988efa56ab660c05ba236cb8a4d9ea66c722906ee", kill_on_drop: false }` [INFO] [stdout] e9e6d091399e00fc7015c67988efa56ab660c05ba236cb8a4d9ea66c722906ee