[INFO] cloning repository https://github.com/samkellett/battles [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/samkellett/battles" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamkellett%2Fbattles", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamkellett%2Fbattles'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8df3ba14f715d4799059a43b4bb6aa0cc7adbf96 [INFO] building samkellett/battles against try#3bbb5242a8064de4ca3af4036745ddf603ddaa85 for pr-101929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamkellett%2Fbattles" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/samkellett/battles on toolchain 3bbb5242a8064de4ca3af4036745ddf603ddaa85 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/samkellett/battles [INFO] finished tweaking git repo https://github.com/samkellett/battles [INFO] tweaked toml for git repo https://github.com/samkellett/battles written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/samkellett/battles already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a408f7dd8854ad78369f12b5a6b1015decd31fa0911eaf14e38b638346b80f9c [INFO] running `Command { std: "docker" "start" "-a" "a408f7dd8854ad78369f12b5a6b1015decd31fa0911eaf14e38b638346b80f9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a408f7dd8854ad78369f12b5a6b1015decd31fa0911eaf14e38b638346b80f9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a408f7dd8854ad78369f12b5a6b1015decd31fa0911eaf14e38b638346b80f9c", kill_on_drop: false }` [INFO] [stdout] a408f7dd8854ad78369f12b5a6b1015decd31fa0911eaf14e38b638346b80f9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 600e98a3acee481e1d09cb7875ccae6a4b6c7607e849af85e1326071d667b2d9 [INFO] running `Command { std: "docker" "start" "-a" "600e98a3acee481e1d09cb7875ccae6a4b6c7607e849af85e1326071d667b2d9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.21 [INFO] [stderr] Compiling num-traits v0.1.37 [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling serde v0.9.12 [INFO] [stderr] Compiling itoa v0.3.1 [INFO] [stderr] Compiling dtoa v0.4.1 [INFO] [stderr] Compiling lazy_static v0.2.6 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling byteorder v1.0.0 [INFO] [stderr] Compiling log v0.3.7 [INFO] [stderr] Compiling khronos_api v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling gcc v0.3.45 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling x11-dl v2.12.0 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling num-integer v0.1.33 [INFO] [stderr] Compiling shared_library v0.1.5 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling num_cpus v1.3.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling adler32 v1.0.0 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling backtrace-sys v0.1.10 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling tempfile v2.1.5 [INFO] [stderr] Compiling deflate v0.7.5 [INFO] [stderr] Compiling num-iter v0.1.33 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling wayland-scanner v0.7.8 [INFO] [stderr] Compiling gl_generator v0.5.2 [INFO] [stderr] Compiling deque v0.3.1 [INFO] [stderr] Compiling syn v0.11.10 [INFO] [stderr] Compiling serde_json v0.9.9 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling rayon v0.6.0 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling target_build_utils v0.3.0 [INFO] [stderr] Compiling inflate v0.1.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.0 [INFO] [stderr] Compiling rustc-demangle v0.1.4 [INFO] [stderr] Compiling num-rational v0.1.36 [INFO] [stderr] Compiling wayland-client v0.7.8 [INFO] [stderr] Compiling glutin v0.7.4 [INFO] [stderr] Compiling memmap v0.4.0 [INFO] [stderr] Compiling glium v0.16.0 [INFO] [stderr] Compiling gif v0.9.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.11 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.7 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling rustc-serialize v0.3.23 [INFO] [stderr] Compiling fnv v1.0.5 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling smallvec v0.1.8 [INFO] [stderr] Compiling toml v0.3.2 [INFO] [stderr] Compiling png v0.6.2 [INFO] [stderr] Compiling serde_derive v0.9.13 [INFO] [stderr] Compiling image v0.12.3 [INFO] [stderr] Compiling cgmath v0.12.0 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Compiling dlib v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.7.8 [INFO] [stderr] Compiling wayland-kbd v0.6.3 [INFO] [stderr] Compiling wayland-window v0.4.4 [INFO] [stderr] Compiling winit v0.5.11 [INFO] [stderr] Compiling battles v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut game_object = game_objects.first_mut().unwrap(); [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: associated function `square_slice` is never used [INFO] [stdout] --> src/render/sprites/mesh.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn square_slice(size: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "600e98a3acee481e1d09cb7875ccae6a4b6c7607e849af85e1326071d667b2d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "600e98a3acee481e1d09cb7875ccae6a4b6c7607e849af85e1326071d667b2d9", kill_on_drop: false }` [INFO] [stdout] 600e98a3acee481e1d09cb7875ccae6a4b6c7607e849af85e1326071d667b2d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e4c2dc8e88ed080fe59a6c526808e208408713f308bc9fa430508b5648a9143 [INFO] running `Command { std: "docker" "start" "-a" "1e4c2dc8e88ed080fe59a6c526808e208408713f308bc9fa430508b5648a9143", kill_on_drop: false }` [INFO] [stderr] Compiling battles v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `Rotation` is never used [INFO] [stdout] --> examples/003-transform.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | enum Rotation { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `rotate_z` is never used [INFO] [stdout] --> examples/003-transform.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn rotate_z (&mut self, rotation: Rotation) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `program` and `texture` are never read [INFO] [stdout] --> examples/002-materials.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 27 | pub program: glium::Program, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 28 | pub texture: glium::texture::Texture2d, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Material` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mesh` is never read [INFO] [stdout] --> examples/001-renderer.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | struct Sprite<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 55 | mesh: &'a Mesh, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Sprite` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut game_object = game_objects.first_mut().unwrap(); [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: associated function `square_slice` is never used [INFO] [stdout] --> src/render/sprites/mesh.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn square_slice(size: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.93s [INFO] running `Command { std: "docker" "inspect" "1e4c2dc8e88ed080fe59a6c526808e208408713f308bc9fa430508b5648a9143", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e4c2dc8e88ed080fe59a6c526808e208408713f308bc9fa430508b5648a9143", kill_on_drop: false }` [INFO] [stdout] 1e4c2dc8e88ed080fe59a6c526808e208408713f308bc9fa430508b5648a9143