[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] checking BonsaiDen/ik-prototype/a29734dea490e963b844b474b312139955611c7e against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBonsaiDen%2Fik-prototype" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BonsaiDen/ik-prototype on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-7-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_syscall v0.1.32 [INFO] [stderr] Downloaded user32-sys v0.1.2 [INFO] [stderr] Downloaded num-iter v0.1.34 [INFO] [stderr] Downloaded pkg-config v0.3.9 [INFO] [stderr] Downloaded downcast-rs v1.0.0 [INFO] [stderr] Downloaded sdl2-sys v0.30.0 [INFO] [stderr] Downloaded line_drawing v0.6.0 [INFO] [stderr] Downloaded gcc v0.3.54 [INFO] [stderr] Downloaded rand v0.3.18 [INFO] [stderr] Downloaded x11-dl v2.14.0 [INFO] [stderr] Downloaded minifb v0.10.3 [INFO] [stderr] Downloaded sdl2 v0.30.0 [INFO] [stderr] Downloaded kernel32-sys v0.1.4 [INFO] [stderr] Downloaded num-integer v0.1.35 [INFO] [stderr] Downloaded num-traits v0.1.41 [INFO] [stderr] Downloaded num v0.1.41 [INFO] [stderr] Downloaded fuchsia-zircon v0.2.1 [INFO] [stderr] Downloaded time v0.1.38 [INFO] [stderr] Downloaded gdi32-sys v0.1.1 [INFO] [stderr] Downloaded libc v0.2.34 [INFO] [stderr] Downloaded fuchsia-zircon-sys v0.2.0 [INFO] [stderr] Downloaded orbclient v0.3.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35cd53f0cfc711f480248510aa931e893281395aac4cf9a3fa3136f861647697 [INFO] running `Command { std: "docker" "start" "-a" "35cd53f0cfc711f480248510aa931e893281395aac4cf9a3fa3136f861647697", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35cd53f0cfc711f480248510aa931e893281395aac4cf9a3fa3136f861647697", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35cd53f0cfc711f480248510aa931e893281395aac4cf9a3fa3136f861647697", kill_on_drop: false }` [INFO] [stdout] 35cd53f0cfc711f480248510aa931e893281395aac4cf9a3fa3136f861647697 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdf514c85f02de1a91d83472f94bb375063244c5e407123e1e73408bcc3a250f [INFO] running `Command { std: "docker" "start" "-a" "cdf514c85f02de1a91d83472f94bb375063244c5e407123e1e73408bcc3a250f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Checking libc v0.2.34 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking num-traits v0.1.41 [INFO] [stderr] Checking downcast-rs v1.0.0 [INFO] [stderr] Compiling x11-dl v2.14.0 [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Checking line_drawing v0.6.0 [INFO] [stderr] Compiling minifb v0.10.3 [INFO] [stderr] Checking 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] = 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] = note: `#[warn(anonymous_parameters)]` on by default [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] = 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] = note: `#[warn(anonymous_parameters)]` on by default [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 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: 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: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: 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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | constraints: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 240 | let mut constraints: Vec> = self.bones.iter().filter_map(|bone| { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: fields `min_angle` and `max_angle` are never read [INFO] [stdout] --> src/skeleton.rs:668:5 [INFO] [stdout] | [INFO] [stdout] 655 | pub struct Bone { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 668 | min_angle: Option, [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] = note: `#[warn(dead_code)]` on by default [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: fields `min_angle` and `max_angle` are never read [INFO] [stdout] --> src/skeleton.rs:668:5 [INFO] [stdout] | [INFO] [stdout] 655 | pub struct Bone { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 668 | min_angle: Option, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 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 `Once::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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> examples/foo.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Vec2 { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 8 | x: f32, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> examples/foo.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Bone { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | tmp_update_angle: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | current_angle: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 46 | user_angle: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 47 | [INFO] [stdout] 48 | length: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 49 | start: Vec2, // parent.end [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | end: Vec2, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | world_position: Vec2, [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] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.27s [INFO] running `Command { std: "docker" "inspect" "cdf514c85f02de1a91d83472f94bb375063244c5e407123e1e73408bcc3a250f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdf514c85f02de1a91d83472f94bb375063244c5e407123e1e73408bcc3a250f", kill_on_drop: false }` [INFO] [stdout] cdf514c85f02de1a91d83472f94bb375063244c5e407123e1e73408bcc3a250f