[INFO] cloning repository https://github.com/BonsaiDen/ik-prototype [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BonsaiDen/ik-prototype" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBonsaiDen%2Fik-prototype", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBonsaiDen%2Fik-prototype'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a29734dea490e963b844b474b312139955611c7e [INFO] testing BonsaiDen/ik-prototype against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBonsaiDen%2Fik-prototype" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BonsaiDen/ik-prototype on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BonsaiDen/ik-prototype [INFO] finished tweaking git repo https://github.com/BonsaiDen/ik-prototype [INFO] tweaked toml for git repo https://github.com/BonsaiDen/ik-prototype written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/BonsaiDen/ik-prototype already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num v0.1.41 [INFO] [stderr] Downloaded fuchsia-zircon v0.2.1 [INFO] [stderr] Downloaded fuchsia-zircon-sys v0.2.0 [INFO] [stderr] Downloaded time v0.1.38 [INFO] [stderr] Downloaded rand v0.3.18 [INFO] [stderr] Downloaded gdi32-sys v0.1.1 [INFO] [stderr] Downloaded user32-sys v0.1.2 [INFO] [stderr] Downloaded downcast-rs v1.0.0 [INFO] [stderr] Downloaded line_drawing v0.6.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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64f51229a9d63d6d5350f428c712c6875c95079af7848ea3583ffcf5b0bd95ae [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "64f51229a9d63d6d5350f428c712c6875c95079af7848ea3583ffcf5b0bd95ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64f51229a9d63d6d5350f428c712c6875c95079af7848ea3583ffcf5b0bd95ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64f51229a9d63d6d5350f428c712c6875c95079af7848ea3583ffcf5b0bd95ae", kill_on_drop: false }` [INFO] [stdout] 64f51229a9d63d6d5350f428c712c6875c95079af7848ea3583ffcf5b0bd95ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60777a59ce296b41d2cfd5fa3bce36d46a90430aa73454ef91b7617d30ef794b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "60777a59ce296b41d2cfd5fa3bce36d46a90430aa73454ef91b7617d30ef794b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.34 [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 minifb v0.10.3 [INFO] [stderr] Compiling time v0.1.38 [INFO] [stderr] Compiling line_drawing v0.6.0 [INFO] [stderr] Compiling lean v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/particle.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | fn solve(&self, &mut [Particle]) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut [Particle]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` 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/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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.63s [INFO] running `Command { std: "docker" "inspect" "60777a59ce296b41d2cfd5fa3bce36d46a90430aa73454ef91b7617d30ef794b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60777a59ce296b41d2cfd5fa3bce36d46a90430aa73454ef91b7617d30ef794b", kill_on_drop: false }` [INFO] [stdout] 60777a59ce296b41d2cfd5fa3bce36d46a90430aa73454ef91b7617d30ef794b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b96d873d42558e14499e88a77b67ed171310adf319bd73a9f4525489da223469 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b96d873d42558e14499e88a77b67ed171310adf319bd73a9f4525489da223469", kill_on_drop: false }` [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` 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/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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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] [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: 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: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> examples/foo.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> examples/foo.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | / lazy_static! { [INFO] [stdout] 155 | | static ref SKELETON: SkeletalData = SkeletalData { [INFO] [stdout] 156 | | bones: vec![ [INFO] [stdout] 157 | | ( "Root", ( "Root", 0.0, 0.0, 0.00, 0.98)), // 0 [INFO] [stdout] ... | [INFO] [stdout] 174 | | }; [INFO] [stdout] 175 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/particle.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | fn solve(&self, &mut [Particle]) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut [Particle]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` 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/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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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: 2 warnings emitted [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: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.83s [INFO] running `Command { std: "docker" "inspect" "b96d873d42558e14499e88a77b67ed171310adf319bd73a9f4525489da223469", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b96d873d42558e14499e88a77b67ed171310adf319bd73a9f4525489da223469", kill_on_drop: false }` [INFO] [stdout] b96d873d42558e14499e88a77b67ed171310adf319bd73a9f4525489da223469 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ceac18fba53220a6906ab5e70b858ae7a29b650e733ec15430263e0c035a43dc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ceac18fba53220a6906ab5e70b858ae7a29b650e733ec15430263e0c035a43dc", 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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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: `lean` (lib) generated 21 warnings (4 duplicates) [INFO] [stderr] warning: `lean` (lib test) generated 21 warnings (21 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: `lean` (example "foo") generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lean-6747d54d344ee17e) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests lean [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] 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [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" "ceac18fba53220a6906ab5e70b858ae7a29b650e733ec15430263e0c035a43dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ceac18fba53220a6906ab5e70b858ae7a29b650e733ec15430263e0c035a43dc", kill_on_drop: false }` [INFO] [stdout] ceac18fba53220a6906ab5e70b858ae7a29b650e733ec15430263e0c035a43dc