[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#4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 for pr-81174 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frsaarelm%2Fphage" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rsaarelm/phage on toolchain 4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-9/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-9/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" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26f67dba3085cc82b4858605974aa2e3a62f18c19161f63d064c7824a46fc8ac [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "26f67dba3085cc82b4858605974aa2e3a62f18c19161f63d064c7824a46fc8ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26f67dba3085cc82b4858605974aa2e3a62f18c19161f63d064c7824a46fc8ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26f67dba3085cc82b4858605974aa2e3a62f18c19161f63d064c7824a46fc8ac", kill_on_drop: false }` [INFO] [stdout] 26f67dba3085cc82b4858605974aa2e3a62f18c19161f63d064c7824a46fc8ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16404cb8d74bb022e9fd3200626b575e1f735844fb2caf40a894311c3bf3c73d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "16404cb8d74bb022e9fd3200626b575e1f735844fb2caf40a894311c3bf3c73d", kill_on_drop: false }` [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling itoa v0.3.2 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Compiling gcc v0.3.53 [INFO] [stderr] Checking crossbeam v0.2.10 [INFO] [stderr] Checking scopeguard v0.3.2 [INFO] [stderr] Checking either v1.1.0 [INFO] [stderr] Checking futures v0.1.15 [INFO] [stderr] Checking adler32 v1.0.2 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Checking color_quant v1.0.0 [INFO] [stderr] Checking smallvec v0.1.8 [INFO] [stderr] Checking scoped_threadpool v0.1.7 [INFO] [stderr] Compiling calx_macros v0.2.0 (/opt/rustwide/workdir/calx/calx_macros) [INFO] [stderr] Checking num_cpus v1.6.2 [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Compiling rand v0.3.16 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Compiling rayon-core v1.2.1 [INFO] [stderr] Compiling x11-dl v2.15.0 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Checking shared_library v0.1.7 [INFO] [stderr] Checking deflate v0.7.16 [INFO] [stderr] Checking tempfile v2.1.6 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Checking coco v0.1.1 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking memmap v0.2.3 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [INFO] [stderr] Compiling backtrace-sys v0.1.12 [INFO] [stderr] Checking png v0.9.0 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Checking rayon v0.8.2 [INFO] [stderr] Checking num-bigint v0.1.40 [INFO] [stderr] Checking num-complex v0.1.40 [INFO] [stderr] Checking calx_ecs v0.2.0 (/opt/rustwide/workdir/calx/calx_ecs) [INFO] [stderr] Compiling glutin v0.6.2 [INFO] [stderr] Compiling glium v0.15.0 [INFO] [stderr] Checking num-rational v0.1.39 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Checking num v0.1.40 [INFO] [stderr] Checking nalgebra v0.2.23 [INFO] [stderr] Checking jpeg-decoder v0.1.13 [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 `try`: use the `?` operator instead [INFO] [stdout] --> calx/src/rng.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | let blob: Vec = try!(Decodable::decode(d)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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 = 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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/backend/canvas.rs:450:25 [INFO] [stdout] | [INFO] [stdout] 450 | thread::sleep_ms((remaining_s * 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/timing.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | thread::sleep_ms((t * 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: unused `std::result::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: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking world v0.0.1 (/opt/rustwide/workdir/world) [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> world/src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / macro_rules! msg( [INFO] [stdout] 17 | | ($($arg:tt)*) => ( ::msg::push(::Msg::Text(format!($($arg)*)))) [INFO] [stdout] 18 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [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 `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] = note: `#[warn(deprecated)]` on by default [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: 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: 8 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>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WorldSprite + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WorldSprite + 'static` [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 = Box::new(TitleState::new()); [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sprite.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | sprites: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WorldSprite + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WorldSprite + 'static` [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 = Box::new(TitleState::new()); [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [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 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: 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: 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: 9 warnings emitted [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 36s [INFO] running `Command { std: "docker" "inspect" "16404cb8d74bb022e9fd3200626b575e1f735844fb2caf40a894311c3bf3c73d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16404cb8d74bb022e9fd3200626b575e1f735844fb2caf40a894311c3bf3c73d", kill_on_drop: false }` [INFO] [stdout] 16404cb8d74bb022e9fd3200626b575e1f735844fb2caf40a894311c3bf3c73d