[INFO] cloning repository https://github.com/sinesc/spacegame [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sinesc/spacegame" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsinesc%2Fspacegame", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsinesc%2Fspacegame'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ceadb3ba604624d9873c0facaef2aed50c9282e3 [INFO] testing sinesc/spacegame against master#ff2c56344c764af598ad33027e9c7a48881808ef for pr-118825 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsinesc%2Fspacegame" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sinesc/spacegame on toolchain ff2c56344c764af598ad33027e9c7a48881808ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sinesc/spacegame [INFO] finished tweaking git repo https://github.com/sinesc/spacegame [INFO] tweaked toml for git repo https://github.com/sinesc/spacegame written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sinesc/spacegame 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" "+ff2c56344c764af598ad33027e9c7a48881808ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cpal v0.8.1 [INFO] [stderr] Downloaded shred-derive v0.5.0 [INFO] [stderr] Downloaded core-text v9.2.0 [INFO] [stderr] Downloaded palette v0.3.0 [INFO] [stderr] Downloaded specs-derive v0.2.0 [INFO] [stderr] Downloaded cmake v0.1.31 [INFO] [stderr] Downloaded shred v0.7.0 [INFO] [stderr] Downloaded shrev v1.0.1 [INFO] [stderr] Downloaded log v0.4.2 [INFO] [stderr] Downloaded serde_yaml v0.7.4 [INFO] [stderr] Downloaded serde_derive v1.0.66 [INFO] [stderr] Downloaded syn v0.14.2 [INFO] [stderr] Downloaded crossbeam v0.3.2 [INFO] [stderr] Downloaded yaml-merge-keys v0.2.1 [INFO] [stderr] Downloaded expat-sys v2.1.5 [INFO] [stderr] Downloaded servo-freetype-sys v4.0.3 [INFO] [stderr] Downloaded servo-fontconfig-sys v4.0.4 [INFO] [stderr] Downloaded rodio v0.7.0 [INFO] [stderr] Downloaded radiant-utils v0.2.2 [INFO] [stderr] Downloaded inflate v0.4.2 [INFO] [stderr] Downloaded coreaudio-sys v0.2.1 [INFO] [stderr] Downloaded avec v0.1.0 [INFO] [stderr] Downloaded font-loader v0.6.0 [INFO] [stderr] Downloaded hibitset v0.5.0 [INFO] [stderr] Downloaded specs v0.11.2 [INFO] [stderr] Downloaded radiant-rs v0.12.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb27782b13ad445155bd88187c40b6b1fd6cc48dc5b945e656b29076520217ab [INFO] running `Command { std: "docker" "start" "-a" "eb27782b13ad445155bd88187c40b6b1fd6cc48dc5b945e656b29076520217ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb27782b13ad445155bd88187c40b6b1fd6cc48dc5b945e656b29076520217ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb27782b13ad445155bd88187c40b6b1fd6cc48dc5b945e656b29076520217ab", kill_on_drop: false }` [INFO] [stdout] eb27782b13ad445155bd88187c40b6b1fd6cc48dc5b945e656b29076520217ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5837f63636e5a1603a6f4ad5388c36614fe42a85729fe709deb77319439495e6 [INFO] running `Command { std: "docker" "start" "-a" "5837f63636e5a1603a6f4ad5388c36614fe42a85729fe709deb77319439495e6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling cc v1.0.17 [INFO] [stderr] Compiling lazy_static v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.11 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Compiling cfg-if v0.1.3 [INFO] [stderr] Compiling byteorder v1.2.3 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling log v0.4.2 [INFO] [stderr] Compiling token_store v0.1.2 [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Compiling smallvec v0.6.1 [INFO] [stderr] Compiling proc-macro2 v0.4.6 [INFO] [stderr] Compiling phf_shared v0.7.22 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling cmake v0.1.31 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling serde v1.0.66 [INFO] [stderr] Compiling rustc-demangle v0.1.8 [INFO] [stderr] Compiling adler32 v1.0.2 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling x11-dl v2.18.0 [INFO] [stderr] Compiling wayland-scanner v0.12.5 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.4 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling syn v0.14.2 [INFO] [stderr] Compiling shared_library v0.1.8 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling servo-freetype-sys v4.0.3 [INFO] [stderr] Compiling expat-sys v2.1.5 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Compiling tempfile v3.0.2 [INFO] [stderr] Compiling wayland-client v0.12.5 [INFO] [stderr] Compiling wayland-protocols v0.12.5 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling phf_generator v0.7.22 [INFO] [stderr] Compiling phf_codegen v0.7.22 [INFO] [stderr] Compiling glutin v0.14.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling rayon v1.0.1 [INFO] [stderr] Compiling glium v0.21.0 [INFO] [stderr] Compiling palette v0.3.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.12.5 [INFO] [stderr] Compiling deflate v0.7.18 [INFO] [stderr] Compiling inflate v0.4.2 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling regex v1.0.0 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling stable_deref_trait v1.0.0 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Compiling gif v0.10.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.14 [INFO] [stderr] Compiling wayland-kbd v0.13.1 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling regex-syntax v0.6.0 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling backtrace v0.3.8 [INFO] [stderr] Compiling ordered-float v0.5.0 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling phf v0.7.22 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling servo-fontconfig v0.4.0 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling stb_truetype v0.2.2 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling wayland-window v0.13.3 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling winit v0.12.0 [INFO] [stderr] Compiling image v0.19.0 [INFO] [stderr] Compiling rusttype v0.5.2 [INFO] [stderr] Compiling parking_lot v0.5.5 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling font-loader v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.66 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling yaml-rust v0.4.0 [INFO] [stderr] Compiling ogg v0.4.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling atom v0.3.5 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling avec v0.1.0 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling shred-derive v0.5.0 [INFO] [stderr] Compiling shred v0.7.0 [INFO] [stderr] Compiling derivative v1.0.0 [INFO] [stderr] Compiling serde_yaml v0.7.4 [INFO] [stderr] Compiling hibitset v0.5.0 [INFO] [stderr] Compiling lewton v0.5.2 [INFO] [stderr] Compiling cgmath v0.14.1 [INFO] [stderr] Compiling cpal v0.8.1 [INFO] [stderr] Compiling syn v0.12.15 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling shrev v1.0.1 [INFO] [stderr] Compiling itertools v0.7.8 [INFO] [stderr] Compiling claxon v0.3.1 [INFO] [stderr] Compiling crossbeam v0.3.2 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling tuple_utils v0.2.0 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling specs v0.11.2 [INFO] [stderr] Compiling rodio v0.7.0 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling specs-derive v0.2.0 [INFO] [stderr] Compiling yaml-merge-keys v0.2.1 [INFO] [stderr] Compiling radiant-rs v0.12.6 [INFO] [stderr] Compiling radiant-utils v0.2.2 [INFO] [stderr] Compiling spacegame v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `cmp`, `collections`, `process` [INFO] [stdout] --> src/prelude.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | pub use std::{fs, cmp, path, collections, io, process, fmt, error}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `radiant_utils::maths as rm` [INFO] [stdout] --> src/prelude.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use radiant_utils::maths as rm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `radiant_utils::util as ru` [INFO] [stdout] --> src/prelude.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use radiant_utils::util as ru; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/def/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | static ref MERGE_KEY: serde_yaml::Value = serde_yaml::Value::String("<<<".to_string()); [INFO] [stdout] 23 | | } [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/def/mod.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | cause: 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | cause: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmd.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | pub type Handler = Box, &[Param])>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | pub type Handler = Box, &[Param])>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/def/mod.rs:47:38 [INFO] [stdout] | [INFO] [stdout] 47 | fn cause(self: &Self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | fn cause(self: &Self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cmd.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | write!(f, "{} {}", self.description(), match self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/level/system/inertia.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | let mut av_current = (target_angle - old_angle).to_radians(); [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: variable does not need to be mutable [INFO] [stdout] --> src/level/system/inertia.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | let mut av_current = (target_angle - old_angle).to_radians(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/level/system/compute.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | let mut a1 = Angle::from(target_pos - spatial.position); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/level/mod.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | let mut layer = Layer::new((info.scale * 1920., info.scale * 1080.)).arc(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sprite` is never read [INFO] [stdout] --> src/level/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Infrastructure { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | sprite : Repository>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `spawn_lazy` is never used [INFO] [stdout] --> src/level/mod.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl WorldState { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 36 | // TODO: not really nice to have these on worldstate. they are only here because they require "age", which is available on worldstate [INFO] [stdout] 37 | pub fn spawn_lazy(self: &Self, lazy: &LazyUpdate, entities: &EntitiesRes, name: &str, position: Option, angle: Option, f... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [optimized + debuginfo] target(s) in 1m 06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.10.8, syn v0.12.15, syn v0.14.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "5837f63636e5a1603a6f4ad5388c36614fe42a85729fe709deb77319439495e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5837f63636e5a1603a6f4ad5388c36614fe42a85729fe709deb77319439495e6", kill_on_drop: false }` [INFO] [stdout] 5837f63636e5a1603a6f4ad5388c36614fe42a85729fe709deb77319439495e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ca255c085acac943c82923f223b62e5e0849feee7f78e5a4e6af7bb28ae7bb9 [INFO] running `Command { std: "docker" "start" "-a" "6ca255c085acac943c82923f223b62e5e0849feee7f78e5a4e6af7bb28ae7bb9", kill_on_drop: false }` [INFO] [stderr] Compiling spacegame v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `cmp`, `collections`, `process` [INFO] [stdout] --> src/prelude.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | pub use std::{fs, cmp, path, collections, io, process, fmt, error}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `radiant_utils::maths as rm` [INFO] [stdout] --> src/prelude.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use radiant_utils::maths as rm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `radiant_utils::util as ru` [INFO] [stdout] --> src/prelude.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use radiant_utils::util as ru; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/def/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | static ref MERGE_KEY: serde_yaml::Value = serde_yaml::Value::String("<<<".to_string()); [INFO] [stdout] 23 | | } [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/def/mod.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | cause: 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | cause: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cmd.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | pub type Handler = Box, &[Param])>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | pub type Handler = Box, &[Param])>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/def/mod.rs:47:38 [INFO] [stdout] | [INFO] [stdout] 47 | fn cause(self: &Self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | fn cause(self: &Self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cmd.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | write!(f, "{} {}", self.description(), match self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/level/system/inertia.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | let mut av_current = (target_angle - old_angle).to_radians(); [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: variable does not need to be mutable [INFO] [stdout] --> src/level/system/inertia.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | let mut av_current = (target_angle - old_angle).to_radians(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/level/system/compute.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | let mut a1 = Angle::from(target_pos - spatial.position); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/level/mod.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | let mut layer = Layer::new((info.scale * 1920., info.scale * 1080.)).arc(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sprite` is never read [INFO] [stdout] --> src/level/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Infrastructure { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | sprite : Repository>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `spawn_lazy` is never used [INFO] [stdout] --> src/level/mod.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl WorldState { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 36 | // TODO: not really nice to have these on worldstate. they are only here because they require "age", which is available on worldstate [INFO] [stdout] 37 | pub fn spawn_lazy(self: &Self, lazy: &LazyUpdate, entities: &EntitiesRes, name: &str, position: Option, angle: Option, f... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [optimized + debuginfo] target(s) in 1.87s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.10.8, syn v0.12.15, syn v0.14.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6ca255c085acac943c82923f223b62e5e0849feee7f78e5a4e6af7bb28ae7bb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ca255c085acac943c82923f223b62e5e0849feee7f78e5a4e6af7bb28ae7bb9", kill_on_drop: false }` [INFO] [stdout] 6ca255c085acac943c82923f223b62e5e0849feee7f78e5a4e6af7bb28ae7bb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c5d96daddc2bb613e34b2632cbd72969c470ed31823189a4c0fa8504291fe6ca [INFO] running `Command { std: "docker" "start" "-a" "c5d96daddc2bb613e34b2632cbd72969c470ed31823189a4c0fa8504291fe6ca", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `cmp`, `collections`, `process` [INFO] [stderr] --> src/prelude.rs:1:19 [INFO] [stderr] | [INFO] [stderr] 1 | pub use std::{fs, cmp, path, collections, io, process, fmt, error}; [INFO] [stderr] | ^^^ ^^^^^^^^^^^ ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `radiant_utils::maths as rm` [INFO] [stderr] --> src/prelude.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub use radiant_utils::maths as rm; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `radiant_utils::util as ru` [INFO] [stderr] --> src/prelude.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | pub use radiant_utils::util as ru; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/def/mod.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | static ref MERGE_KEY: serde_yaml::Value = serde_yaml::Value::String("<<<".to_string()); [INFO] [stderr] 23 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/def/mod.rs:28:23 [INFO] [stderr] | [INFO] [stderr] 28 | cause: Option>, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 28 | cause: Option>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cmd.rs:55:27 [INFO] [stderr] | [INFO] [stderr] 55 | pub type Handler = Box, &[Param])>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 55 | pub type Handler = Box, &[Param])>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/def/mod.rs:47:38 [INFO] [stderr] | [INFO] [stderr] 47 | fn cause(self: &Self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 47 | fn cause(self: &Self) -> Option<&dyn error::Error> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/cmd.rs:37:33 [INFO] [stderr] | [INFO] [stderr] 37 | write!(f, "{} {}", self.description(), match self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/level/system/inertia.rs:48:21 [INFO] [stderr] | [INFO] [stderr] 48 | let mut av_current = (target_angle - old_angle).to_radians(); [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: variable does not need to be mutable [INFO] [stderr] --> src/level/system/inertia.rs:94:21 [INFO] [stderr] | [INFO] [stderr] 94 | let mut av_current = (target_angle - old_angle).to_radians(); [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/level/system/compute.rs:65:17 [INFO] [stderr] | [INFO] [stderr] 65 | let mut a1 = Angle::from(target_pos - spatial.position); [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/level/mod.rs:104:17 [INFO] [stderr] | [INFO] [stderr] 104 | let mut layer = Layer::new((info.scale * 1920., info.scale * 1080.)).arc(); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: field `sprite` is never read [INFO] [stderr] --> src/level/mod.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct Infrastructure { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 19 | sprite : Repository>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `spawn_lazy` is never used [INFO] [stderr] --> src/level/mod.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 35 | impl WorldState { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] 36 | // TODO: not really nice to have these on worldstate. they are only here because they require "age", which is available on worldstate [INFO] [stderr] 37 | pub fn spawn_lazy(self: &Self, lazy: &LazyUpdate, entities: &EntitiesRes, name: &str, position: Option, angle: Option, f... [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `spacegame` (bin "spacegame" test) generated 14 warnings (run `cargo fix --bin "spacegame" --tests` to apply 10 suggestions) [INFO] [stderr] Finished test [optimized + debuginfo] target(s) in 0.12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.10.8, syn v0.12.15, syn v0.14.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/spacegame-50662d6e844cc09f) [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" "c5d96daddc2bb613e34b2632cbd72969c470ed31823189a4c0fa8504291fe6ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5d96daddc2bb613e34b2632cbd72969c470ed31823189a4c0fa8504291fe6ca", kill_on_drop: false }` [INFO] [stdout] c5d96daddc2bb613e34b2632cbd72969c470ed31823189a4c0fa8504291fe6ca