[INFO] updating cached repository https://github.com/cdrch/ld46 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3d5647c32e56902a08009e9708a008da3eed8314 [INFO] testing cdrch/ld46 against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcdrch%2Fld46" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cdrch/ld46 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cdrch/ld46 [INFO] removed path dependency legion from git repo https://github.com/cdrch/ld46 [INFO] finished tweaking git repo https://github.com/cdrch/ld46 [INFO] tweaked toml for git repo https://github.com/cdrch/ld46 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/cdrch/ld46 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (legion) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (legion) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8350c83796a150f7d0f9e01872466a5a6b62fd7df1b03bb3e304eebbc135fcb [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" "d8350c83796a150f7d0f9e01872466a5a6b62fd7df1b03bb3e304eebbc135fcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8350c83796a150f7d0f9e01872466a5a6b62fd7df1b03bb3e304eebbc135fcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8350c83796a150f7d0f9e01872466a5a6b62fd7df1b03bb3e304eebbc135fcb", kill_on_drop: false }` [INFO] [stdout] d8350c83796a150f7d0f9e01872466a5a6b62fd7df1b03bb3e304eebbc135fcb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2f10ac79b06b0873cc5b27cd1b7e81cdf132fd8a3faf2d973e8ac686226411c [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" "f2f10ac79b06b0873cc5b27cd1b7e81cdf132fd8a3faf2d973e8ac686226411c", kill_on_drop: false }` [INFO] [stderr] warning: dependency (legion) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling cpal v0.11.0 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling sdl2 v0.34.2 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling xi-unicode v0.2.1 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling static_assertions v0.2.5 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling sdl2-sys v0.34.2 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling ogg v0.7.0 [INFO] [stderr] Compiling vek v0.9.12 [INFO] [stderr] Compiling crossbeam-channel v0.4.3 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling lewton v0.10.1 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling minimp3 v0.3.5 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling glow v0.4.0 [INFO] [stderr] Compiling glyph_brush_layout v0.1.9 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling glyph_brush v0.6.3 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Compiling image v0.23.8 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling tracing-attributes v0.1.9 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling rodio v0.11.0 [INFO] [stderr] Compiling tracing v0.1.18 [INFO] [stderr] Compiling legion-core v0.2.4 [INFO] [stderr] Compiling tetra v0.3.6 [INFO] [stderr] Compiling legion-systems v0.2.4 [INFO] [stderr] Compiling legion v0.2.4 [INFO] [stderr] Compiling ld46 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/main.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::{self, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tetra::audio::Sound` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tetra::audio::Sound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DrawParams`, `Texture` [INFO] [stdout] --> src/main.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | use tetra::graphics::{self, Color, DrawParams, Font, Text, Texture}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | .with_query(<(Write)>::query()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/main.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | for (_entity) in world.iter_entities() { [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:214:16 [INFO] [stdout] | [INFO] [stdout] 214 | if (self.test_text.content().len() > 100) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | fn new(ctx: &mut Context, world: &mut World) -> tetra::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/main.rs:227:43 [INFO] [stdout] | [INFO] [stdout] 227 | fn draw(&mut self, ctx: &mut Context, world: &mut World) -> tetra::Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 245 | fn new(ctx: &mut Context, world: &mut World) -> tetra::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/main.rs:245:31 [INFO] [stdout] | [INFO] [stdout] 245 | fn new(ctx: &mut Context, world: &mut World) -> tetra::Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/main.rs:262:43 [INFO] [stdout] | [INFO] [stdout] 262 | fn draw(&mut self, ctx: &mut Context, world: &mut World) -> tetra::Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut resources = Resources::default(); [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/main.rs:208:45 [INFO] [stdout] | [INFO] [stdout] 208 | fn update(&mut self, ctx: &mut Context, mut world: &mut World) -> tetra::Result { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CELL_SIZE` [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const CELL_SIZE: i32 = 96; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CELL_BORDER` [INFO] [stdout] --> src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const CELL_BORDER: i32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Pop` [INFO] [stdout] --> src/main.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | Pop, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `universe` [INFO] [stdout] --> src/main.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | universe: Universe, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_systems` [INFO] [stdout] --> src/main.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn set_systems(&mut self, systems: Vec>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 58s [INFO] running `Command { std: "docker" "inspect" "f2f10ac79b06b0873cc5b27cd1b7e81cdf132fd8a3faf2d973e8ac686226411c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2f10ac79b06b0873cc5b27cd1b7e81cdf132fd8a3faf2d973e8ac686226411c", kill_on_drop: false }` [INFO] [stdout] f2f10ac79b06b0873cc5b27cd1b7e81cdf132fd8a3faf2d973e8ac686226411c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e19cb7c5f713f772bdfe9b03fbc419a71385bf091af2126a25bdd43930824bca [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" "e19cb7c5f713f772bdfe9b03fbc419a71385bf091af2126a25bdd43930824bca", kill_on_drop: false }` [INFO] [stderr] warning: dependency (legion) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling ld46 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/main.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::{self, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tetra::audio::Sound` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tetra::audio::Sound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DrawParams`, `Texture` [INFO] [stdout] --> src/main.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | use tetra::graphics::{self, Color, DrawParams, Font, Text, Texture}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | .with_query(<(Write)>::query()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/main.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | for (_entity) in world.iter_entities() { [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:214:16 [INFO] [stdout] | [INFO] [stdout] 214 | if (self.test_text.content().len() > 100) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | fn new(ctx: &mut Context, world: &mut World) -> tetra::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/main.rs:227:43 [INFO] [stdout] | [INFO] [stdout] 227 | fn draw(&mut self, ctx: &mut Context, world: &mut World) -> tetra::Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 245 | fn new(ctx: &mut Context, world: &mut World) -> tetra::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/main.rs:245:31 [INFO] [stdout] | [INFO] [stdout] 245 | fn new(ctx: &mut Context, world: &mut World) -> tetra::Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/main.rs:262:43 [INFO] [stdout] | [INFO] [stdout] 262 | fn draw(&mut self, ctx: &mut Context, world: &mut World) -> tetra::Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut resources = Resources::default(); [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/main.rs:208:45 [INFO] [stdout] | [INFO] [stdout] 208 | fn update(&mut self, ctx: &mut Context, mut world: &mut World) -> tetra::Result { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CELL_SIZE` [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const CELL_SIZE: i32 = 96; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CELL_BORDER` [INFO] [stdout] --> src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const CELL_BORDER: i32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Pop` [INFO] [stdout] --> src/main.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | Pop, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `universe` [INFO] [stdout] --> src/main.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | universe: Universe, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_systems` [INFO] [stdout] --> src/main.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn set_systems(&mut self, systems: Vec>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.65s [INFO] running `Command { std: "docker" "inspect" "e19cb7c5f713f772bdfe9b03fbc419a71385bf091af2126a25bdd43930824bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e19cb7c5f713f772bdfe9b03fbc419a71385bf091af2126a25bdd43930824bca", kill_on_drop: false }` [INFO] [stdout] e19cb7c5f713f772bdfe9b03fbc419a71385bf091af2126a25bdd43930824bca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] be4a3d7d6048cf1149332920dde104d842d6af801501d887eda5b24e31dc3631 [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" "be4a3d7d6048cf1149332920dde104d842d6af801501d887eda5b24e31dc3631", kill_on_drop: false }` [INFO] [stderr] warning: dependency (legion) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: unused import: `Rng` [INFO] [stderr] --> src/main.rs:2:18 [INFO] [stderr] | [INFO] [stderr] 2 | use rand::{self, Rng}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `tetra::audio::Sound` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use tetra::audio::Sound; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DrawParams`, `Texture` [INFO] [stderr] --> src/main.rs:5:36 [INFO] [stderr] | [INFO] [stderr] 5 | use tetra::graphics::{self, Color, DrawParams, Font, Text, Texture}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/main.rs:59:22 [INFO] [stderr] | [INFO] [stderr] 59 | .with_query(<(Write)>::query()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around pattern [INFO] [stderr] --> src/main.rs:213:13 [INFO] [stderr] | [INFO] [stderr] 213 | for (_entity) in world.iter_entities() { [INFO] [stderr] | ^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:214:16 [INFO] [stderr] | [INFO] [stderr] 214 | if (self.test_text.content().len() > 100) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/main.rs:180:12 [INFO] [stderr] | [INFO] [stderr] 180 | fn new(ctx: &mut Context, world: &mut World) -> tetra::Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `world` [INFO] [stderr] --> src/main.rs:227:43 [INFO] [stderr] | [INFO] [stderr] 227 | fn draw(&mut self, ctx: &mut Context, world: &mut World) -> tetra::Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/main.rs:245:12 [INFO] [stderr] | [INFO] [stderr] 245 | fn new(ctx: &mut Context, world: &mut World) -> tetra::Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `world` [INFO] [stderr] --> src/main.rs:245:31 [INFO] [stderr] | [INFO] [stderr] 245 | fn new(ctx: &mut Context, world: &mut World) -> tetra::Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `world` [INFO] [stderr] --> src/main.rs:262:43 [INFO] [stderr] | [INFO] [stderr] 262 | fn draw(&mut self, ctx: &mut Context, world: &mut World) -> tetra::Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:96:13 [INFO] [stderr] | [INFO] [stderr] 96 | let mut resources = Resources::default(); [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/main.rs:208:45 [INFO] [stderr] | [INFO] [stderr] 208 | fn update(&mut self, ctx: &mut Context, mut world: &mut World) -> tetra::Result { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `CELL_SIZE` [INFO] [stderr] --> src/main.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | const CELL_SIZE: i32 = 96; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `CELL_BORDER` [INFO] [stderr] --> src/main.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | const CELL_BORDER: i32 = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Pop` [INFO] [stderr] --> src/main.rs:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | Pop, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `universe` [INFO] [stderr] --> src/main.rs:82:5 [INFO] [stderr] | [INFO] [stderr] 82 | universe: Universe, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_systems` [INFO] [stderr] --> src/main.rs:116:12 [INFO] [stderr] | [INFO] [stderr] 116 | pub fn set_systems(&mut self, systems: Vec>) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 18 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.59s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/ld46-a203b0c53484a866 [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "be4a3d7d6048cf1149332920dde104d842d6af801501d887eda5b24e31dc3631", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be4a3d7d6048cf1149332920dde104d842d6af801501d887eda5b24e31dc3631", kill_on_drop: false }` [INFO] [stdout] be4a3d7d6048cf1149332920dde104d842d6af801501d887eda5b24e31dc3631