[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 try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBonsaiDen%2Fik-prototype" "/workspace/builds/worker-19/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-19/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BonsaiDen/ik-prototype on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-19/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" "+722e1797249a965b6335aebd65d777f917e498f1" "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 rand v0.3.18 [INFO] [stderr] Downloaded fuchsia-zircon-sys v0.2.0 [INFO] [stderr] Downloaded fuchsia-zircon v0.2.1 [INFO] [stderr] Downloaded gdi32-sys v0.1.1 [INFO] [stderr] Downloaded user32-sys v0.1.2 [INFO] [stderr] Downloaded x11-dl v2.14.0 [INFO] [stderr] Downloaded num v0.1.41 [INFO] [stderr] Downloaded time v0.1.38 [INFO] [stderr] Downloaded line_drawing v0.6.0 [INFO] [stderr] Downloaded downcast-rs v1.0.0 [INFO] [stderr] Downloaded minifb v0.10.3 [INFO] [stderr] Downloaded orbclient v0.3.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dcc690d87749d8a785cf22823274131ee9dfb5b1cd2846b88ab92e844e7e0697 [INFO] running `Command { std: "docker" "start" "-a" "dcc690d87749d8a785cf22823274131ee9dfb5b1cd2846b88ab92e844e7e0697", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dcc690d87749d8a785cf22823274131ee9dfb5b1cd2846b88ab92e844e7e0697", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcc690d87749d8a785cf22823274131ee9dfb5b1cd2846b88ab92e844e7e0697", kill_on_drop: false }` [INFO] [stdout] dcc690d87749d8a785cf22823274131ee9dfb5b1cd2846b88ab92e844e7e0697 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1926393a0693ee8ce0e3412516a85ba5b77b1dc5bb7b3670021f92a1ff30256d [INFO] running `Command { std: "docker" "start" "-a" "1926393a0693ee8ce0e3412516a85ba5b77b1dc5bb7b3670021f92a1ff30256d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.34 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling num-traits v0.1.41 [INFO] [stderr] Compiling downcast-rs v1.0.0 [INFO] [stderr] Compiling x11-dl v2.14.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 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/particle.rs:266:26 [INFO] [stdout] | [INFO] [stdout] 266 | constraints: Vec>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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] [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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] [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Accessory` [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] [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Accessory` [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] [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Accessory` [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] [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ragdoll.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | constraints: Vec>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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] [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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] [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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] [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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] [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: 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] [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] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.01s [INFO] running `Command { std: "docker" "inspect" "1926393a0693ee8ce0e3412516a85ba5b77b1dc5bb7b3670021f92a1ff30256d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1926393a0693ee8ce0e3412516a85ba5b77b1dc5bb7b3670021f92a1ff30256d", kill_on_drop: false }` [INFO] [stdout] 1926393a0693ee8ce0e3412516a85ba5b77b1dc5bb7b3670021f92a1ff30256d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc7ac07ad6ca184b72c6d42f87d0d503f2810928f8a7a29fea4964cb58287f85 [INFO] running `Command { std: "docker" "start" "-a" "dc7ac07ad6ca184b72c6d42f87d0d503f2810928f8a7a29fea4964cb58287f85", 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/particle.rs:266:26 [INFO] [stdout] | [INFO] [stdout] 266 | constraints: Vec>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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] [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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] [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Accessory` [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] [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Accessory` [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] [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Accessory` [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] [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ragdoll.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | constraints: Vec>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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] [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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] [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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] [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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] [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] [stderr] Compiling lean v0.1.0 (/opt/rustwide/workdir) [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: 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] [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] [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: 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] [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] [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] [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/particle.rs:266:26 [INFO] [stdout] | [INFO] [stdout] 266 | constraints: Vec>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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] [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] [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] [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] [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] [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] [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] [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] [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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] [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Accessory` [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] [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Accessory` [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] [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Accessory` [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] [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ragdoll.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | constraints: Vec>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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] [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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] [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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] [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [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: 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] [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] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 16.52s [INFO] running `Command { std: "docker" "inspect" "dc7ac07ad6ca184b72c6d42f87d0d503f2810928f8a7a29fea4964cb58287f85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc7ac07ad6ca184b72c6d42f87d0d503f2810928f8a7a29fea4964cb58287f85", kill_on_drop: false }` [INFO] [stdout] dc7ac07ad6ca184b72c6d42f87d0d503f2810928f8a7a29fea4964cb58287f85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8275bd18f7c72d064312415b63c30855181ac16c25c885e03b50c182f2508191 [INFO] running `Command { std: "docker" "start" "-a" "8275bd18f7c72d064312415b63c30855181ac16c25c885e03b50c182f2508191", kill_on_drop: false }` [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: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/particle.rs:266:26 [INFO] [stderr] | [INFO] [stderr] 266 | constraints: Vec>, [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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] [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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] [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Accessory` [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] [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Accessory` [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] [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Accessory` [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] [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: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ragdoll.rs:18:26 [INFO] [stderr] | [INFO] [stderr] 18 | constraints: Vec>, [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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] [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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] [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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] [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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] [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: 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] [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] 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] [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] 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] 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] 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] 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] 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] 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] 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] 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] warning: `lean` (example "foo") generated 12 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lean-9848cc52f80b775c) [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" "8275bd18f7c72d064312415b63c30855181ac16c25c885e03b50c182f2508191", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8275bd18f7c72d064312415b63c30855181ac16c25c885e03b50c182f2508191", kill_on_drop: false }` [INFO] [stdout] 8275bd18f7c72d064312415b63c30855181ac16c25c885e03b50c182f2508191