[INFO] cloning repository https://github.com/rsaarelm/phage [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rsaarelm/phage" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frsaarelm%2Fphage", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frsaarelm%2Fphage'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c14c618a6679ade99bcd48288a7fc6abd156380 [INFO] checking rsaarelm/phage against master#f1ce0e6a00593493a12e0e3662119786c761f375 for pr-92413 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frsaarelm%2Fphage" "/workspace/builds/worker-89/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-89/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rsaarelm/phage on toolchain f1ce0e6a00593493a12e0e3662119786c761f375 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-89/source/.cargo/config [INFO] started tweaking git repo https://github.com/rsaarelm/phage [INFO] finished tweaking git repo https://github.com/rsaarelm/phage [INFO] tweaked toml for git repo https://github.com/rsaarelm/phage written to /workspace/builds/worker-89/source/Cargo.toml [INFO] crate git repo https://github.com/rsaarelm/phage already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "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 nalgebra v0.2.23 [INFO] [stderr] Downloaded png v0.9.0 [INFO] [stderr] Downloaded image v0.15.0 [INFO] [stderr] Downloaded deflate v0.7.16 [INFO] [stderr] Downloaded glium v0.15.0 [INFO] [stderr] Downloaded itoa v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d9156a15e66120b0e5fdd5da38b19658c40102edd4965bccd3bdaf8d85c3de2 [INFO] running `Command { std: "docker" "start" "-a" "5d9156a15e66120b0e5fdd5da38b19658c40102edd4965bccd3bdaf8d85c3de2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d9156a15e66120b0e5fdd5da38b19658c40102edd4965bccd3bdaf8d85c3de2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d9156a15e66120b0e5fdd5da38b19658c40102edd4965bccd3bdaf8d85c3de2", kill_on_drop: false }` [INFO] [stdout] 5d9156a15e66120b0e5fdd5da38b19658c40102edd4965bccd3bdaf8d85c3de2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1d61a4b497c5e8ef74c2321b582b0b380dedc0e950dfaab4f13325563f04d7d [INFO] running `Command { std: "docker" "start" "-a" "d1d61a4b497c5e8ef74c2321b582b0b380dedc0e950dfaab4f13325563f04d7d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking libc v0.2.29 [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling itoa v0.3.2 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Checking either v1.1.0 [INFO] [stderr] Compiling gcc v0.3.53 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling rayon-core v1.2.1 [INFO] [stderr] Checking scopeguard v0.3.2 [INFO] [stderr] Checking crossbeam v0.2.10 [INFO] [stderr] Checking futures v0.1.15 [INFO] [stderr] Checking byteorder v1.1.0 [INFO] [stderr] Checking adler32 v1.0.2 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Checking rustc-demangle v0.1.5 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking inflate v0.2.0 [INFO] [stderr] Checking color_quant v1.0.0 [INFO] [stderr] Checking scoped_threadpool v0.1.7 [INFO] [stderr] Checking smallvec v0.1.8 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Compiling calx_macros v0.2.0 (/opt/rustwide/workdir/calx/calx_macros) [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Checking rand v0.3.16 [INFO] [stderr] Checking num_cpus v1.6.2 [INFO] [stderr] Checking shared_library v0.1.7 [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Checking deflate v0.7.16 [INFO] [stderr] Compiling x11-dl v2.15.0 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking coco v0.1.1 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling backtrace-sys v0.1.12 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Checking tempfile v2.1.6 [INFO] [stderr] Checking num-complex v0.1.40 [INFO] [stderr] Checking calx_ecs v0.2.0 (/opt/rustwide/workdir/calx/calx_ecs) [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> calx/calx_ecs/src/lib.rs:15:68 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Copy, Clone, PartialEq, Eq, Hash, PartialOrd, Ord, Debug, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> calx/calx_ecs/src/lib.rs:15:84 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Copy, Clone, PartialEq, Eq, Hash, PartialOrd, Ord, Debug, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking num-bigint v0.1.40 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking rayon v0.8.2 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Checking png v0.9.0 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Checking memmap v0.2.3 [INFO] [stderr] Checking num-rational v0.1.39 [INFO] [stderr] Checking num v0.1.40 [INFO] [stderr] Checking jpeg-decoder v0.1.13 [INFO] [stderr] Checking nalgebra v0.2.23 [INFO] [stderr] Compiling glutin v0.6.2 [INFO] [stderr] Compiling glium v0.15.0 [INFO] [stderr] Checking image v0.15.0 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.5.11 [INFO] [stderr] Checking wayland-kbd v0.3.6 [INFO] [stderr] Checking wayland-window v0.2.3 [INFO] [stderr] Checking calx v0.2.0 (/opt/rustwide/workdir/calx) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> calx/src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[macro_use] extern crate calx_ecs; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> calx/src/geom.rs:9:68 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Copy, Debug, PartialEq, PartialOrd, Clone, Default, Hash, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> calx/src/geom.rs:9:84 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Copy, Debug, PartialEq, PartialOrd, Clone, Default, Hash, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> calx/src/geom.rs:85:68 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(Copy, Debug, PartialEq, PartialOrd, Clone, Default, Hash, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> calx/src/geom.rs:85:84 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(Copy, Debug, PartialEq, PartialOrd, Clone, Default, Hash, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> calx/src/geom.rs:161:68 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(Copy, Debug, PartialEq, PartialOrd, Clone, Default, Hash, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> calx/src/geom.rs:161:84 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(Copy, Debug, PartialEq, PartialOrd, Clone, Default, Hash, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> calx/src/hex.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Copy, Eq, PartialEq, Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> calx/src/hex.rs:28:61 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Copy, Eq, PartialEq, Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> calx/src/rgb.rs:26:53 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Copy, Clone, PartialEq, PartialOrd, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> calx/src/rgb.rs:26:69 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Copy, Clone, PartialEq, PartialOrd, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> calx/src/rgb.rs:152:53 [INFO] [stdout] | [INFO] [stdout] 152 | #[derive(Copy, Clone, PartialEq, PartialOrd, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> calx/src/rgb.rs:152:69 [INFO] [stdout] | [INFO] [stdout] 152 | #[derive(Copy, Clone, PartialEq, PartialOrd, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> calx/src/rng.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | let blob: Vec<u8> = try!(Decodable::decode(d)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `time` is imported redundantly [INFO] [stdout] --> calx/src/backend/canvas_util.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | use time; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: calx/src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate time; [INFO] [stdout] | ------------------ the item `time` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `image` is imported redundantly [INFO] [stdout] --> calx/src/backend/canvas_util.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | use image; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: calx/src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern crate image; [INFO] [stdout] | ------------------- the item `image` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::LinearBlendingFactor::*` [INFO] [stdout] --> calx/src/backend/renderer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use glium::LinearBlendingFactor::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> calx/src/vorud.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | ret += try!(c(s[4])) * n; n *= CS.len() as u16; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> calx/src/vorud.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | ret += try!(v(s[3])) * n; n *= VS.len() as u16; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> calx/src/vorud.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | ret += try!(c(s[2])) * n; n *= CS.len() as u16; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> calx/src/vorud.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | ret += try!(v(s[1])) * n; n *= VS.len() as u16; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> calx/src/vorud.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | ret += try!(c(s[0])) * n; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> calx/src/vorud.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | try!(c(ch[i])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> calx/src/vorud.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | try!(v(ch[i + 1])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> calx/src/vorud.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | try!(c(ch[i + 2])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> calx/src/vorud.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | try!(v(ch[i + 3])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> calx/src/vorud.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | try!(c(ch[i + 4])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> calx/src/vorud.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | let x = try!(durov_chunk(chunk)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> calx/src/vorud.rs:163:26 [INFO] [stdout] | [INFO] [stdout] 163 | let v: Vec<u8> = try!(FromVorud::from_vorud(v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> calx/src/lib.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | (1.0 - 1.0 / (1.0 + 10.0.powf(db / 10.0))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 86 - (1.0 - 1.0 / (1.0 + 10.0.powf(db / 10.0))) [INFO] [stdout] 86 + 1.0 - 1.0 / (1.0 + 10.0.powf(db / 10.0)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> calx/src/rgb.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ascii::{AsciiExt}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> calx/src/timing.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | thread::sleep_ms((t * 1e3) as u32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> calx/src/backend/canvas.rs:450:33 [INFO] [stdout] | [INFO] [stdout] 450 | thread::sleep_ms((remaining_s * 1e3) as u32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Float` [INFO] [stdout] --> calx/src/atlas.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use num::{Float, Zero}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Float` [INFO] [stdout] --> calx/src/hex.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use num::{Integer, Float}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsciiExt` [INFO] [stdout] --> calx/src/rgb.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ascii::{AsciiExt}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Float` [INFO] [stdout] --> calx/src/rgb.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use num::{Float, Num}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Float` [INFO] [stdout] --> calx/src/backend/renderer.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use num::{Float}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> calx/src/atlas.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut offsets; [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] --> calx/src/backend/canvas_util.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let mut pos; [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] --> calx/src/backend/canvas_util.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let mut tex; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> calx/src/backend/sprite_cache.rs:51:48 [INFO] [stdout] | [INFO] [stdout] 51 | assert!(self.cache.get(idx).is_none(), format!("Adding sprite {:?} twice", key)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html> [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 51 - assert!(self.cache.get(idx).is_none(), format!("Adding sprite {:?} twice", key)); [INFO] [stdout] 51 + assert!(self.cache.get(idx).is_none(), "Adding sprite {:?} twice", key); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> calx/src/backend/canvas.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | target.finish(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking world v0.0.1 (/opt/rustwide/workdir/world) [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/lib.rs:63:45 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Copy, Eq, PartialEq, Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/lib.rs:63:61 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Copy, Eq, PartialEq, Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/lib.rs:80:45 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Copy, Eq, PartialEq, Debug, Clone, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/lib.rs:80:61 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Copy, Eq, PartialEq, Debug, Clone, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/lib.rs:116:30 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Copy, Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/lib.rs:116:46 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Copy, Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `msg` [INFO] [stdout] --> world/src/lib.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | macro_rules! msg( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/action.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Copy, Eq, PartialEq, Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/action.rs:26:61 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Copy, Eq, PartialEq, Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/components.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/components.rs:12:46 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/components.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/components.rs:16:40 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/components.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/components.rs:39:40 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/components.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Copy, Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/components.rs:56:46 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Copy, Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/components.rs:99:45 [INFO] [stdout] | [INFO] [stdout] 99 | #[derive(Copy, Clone, Eq, PartialEq, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/components.rs:99:61 [INFO] [stdout] | [INFO] [stdout] 99 | #[derive(Copy, Clone, Eq, PartialEq, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/components.rs:112:30 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(Copy, Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/components.rs:112:46 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(Copy, Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/components.rs:119:45 [INFO] [stdout] | [INFO] [stdout] 119 | #[derive(Copy, Clone, Eq, PartialEq, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/components.rs:119:61 [INFO] [stdout] | [INFO] [stdout] 119 | #[derive(Copy, Clone, Eq, PartialEq, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/components.rs:133:45 [INFO] [stdout] | [INFO] [stdout] 133 | #[derive(Copy, Clone, Eq, PartialEq, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/components.rs:133:61 [INFO] [stdout] | [INFO] [stdout] 133 | #[derive(Copy, Clone, Eq, PartialEq, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/components.rs:143:39 [INFO] [stdout] | [INFO] [stdout] 143 | #[derive(Copy, Clone, Debug, Default, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/components.rs:143:55 [INFO] [stdout] | [INFO] [stdout] 143 | #[derive(Copy, Clone, Debug, Default, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/components.rs:155:24 [INFO] [stdout] | [INFO] [stdout] 155 | #[derive(Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/components.rs:155:40 [INFO] [stdout] | [INFO] [stdout] 155 | #[derive(Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/components.rs:169:24 [INFO] [stdout] | [INFO] [stdout] 169 | #[derive(Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/components.rs:169:40 [INFO] [stdout] | [INFO] [stdout] 169 | #[derive(Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> world/src/components.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `location::Location` [INFO] [stdout] --> world/src/components.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use location::Location; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/item.rs:2:62 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Copy, Eq, PartialEq, Clone, Debug, PartialOrd, Ord, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/item.rs:2:78 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Copy, Eq, PartialEq, Clone, Debug, PartialOrd, Ord, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/item.rs:49:45 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Copy, Eq, PartialEq, Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/item.rs:49:61 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Copy, Eq, PartialEq, Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/ability.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/ability.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/area.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Copy, Clone, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/area.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Copy, Clone, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> world/src/area.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | let seed: AreaSeed = try!(Decodable::decode(d)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/ecs.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/ecs.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/ecs.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | / components! { [INFO] [stdout] 188 | | [components::IsPrototype, prototypes, prototypes_mut], [INFO] [stdout] 189 | | [components::Desc, descs, descs_mut], [INFO] [stdout] 190 | | [components::MapMemory, map_memories, map_memories_mut], [INFO] [stdout] ... | [INFO] [stdout] 197 | | [components::Colonist, colonists, colonists_mut], [INFO] [stdout] 198 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `components` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/ecs.rs:126:26 [INFO] [stdout] | [INFO] [stdout] 126 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | / components! { [INFO] [stdout] 188 | | [components::IsPrototype, prototypes, prototypes_mut], [INFO] [stdout] 189 | | [components::Desc, descs, descs_mut], [INFO] [stdout] 190 | | [components::MapMemory, map_memories, map_memories_mut], [INFO] [stdout] ... | [INFO] [stdout] 197 | | [components::Colonist, colonists, colonists_mut], [INFO] [stdout] 198 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `components` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/entity.rs:17:68 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Copy, PartialEq, Eq, Clone, Hash, PartialOrd, Ord, Debug, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/entity.rs:17:84 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Copy, PartialEq, Eq, Clone, Hash, PartialOrd, Ord, Debug, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/flags.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/flags.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/location.rs:12:68 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Eq, PartialEq, Clone, Hash, PartialOrd, Ord, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/location.rs:12:84 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Eq, PartialEq, Clone, Hash, PartialOrd, Ord, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/location_set.rs:6:39 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Eq, PartialEq, Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/location_set.rs:6:55 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Eq, PartialEq, Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/spatial.rs:11:62 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Copy, Eq, PartialEq, Clone, PartialOrd, Ord, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/spatial.rs:11:78 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Copy, Eq, PartialEq, Clone, PartialOrd, Ord, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/spatial.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | #[derive(Clone, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/spatial.rs:197:33 [INFO] [stdout] | [INFO] [stdout] 197 | #[derive(Clone, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> world/src/spatial.rs:202:27 [INFO] [stdout] | [INFO] [stdout] 202 | Ok(Spatial::slurp(try!(Decodable::decode(d)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/spawn.rs:15:45 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Copy, Clone, Eq, PartialEq, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/spawn.rs:15:61 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Copy, Clone, Eq, PartialEq, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/stats.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Copy, Clone, Debug, Default, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/stats.rs:8:55 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Copy, Clone, Debug, Default, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/stats.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Copy, Eq, PartialEq, Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/stats.rs:65:61 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Copy, Eq, PartialEq, Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/world.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> world/src/world.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spec` [INFO] [stdout] --> world/src/mapgen.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | rng: &mut R, spec: &::AreaSpec, mut set_terrain: F, mut set_biome: G) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_spec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> world/src/geomorph.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let mut r1; [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] --> world/src/geomorph.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let mut r2; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> world/src/spawn.rs:58:36 [INFO] [stdout] | [INFO] [stdout] 58 | assert!(!items.is_empty(), format!("Couldn't find spawns for {:?}", self)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html> [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 58 - assert!(!items.is_empty(), format!("Couldn't find spawns for {:?}", self)); [INFO] [stdout] 58 + assert!(!items.is_empty(), "Couldn't find spawns for {:?}", self); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 71 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking phage v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Dir6`, `clamp` [INFO] [stdout] --> src/sprite.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use calx::{color, V2, Dir6, clamp}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sprite.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | sprites: Vec<Box<WorldSprite + 'static>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - sprites: Vec<Box<WorldSprite + 'static>>, [INFO] [stdout] 23 + sprites: Vec<Box<dyn WorldSprite + 'static>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sprite.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn add(&mut self, spr: Box<WorldSprite + 'static>) { [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - pub fn add(&mut self, spr: Box<WorldSprite + 'static>) { [INFO] [stdout] 33 + pub fn add(&mut self, spr: Box<dyn WorldSprite + 'static>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | let mut state: Box<State> = Box::new(TitleState::new()); [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 - let mut state: Box<State> = Box::new(TitleState::new()); [INFO] [stdout] 58 + let mut state: Box<dyn State> = Box::new(TitleState::new()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImage` [INFO] [stdout] --> src/tilecache.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use image::{SubImage, GenericImage}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location_name` [INFO] [stdout] --> src/gamestate.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let location_name = camera.name(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Dir6`, `clamp` [INFO] [stdout] --> src/sprite.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use calx::{color, V2, Dir6, clamp}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Inventory` [INFO] [stdout] --> src/gamestate.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | Inventory, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear_captions` [INFO] [stdout] --> src/msg_queue.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn clear_captions(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sprite.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | sprites: Vec<Box<WorldSprite + 'static>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - sprites: Vec<Box<WorldSprite + 'static>>, [INFO] [stdout] 23 + sprites: Vec<Box<dyn WorldSprite + 'static>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sprite.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn add(&mut self, spr: Box<WorldSprite + 'static>) { [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - pub fn add(&mut self, spr: Box<WorldSprite + 'static>) { [INFO] [stdout] 33 + pub fn add(&mut self, spr: Box<dyn WorldSprite + 'static>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | let mut state: Box<State> = Box::new(TitleState::new()); [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 - let mut state: Box<State> = Box::new(TitleState::new()); [INFO] [stdout] 58 + let mut state: Box<dyn State> = Box::new(TitleState::new()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImage` [INFO] [stdout] --> src/tilecache.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use image::{SubImage, GenericImage}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location_name` [INFO] [stdout] --> src/gamestate.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let location_name = camera.name(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Inventory` [INFO] [stdout] --> src/gamestate.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | Inventory, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear_captions` [INFO] [stdout] --> src/msg_queue.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn clear_captions(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 28s [INFO] running `Command { std: "docker" "inspect" "d1d61a4b497c5e8ef74c2321b582b0b380dedc0e950dfaab4f13325563f04d7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1d61a4b497c5e8ef74c2321b582b0b380dedc0e950dfaab4f13325563f04d7d", kill_on_drop: false }` [INFO] [stdout] d1d61a4b497c5e8ef74c2321b582b0b380dedc0e950dfaab4f13325563f04d7d