[INFO] cloning repository https://github.com/stallmanifold/flag [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stallmanifold/flag" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstallmanifold%2Fflag", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstallmanifold%2Fflag'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 86522d1d79007a3262f21586b354aa3b14d3729c [INFO] testing stallmanifold/flag against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstallmanifold%2Fflag" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stallmanifold/flag on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/stallmanifold/flag [INFO] finished tweaking git repo https://github.com/stallmanifold/flag [INFO] tweaked toml for git repo https://github.com/stallmanifold/flag written to /workspace/builds/worker-21/source/Cargo.toml [INFO] crate git repo https://github.com/stallmanifold/flag already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/lambdaxymox/tga` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.0.6 [INFO] [stderr] Downloaded glfw-sys v3.2.2 [INFO] [stderr] Downloaded glfw v0.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55360dfb3f47945d9917332fe6be0fc844d464ae2544e6c4b469b2c785c557b1 [INFO] running `Command { std: "docker" "start" "-a" "55360dfb3f47945d9917332fe6be0fc844d464ae2544e6c4b469b2c785c557b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55360dfb3f47945d9917332fe6be0fc844d464ae2544e6c4b469b2c785c557b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55360dfb3f47945d9917332fe6be0fc844d464ae2544e6c4b469b2c785c557b1", kill_on_drop: false }` [INFO] [stdout] 55360dfb3f47945d9917332fe6be0fc844d464ae2544e6c4b469b2c785c557b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eeb6f6d9870e463163dd23fbcf14fe3ceefc64bd34ac71cb3caf724d41057331 [INFO] running `Command { std: "docker" "start" "-a" "eeb6f6d9870e463163dd23fbcf14fe3ceefc64bd34ac71cb3caf724d41057331", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling num-traits v0.2.1 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling cc v1.0.6 [INFO] [stderr] Compiling libc v0.2.39 [INFO] [stderr] Compiling khronos_api v2.1.0 [INFO] [stderr] Compiling nom v1.2.4 [INFO] [stderr] Compiling tga v0.2.20 (https://github.com/lambdaxymox/tga#b59fc0ae) [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling semver v0.2.3 [INFO] [stderr] Compiling cmake v0.1.29 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling glfw-sys v3.2.2 [INFO] [stderr] Compiling num-bigint v0.1.43 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling glfw v0.21.0 [INFO] [stderr] Compiling flag v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file_util.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | try!(file.read_to_end(&mut buffer)); [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] --> src/file_util.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | let mut file = try!(File::open(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file_util.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let mut file = try!(File::open(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/main.rs:316:58 [INFO] [stdout] | [INFO] [stdout] 316 | fn update(g_resources: &mut GResources, glfw: &mut Glfw, window: &mut glfw::Window) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:332:79 [INFO] [stdout] | [INFO] [stdout] 332 | fn mouse(g_resources: &mut GResources, button: glfw::MouseButton, state: i32, x: i32, y: i32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:332:87 [INFO] [stdout] | [INFO] [stdout] 332 | fn mouse(g_resources: &mut GResources, button: glfw::MouseButton, state: i32, x: i32, y: i32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:340:53 [INFO] [stdout] | [INFO] [stdout] 340 | fn keyboard(g_resources: &mut GResources, key: Key, x: i32, y: i32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:340:61 [INFO] [stdout] | [INFO] [stdout] 340 | fn keyboard(g_resources: &mut GResources, key: Key, x: i32, y: i32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/meshes.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | for t in 0..(FLAG_Y_RES - 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/meshes.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | for s in 0..(FLAG_X_RES - 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `element_i` is never read [INFO] [stdout] --> src/meshes.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let mut element_i = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `element_i` is never read [INFO] [stdout] --> src/meshes.rs:664:5 [INFO] [stdout] | [INFO] [stdout] 664 | element_i += 1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `drag` [INFO] [stdout] --> src/main.rs:324:4 [INFO] [stdout] | [INFO] [stdout] 324 | fn drag(g_resources: &mut GResources, x: i32, y: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/main.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | &(*(0 as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] ... [INFO] [stdout] 153 | offset_of!(meshes::FlagVertex, position) as *const raw::c_void [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/main.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | &(*(0 as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] ... [INFO] [stdout] 158 | offset_of!(meshes::FlagVertex, normal) as *const raw::c_void [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/main.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | &(*(0 as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] ... [INFO] [stdout] 163 | offset_of!(meshes::FlagVertex, texcoord) as *const raw::c_void [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/main.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | &(*(0 as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] ... [INFO] [stdout] 168 | offset_of!(meshes::FlagVertex, shininess) as *const raw::c_void [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/main.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | &(*(0 as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] ... [INFO] [stdout] 173 | offset_of!(meshes::FlagVertex, specular) as *const raw::c_void [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FLAGPOLE_AXIS_XZ` should have a snake case name [INFO] [stdout] --> src/meshes.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | let FLAGPOLE_AXIS_XZ: [GLfloat; 2] = [-FLAGPOLE_SHAFT_RADIUS, 0.0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `flagpole_axis_xz` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `GROUND_LO` should have a snake case name [INFO] [stdout] --> src/meshes.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | let GROUND_LO: [GLfloat; 3] = [-0.875, FLAGPOLE_SHAFT_BOTTOM, -2.45]; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `ground_lo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `GROUND_HI` should have a snake case name [INFO] [stdout] --> src/meshes.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | let GROUND_HI: [GLfloat; 3] = [1.875, FLAGPOLE_SHAFT_BOTTOM, 0.20]; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `ground_hi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `WALL_LO` should have a snake case name [INFO] [stdout] --> src/meshes.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let WALL_LO: [GLfloat; 3] = [GROUND_LO[0], FLAGPOLE_SHAFT_BOTTOM, GROUND_HI[2]]; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `wall_lo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `WALL_HI` should have a snake case name [INFO] [stdout] --> src/meshes.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | let WALL_HI: [GLfloat; 3] = [GROUND_HI[0], FLAGPOLE_SHAFT_BOTTOM + 3.0, GROUND_HI[2]]; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `wall_hi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.09s [INFO] running `Command { std: "docker" "inspect" "eeb6f6d9870e463163dd23fbcf14fe3ceefc64bd34ac71cb3caf724d41057331", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eeb6f6d9870e463163dd23fbcf14fe3ceefc64bd34ac71cb3caf724d41057331", kill_on_drop: false }` [INFO] [stdout] eeb6f6d9870e463163dd23fbcf14fe3ceefc64bd34ac71cb3caf724d41057331 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82631b3bc3ebf2557180846c168837038ad3919ffc141fb3c903e6c598af8a72 [INFO] running `Command { std: "docker" "start" "-a" "82631b3bc3ebf2557180846c168837038ad3919ffc141fb3c903e6c598af8a72", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling flag v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file_util.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | try!(file.read_to_end(&mut buffer)); [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] --> src/file_util.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | let mut file = try!(File::open(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file_util.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let mut file = try!(File::open(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/main.rs:316:58 [INFO] [stdout] | [INFO] [stdout] 316 | fn update(g_resources: &mut GResources, glfw: &mut Glfw, window: &mut glfw::Window) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:332:79 [INFO] [stdout] | [INFO] [stdout] 332 | fn mouse(g_resources: &mut GResources, button: glfw::MouseButton, state: i32, x: i32, y: i32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:332:87 [INFO] [stdout] | [INFO] [stdout] 332 | fn mouse(g_resources: &mut GResources, button: glfw::MouseButton, state: i32, x: i32, y: i32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:340:53 [INFO] [stdout] | [INFO] [stdout] 340 | fn keyboard(g_resources: &mut GResources, key: Key, x: i32, y: i32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:340:61 [INFO] [stdout] | [INFO] [stdout] 340 | fn keyboard(g_resources: &mut GResources, key: Key, x: i32, y: i32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/meshes.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | for t in 0..(FLAG_Y_RES - 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/meshes.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | for s in 0..(FLAG_X_RES - 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `element_i` is never read [INFO] [stdout] --> src/meshes.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let mut element_i = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `element_i` is never read [INFO] [stdout] --> src/meshes.rs:664:5 [INFO] [stdout] | [INFO] [stdout] 664 | element_i += 1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `drag` [INFO] [stdout] --> src/main.rs:324:4 [INFO] [stdout] | [INFO] [stdout] 324 | fn drag(g_resources: &mut GResources, x: i32, y: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/main.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | &(*(0 as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] ... [INFO] [stdout] 153 | offset_of!(meshes::FlagVertex, position) as *const raw::c_void [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/main.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | &(*(0 as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] ... [INFO] [stdout] 158 | offset_of!(meshes::FlagVertex, normal) as *const raw::c_void [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/main.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | &(*(0 as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] ... [INFO] [stdout] 163 | offset_of!(meshes::FlagVertex, texcoord) as *const raw::c_void [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/main.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | &(*(0 as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] ... [INFO] [stdout] 168 | offset_of!(meshes::FlagVertex, shininess) as *const raw::c_void [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/main.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | &(*(0 as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] ... [INFO] [stdout] 173 | offset_of!(meshes::FlagVertex, specular) as *const raw::c_void [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FLAGPOLE_AXIS_XZ` should have a snake case name [INFO] [stdout] --> src/meshes.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | let FLAGPOLE_AXIS_XZ: [GLfloat; 2] = [-FLAGPOLE_SHAFT_RADIUS, 0.0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `flagpole_axis_xz` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `GROUND_LO` should have a snake case name [INFO] [stdout] --> src/meshes.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | let GROUND_LO: [GLfloat; 3] = [-0.875, FLAGPOLE_SHAFT_BOTTOM, -2.45]; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `ground_lo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `GROUND_HI` should have a snake case name [INFO] [stdout] --> src/meshes.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | let GROUND_HI: [GLfloat; 3] = [1.875, FLAGPOLE_SHAFT_BOTTOM, 0.20]; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `ground_hi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `WALL_LO` should have a snake case name [INFO] [stdout] --> src/meshes.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let WALL_LO: [GLfloat; 3] = [GROUND_LO[0], FLAGPOLE_SHAFT_BOTTOM, GROUND_HI[2]]; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `wall_lo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `WALL_HI` should have a snake case name [INFO] [stdout] --> src/meshes.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | let WALL_HI: [GLfloat; 3] = [GROUND_HI[0], FLAGPOLE_SHAFT_BOTTOM + 3.0, GROUND_HI[2]]; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `wall_hi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.75s [INFO] running `Command { std: "docker" "inspect" "82631b3bc3ebf2557180846c168837038ad3919ffc141fb3c903e6c598af8a72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82631b3bc3ebf2557180846c168837038ad3919ffc141fb3c903e6c598af8a72", kill_on_drop: false }` [INFO] [stdout] 82631b3bc3ebf2557180846c168837038ad3919ffc141fb3c903e6c598af8a72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1e459be80a72fa00b912b468807dbd279f4cff657ecc37a72790b9961fe94c67 [INFO] running `Command { std: "docker" "start" "-a" "1e459be80a72fa00b912b468807dbd279f4cff657ecc37a72790b9961fe94c67", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/file_util.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | try!(file.read_to_end(&mut buffer)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/file_util.rs:10:20 [INFO] [stderr] | [INFO] [stderr] 10 | let mut file = try!(File::open(filename)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/file_util.rs:19:20 [INFO] [stderr] | [INFO] [stderr] 19 | let mut file = try!(File::open(filename)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::env` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use std::env; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `window` [INFO] [stderr] --> src/main.rs:316:58 [INFO] [stderr] | [INFO] [stderr] 316 | fn update(g_resources: &mut GResources, glfw: &mut Glfw, window: &mut glfw::Window) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/main.rs:332:79 [INFO] [stderr] | [INFO] [stderr] 332 | fn mouse(g_resources: &mut GResources, button: glfw::MouseButton, state: i32, x: i32, y: i32) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/main.rs:332:87 [INFO] [stderr] | [INFO] [stderr] 332 | fn mouse(g_resources: &mut GResources, button: glfw::MouseButton, state: i32, x: i32, y: i32) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/main.rs:340:53 [INFO] [stderr] | [INFO] [stderr] 340 | fn keyboard(g_resources: &mut GResources, key: Key, x: i32, y: i32) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/main.rs:340:61 [INFO] [stderr] | [INFO] [stderr] 340 | fn keyboard(g_resources: &mut GResources, key: Key, x: i32, y: i32) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t` [INFO] [stderr] --> src/meshes.rs:126:9 [INFO] [stderr] | [INFO] [stderr] 126 | for t in 0..(FLAG_Y_RES - 1) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/meshes.rs:127:13 [INFO] [stderr] | [INFO] [stderr] 127 | for s in 0..(FLAG_X_RES - 1) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `element_i` is never read [INFO] [stderr] --> src/meshes.rs:210:13 [INFO] [stderr] | [INFO] [stderr] 210 | let mut element_i = 0; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `element_i` is never read [INFO] [stderr] --> src/meshes.rs:664:5 [INFO] [stderr] | [INFO] [stderr] 664 | element_i += 1; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: function is never used: `drag` [INFO] [stderr] --> src/main.rs:324:4 [INFO] [stderr] | [INFO] [stderr] 324 | fn drag(g_resources: &mut GResources, x: i32, y: i32) { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/main.rs:141:10 [INFO] [stderr] | [INFO] [stderr] 141 | &(*(0 as *const $ty)).$field as *const _ as usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] ... [INFO] [stderr] 153 | offset_of!(meshes::FlagVertex, position) as *const raw::c_void [INFO] [stderr] | ---------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stderr] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/main.rs:141:10 [INFO] [stderr] | [INFO] [stderr] 141 | &(*(0 as *const $ty)).$field as *const _ as usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] ... [INFO] [stderr] 158 | offset_of!(meshes::FlagVertex, normal) as *const raw::c_void [INFO] [stderr] | -------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/main.rs:141:10 [INFO] [stderr] | [INFO] [stderr] 141 | &(*(0 as *const $ty)).$field as *const _ as usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] ... [INFO] [stderr] 163 | offset_of!(meshes::FlagVertex, texcoord) as *const raw::c_void [INFO] [stderr] | ---------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/main.rs:141:10 [INFO] [stderr] | [INFO] [stderr] 141 | &(*(0 as *const $ty)).$field as *const _ as usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] ... [INFO] [stderr] 168 | offset_of!(meshes::FlagVertex, shininess) as *const raw::c_void [INFO] [stderr] | ----------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/main.rs:141:10 [INFO] [stderr] | [INFO] [stderr] 141 | &(*(0 as *const $ty)).$field as *const _ as usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] ... [INFO] [stderr] 173 | offset_of!(meshes::FlagVertex, specular) as *const raw::c_void [INFO] [stderr] | ---------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable `FLAGPOLE_AXIS_XZ` should have a snake case name [INFO] [stderr] --> src/meshes.rs:172:9 [INFO] [stderr] | [INFO] [stderr] 172 | let FLAGPOLE_AXIS_XZ: [GLfloat; 2] = [-FLAGPOLE_SHAFT_RADIUS, 0.0]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `flagpole_axis_xz` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `GROUND_LO` should have a snake case name [INFO] [stderr] --> src/meshes.rs:176:9 [INFO] [stderr] | [INFO] [stderr] 176 | let GROUND_LO: [GLfloat; 3] = [-0.875, FLAGPOLE_SHAFT_BOTTOM, -2.45]; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `ground_lo` [INFO] [stderr] [INFO] [stderr] warning: variable `GROUND_HI` should have a snake case name [INFO] [stderr] --> src/meshes.rs:177:9 [INFO] [stderr] | [INFO] [stderr] 177 | let GROUND_HI: [GLfloat; 3] = [1.875, FLAGPOLE_SHAFT_BOTTOM, 0.20]; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `ground_hi` [INFO] [stderr] [INFO] [stderr] warning: variable `WALL_LO` should have a snake case name [INFO] [stderr] --> src/meshes.rs:178:9 [INFO] [stderr] | [INFO] [stderr] 178 | let WALL_LO: [GLfloat; 3] = [GROUND_LO[0], FLAGPOLE_SHAFT_BOTTOM, GROUND_HI[2]]; [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `wall_lo` [INFO] [stderr] [INFO] [stderr] warning: variable `WALL_HI` should have a snake case name [INFO] [stderr] --> src/meshes.rs:179:9 [INFO] [stderr] | [INFO] [stderr] 179 | let WALL_HI: [GLfloat; 3] = [GROUND_HI[0], FLAGPOLE_SHAFT_BOTTOM + 3.0, GROUND_HI[2]]; [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `wall_hi` [INFO] [stderr] [INFO] [stderr] warning: `flag` (bin "flag" test) generated 24 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/flag-c68f6eb4974989c6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1e459be80a72fa00b912b468807dbd279f4cff657ecc37a72790b9961fe94c67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e459be80a72fa00b912b468807dbd279f4cff657ecc37a72790b9961fe94c67", kill_on_drop: false }` [INFO] [stdout] 1e459be80a72fa00b912b468807dbd279f4cff657ecc37a72790b9961fe94c67