[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 master#f3126500f25114ba4e0ac3e76694dd45a22de56d for pr-107620-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamkellett%2Fbattles" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/samkellett/battles on toolchain f3126500f25114ba4e0ac3e76694dd45a22de56d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f3126500f25114ba4e0ac3e76694dd45a22de56d" "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-1-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f3126500f25114ba4e0ac3e76694dd45a22de56d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glutin v0.7.4 [INFO] [stderr] Downloaded wayland-window v0.4.4 [INFO] [stderr] Downloaded smallvec v0.1.8 [INFO] [stderr] Downloaded toml v0.3.2 [INFO] [stderr] Downloaded winit v0.5.11 [INFO] [stderr] Downloaded wayland-client v0.7.8 [INFO] [stderr] Downloaded wayland-kbd v0.6.3 [INFO] [stderr] Downloaded wayland-scanner v0.7.8 [INFO] [stderr] Downloaded glium v0.16.0 [INFO] [stderr] Downloaded wayland-sys v0.7.8 [INFO] [stderr] Downloaded target_build_utils v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:542af8c9c691278ea8427c9f55ce1005b509eeebcbbcbc893145cd6832507671" "/opt/rustwide/cargo-home/bin/cargo" "+f3126500f25114ba4e0ac3e76694dd45a22de56d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7893636067ec347eb27d5d93bfab0b25a47e676f96596f635156e5ed700c86a2 [INFO] running `Command { std: "docker" "start" "-a" "7893636067ec347eb27d5d93bfab0b25a47e676f96596f635156e5ed700c86a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7893636067ec347eb27d5d93bfab0b25a47e676f96596f635156e5ed700c86a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7893636067ec347eb27d5d93bfab0b25a47e676f96596f635156e5ed700c86a2", kill_on_drop: false }` [INFO] [stdout] 7893636067ec347eb27d5d93bfab0b25a47e676f96596f635156e5ed700c86a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:542af8c9c691278ea8427c9f55ce1005b509eeebcbbcbc893145cd6832507671" "/opt/rustwide/cargo-home/bin/cargo" "+f3126500f25114ba4e0ac3e76694dd45a22de56d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a302df6f16333eeea7e83b9432c0f86eb9f598a470f9eb83735794d415653a2 [INFO] running `Command { std: "docker" "start" "-a" "3a302df6f16333eeea7e83b9432c0f86eb9f598a470f9eb83735794d415653a2", 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 serde v0.9.12 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling itoa v0.3.1 [INFO] [stderr] Compiling dtoa v0.4.1 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling lazy_static v0.2.6 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling byteorder v1.0.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling khronos_api v1.0.0 [INFO] [stderr] Compiling log v0.3.7 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling wayland-scanner v0.7.8 [INFO] [stderr] Compiling gl_generator v0.5.2 [INFO] [stderr] Compiling tempfile v2.1.5 [INFO] [stderr] Compiling gcc v0.3.45 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling x11-dl v2.12.0 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling memmap v0.4.0 [INFO] [stderr] Compiling target_build_utils v0.3.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 synom v0.11.3 [INFO] [stderr] Compiling wayland-client v0.7.8 [INFO] [stderr] Compiling glutin v0.7.4 [INFO] [stderr] Compiling deque v0.3.1 [INFO] [stderr] Compiling num_cpus v1.3.0 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling backtrace-sys v0.1.10 [INFO] [stderr] Compiling adler32 v1.0.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling deflate v0.7.5 [INFO] [stderr] Compiling serde_json v0.9.9 [INFO] [stderr] Compiling syn v0.11.10 [INFO] [stderr] Compiling rayon v0.6.0 [INFO] [stderr] Compiling glium v0.16.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling num-iter v0.1.33 [INFO] [stderr] Compiling rustc-demangle v0.1.4 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling inflate v0.1.1 [INFO] [stderr] Compiling cfg-if v0.1.0 [INFO] [stderr] Compiling gif v0.9.1 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.11 [INFO] [stderr] Compiling num-rational v0.1.36 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling rustc-serialize v0.3.23 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling png v0.6.2 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling smallvec v0.1.8 [INFO] [stderr] Compiling fnv v1.0.5 [INFO] [stderr] Compiling scoped_threadpool v0.1.7 [INFO] [stderr] Compiling serde_derive v0.9.13 [INFO] [stderr] Compiling toml v0.3.2 [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 23.53s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.23 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "3a302df6f16333eeea7e83b9432c0f86eb9f598a470f9eb83735794d415653a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a302df6f16333eeea7e83b9432c0f86eb9f598a470f9eb83735794d415653a2", kill_on_drop: false }` [INFO] [stdout] 3a302df6f16333eeea7e83b9432c0f86eb9f598a470f9eb83735794d415653a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:542af8c9c691278ea8427c9f55ce1005b509eeebcbbcbc893145cd6832507671" "/opt/rustwide/cargo-home/bin/cargo" "+f3126500f25114ba4e0ac3e76694dd45a22de56d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08f878094fc627a3da4da2596b689ae260b8de607fdcce02ec8e3208f8f6cef0 [INFO] running `Command { std: "docker" "start" "-a" "08f878094fc627a3da4da2596b689ae260b8de607fdcce02ec8e3208f8f6cef0", 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: `Material` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: `Sprite` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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 1.64s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.23 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "08f878094fc627a3da4da2596b689ae260b8de607fdcce02ec8e3208f8f6cef0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08f878094fc627a3da4da2596b689ae260b8de607fdcce02ec8e3208f8f6cef0", kill_on_drop: false }` [INFO] [stdout] 08f878094fc627a3da4da2596b689ae260b8de607fdcce02ec8e3208f8f6cef0