[INFO] cloning repository https://github.com/ernestochero/hello-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ernestochero/hello-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fernestochero%2Fhello-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fernestochero%2Fhello-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d4495159493ad70b4283c6101fea77f78fb7e077
[INFO] checking ernestochero/hello-rust against try#3f7e3b175fda7edbf81081bcd9b91b73f2f7993f for pr-156157
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fernestochero%2Fhello-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ernestochero/hello-rust
[INFO] finished tweaking git repo https://github.com/ernestochero/hello-rust
[INFO] tweaked toml for git repo https://github.com/ernestochero/hello-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ernestochero/hello-rust on toolchain 3f7e3b175fda7edbf81081bcd9b91b73f2f7993f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f7e3b175fda7edbf81081bcd9b91b73f2f7993f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ernestochero/hello-rust 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" "+3f7e3b175fda7edbf81081bcd9b91b73f2f7993f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3f7e3b175fda7edbf81081bcd9b91b73f2f7993f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1e08ed65f824e6ffa26c838f0bc8ff6721e726e7a908229210370a26dad64f72
[INFO] running `Command { std: "docker" "start" "-a" "1e08ed65f824e6ffa26c838f0bc8ff6721e726e7a908229210370a26dad64f72", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1e08ed65f824e6ffa26c838f0bc8ff6721e726e7a908229210370a26dad64f72", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e08ed65f824e6ffa26c838f0bc8ff6721e726e7a908229210370a26dad64f72", kill_on_drop: false }`
[INFO] [stdout] 1e08ed65f824e6ffa26c838f0bc8ff6721e726e7a908229210370a26dad64f72
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3f7e3b175fda7edbf81081bcd9b91b73f2f7993f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a1a3d1a2dc2b4ff911499e5e204925ecac41b93145c91c45e5b1d18886fc4f8d
[INFO] running `Command { std: "docker" "start" "-a" "a1a3d1a2dc2b4ff911499e5e204925ecac41b93145c91c45e5b1d18886fc4f8d", kill_on_drop: false }`
[INFO] [stderr]    Compiling xml-rs v0.8.4
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]     Checking dlib v0.5.0
[INFO] [stderr]    Compiling libm v0.2.5
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]     Checking downcast-rs v1.2.0
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]     Checking scoped-tls v1.0.0
[INFO] [stderr]     Checking nix v0.24.2
[INFO] [stderr]    Compiling slotmap v1.0.6
[INFO] [stderr]    Compiling servo-fontconfig-sys v5.1.0
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking bytemuck v1.12.1
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.0
[INFO] [stderr]    Compiling x11-dl v2.20.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling crossfont v0.5.0
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.10
[INFO] [stderr]     Checking foreign-types-shared v0.3.1
[INFO] [stderr]     Checking arrayref v0.3.6
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking safe_arch v0.5.2
[INFO] [stderr]     Checking memmap2 v0.5.7
[INFO] [stderr]     Checking tiny-skia-path v0.7.0
[INFO] [stderr]     Checking cty v0.2.2
[INFO] [stderr]    Compiling cmake v0.1.48
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking matrixmultiply v0.3.2
[INFO] [stderr]     Checking nom v7.1.1
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]     Checking raw-window-handle v0.4.3
[INFO] [stderr]     Checking raw-window-handle v0.5.0
[INFO] [stderr]     Checking crossbeam-channel v0.5.6
[INFO] [stderr]     Checking mio v0.8.4
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]     Checking tiny-skia v0.7.0
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]     Checking smawk v0.3.1
[INFO] [stderr]     Checking crossbeam-deque v0.8.2
[INFO] [stderr]     Checking itertools v0.10.4
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.8
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.6
[INFO] [stderr]    Compiling gl v0.14.0
[INFO] [stderr]     Checking textwrap v0.13.4
[INFO] [stderr]     Checking smallvec v0.4.5
[INFO] [stderr]    Compiling freetype-sys v0.13.1
[INFO] [stderr]    Compiling expat-sys v2.1.6
[INFO] [stderr]     Checking tagger v3.2.1
[INFO] [stderr]     Checking wayland-commons v0.29.5
[INFO] [stderr]     Checking rayon-core v1.9.3
[INFO] [stderr]     Checking ferris-says v0.2.1
[INFO] [stderr]     Checking poloto v2.20.4
[INFO] [stderr]     Checking freetype-rs v0.26.0
[INFO] [stderr]     Checking num-complex v0.4.2
[INFO] [stderr]     Checking noisy_float v0.2.0
[INFO] [stderr]     Checking rand_distr v0.4.3
[INFO] [stderr]     Checking rayon v1.5.3
[INFO] [stderr]     Checking servo-fontconfig v0.5.1
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]     Checking xcursor v0.3.4
[INFO] [stderr]     Checking ndarray v0.15.6
[INFO] [stderr]    Compiling thiserror-impl v1.0.35
[INFO] [stderr]    Compiling foreign-types-macros v0.2.2
[INFO] [stderr]     Checking wayland-cursor v0.29.5
[INFO] [stderr]     Checking wayland-egl v0.29.5
[INFO] [stderr]     Checking foreign-types v0.5.0
[INFO] [stderr]     Checking thiserror v1.0.35
[INFO] [stderr]     Checking calloop v0.10.1
[INFO] [stderr]     Checking ndarray-stats v0.5.1
[INFO] [stderr]     Checking ndarray-rand v0.14.0
[INFO] [stderr]     Checking sctk-adwaita v0.4.2
[INFO] [stderr]     Checking winit v0.27.3
[INFO] [stderr]     Checking glutin v0.29.1
[INFO] [stderr]     Checking hello-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::slice::Iter`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::slice::Iter;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::slice::Iter`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::slice::Iter;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum` is never used
[INFO] [stdout]   --> src/main.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn sum(a: i32, b: i32) {
[INFO] [stdout]    |    ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dir_example` is never used
[INFO] [stdout]   --> src/main.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn dir_example() {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_walk_dir` is never used
[INFO] [stdout]   --> src/main.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn count_walk_dir(root: &str) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ferris_test` is never used
[INFO] [stdout]   --> src/main.rs:41:4
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn ferris_test() {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Animal` is never used
[INFO] [stdout]   --> src/main.rs:50:7
[INFO] [stdout]    |
[INFO] [stdout] 50 | trait Animal {
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Person` is never constructed
[INFO] [stdout]   --> src/main.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | struct Person{
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Unit` is never constructed
[INFO] [stdout]   --> src/main.rs:67:8
[INFO] [stdout]    |
[INFO] [stdout] 67 | struct Unit;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pair` is never constructed
[INFO] [stdout]   --> src/main.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 69 | struct Pair(i32, f32);
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point` is never constructed
[INFO] [stdout]   --> src/main.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | struct Point {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sheep` is never constructed
[INFO] [stdout]   --> src/main.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 | struct Sheep {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `misc` is never used
[INFO] [stdout]    --> src/main.rs:103:4
[INFO] [stdout]     |
[INFO] [stdout] 103 | fn misc() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `open_file` is never used
[INFO] [stdout]  --> src/count_words.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn open_file(p: &str) -> BufReader<File> {
[INFO] [stdout]   |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_lines` is never used
[INFO] [stdout]   --> src/count_words.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn count_lines() -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_array` is never used
[INFO] [stdout]  --> src/data_science.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn test_array() -> () {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_ndarray_rand` is never used
[INFO] [stdout]   --> src/data_science.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn test_ndarray_rand() -> () {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_visualize` is never used
[INFO] [stdout]   --> src/data_science.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub fn test_visualize() -> () {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ShaderError` is never used
[INFO] [stdout]   --> src/open_gl.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum ShaderError {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Shader` is never constructed
[INFO] [stdout]   --> src/open_gl.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Shader {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/open_gl.rs:38:19
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl Shader {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 38 |     pub unsafe fn new(source_code:&str, shader_type: GLenum) -> Result<Self, ShaderError> {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ShaderProgram` is never constructed
[INFO] [stdout]   --> src/open_gl.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct ShaderProgram {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `apply`, and `get_attrib_location` are never used
[INFO] [stdout]    --> src/open_gl.rs:80:19
[INFO] [stdout]     |
[INFO] [stdout]  79 | impl ShaderProgram {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout]  80 |     pub unsafe fn new(shaders: &[Shader]) -> Result<Self, ShaderError> {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub unsafe fn apply(&self) {
[INFO] [stdout]     |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub unsafe fn get_attrib_location(&self, attrib: &str) -> Result<GLuint, NulError> {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Buffer` is never constructed
[INFO] [stdout]    --> src/open_gl.rs:125:12
[INFO] [stdout]     |
[INFO] [stdout] 125 | pub struct Buffer {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `set_data`, and `bind` are never used
[INFO] [stdout]    --> src/open_gl.rs:139:19
[INFO] [stdout]     |
[INFO] [stdout] 138 | impl Buffer {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] 139 |     pub unsafe fn new(target: GLuint) -> Self {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 145 |     pub unsafe fn set_data<D>(&self, data: &[D], usage: GLuint) {
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 156 |     pub unsafe fn bind(&self) {
[INFO] [stdout]     |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VertexArray` is never constructed
[INFO] [stdout]    --> src/open_gl.rs:162:12
[INFO] [stdout]     |
[INFO] [stdout] 162 | pub struct VertexArray {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `set_attribute`, and `bind` are never used
[INFO] [stdout]    --> src/open_gl.rs:175:19
[INFO] [stdout]     |
[INFO] [stdout] 174 | impl VertexArray {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 175 |     pub unsafe fn new() -> Self {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     pub unsafe fn set_attribute<V: Sized>(
[INFO] [stdout]     |                   ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 199 |     pub unsafe fn bind(&self) {
[INFO] [stdout]     |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `VERTEX_SHADER_SOURCE` is never used
[INFO] [stdout]    --> src/open_gl.rs:223:7
[INFO] [stdout]     |
[INFO] [stdout] 223 | const VERTEX_SHADER_SOURCE: &str = r#"
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FRAGMENT_SHADER_SOURCE` is never used
[INFO] [stdout]    --> src/open_gl.rs:234:7
[INFO] [stdout]     |
[INFO] [stdout] 234 | const FRAGMENT_SHADER_SOURCE: &str = r#"
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Pos` is never used
[INFO] [stdout]    --> src/open_gl.rs:243:6
[INFO] [stdout]     |
[INFO] [stdout] 243 | type Pos = [f32; 2];
[INFO] [stdout]     |      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Color` is never used
[INFO] [stdout]    --> src/open_gl.rs:244:6
[INFO] [stdout]     |
[INFO] [stdout] 244 | type Color = [f32; 3];
[INFO] [stdout]     |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Vertex` is never constructed
[INFO] [stdout]    --> src/open_gl.rs:247:8
[INFO] [stdout]     |
[INFO] [stdout] 247 | struct Vertex(Pos, Color);
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `VERTICES` is never used
[INFO] [stdout]    --> src/open_gl.rs:250:7
[INFO] [stdout]     |
[INFO] [stdout] 250 | const VERTICES: [Vertex; 3] = [
[INFO] [stdout]     |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Renderer` is never constructed
[INFO] [stdout]    --> src/open_gl.rs:256:12
[INFO] [stdout]     |
[INFO] [stdout] 256 | pub struct Renderer {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `draw` are never used
[INFO] [stdout]    --> src/open_gl.rs:263:12
[INFO] [stdout]     |
[INFO] [stdout] 262 | impl Renderer {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout] 263 |     pub fn new() -> Result<Self, ShaderError> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 283 |     pub fn draw(&self) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_window` is never used
[INFO] [stdout]    --> src/open_gl.rs:295:8
[INFO] [stdout]     |
[INFO] [stdout] 295 | pub fn build_window() -> () {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `active`, `age`, and `admin` are never read
[INFO] [stdout]  --> src/memory_alignment.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Member {
[INFO] [stdout]   |        ------ fields in this struct
[INFO] [stdout] 5 |     active: bool,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 6 |     age: i32,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 7 |     admin: bool,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum` is never used
[INFO] [stdout]   --> src/main.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn sum(a: i32, b: i32) {
[INFO] [stdout]    |    ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dir_example` is never used
[INFO] [stdout]   --> src/main.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn dir_example() {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_walk_dir` is never used
[INFO] [stdout]   --> src/main.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn count_walk_dir(root: &str) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ferris_test` is never used
[INFO] [stdout]   --> src/main.rs:41:4
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn ferris_test() {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Animal` is never used
[INFO] [stdout]   --> src/main.rs:50:7
[INFO] [stdout]    |
[INFO] [stdout] 50 | trait Animal {
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Person` is never constructed
[INFO] [stdout]   --> src/main.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | struct Person{
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Unit` is never constructed
[INFO] [stdout]   --> src/main.rs:67:8
[INFO] [stdout]    |
[INFO] [stdout] 67 | struct Unit;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pair` is never constructed
[INFO] [stdout]   --> src/main.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 69 | struct Pair(i32, f32);
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point` is never constructed
[INFO] [stdout]   --> src/main.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | struct Point {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sheep` is never constructed
[INFO] [stdout]   --> src/main.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 | struct Sheep {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `misc` is never used
[INFO] [stdout]    --> src/main.rs:103:4
[INFO] [stdout]     |
[INFO] [stdout] 103 | fn misc() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `open_file` is never used
[INFO] [stdout]  --> src/count_words.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn open_file(p: &str) -> BufReader<File> {
[INFO] [stdout]   |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_lines` is never used
[INFO] [stdout]   --> src/count_words.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn count_lines() -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_array` is never used
[INFO] [stdout]  --> src/data_science.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn test_array() -> () {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_ndarray_rand` is never used
[INFO] [stdout]   --> src/data_science.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn test_ndarray_rand() -> () {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_visualize` is never used
[INFO] [stdout]   --> src/data_science.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub fn test_visualize() -> () {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ShaderError` is never used
[INFO] [stdout]   --> src/open_gl.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum ShaderError {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Shader` is never constructed
[INFO] [stdout]   --> src/open_gl.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Shader {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/open_gl.rs:38:19
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl Shader {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 38 |     pub unsafe fn new(source_code:&str, shader_type: GLenum) -> Result<Self, ShaderError> {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ShaderProgram` is never constructed
[INFO] [stdout]   --> src/open_gl.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct ShaderProgram {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `apply`, and `get_attrib_location` are never used
[INFO] [stdout]    --> src/open_gl.rs:80:19
[INFO] [stdout]     |
[INFO] [stdout]  79 | impl ShaderProgram {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout]  80 |     pub unsafe fn new(shaders: &[Shader]) -> Result<Self, ShaderError> {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub unsafe fn apply(&self) {
[INFO] [stdout]     |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub unsafe fn get_attrib_location(&self, attrib: &str) -> Result<GLuint, NulError> {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Buffer` is never constructed
[INFO] [stdout]    --> src/open_gl.rs:125:12
[INFO] [stdout]     |
[INFO] [stdout] 125 | pub struct Buffer {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `set_data`, and `bind` are never used
[INFO] [stdout]    --> src/open_gl.rs:139:19
[INFO] [stdout]     |
[INFO] [stdout] 138 | impl Buffer {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] 139 |     pub unsafe fn new(target: GLuint) -> Self {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 145 |     pub unsafe fn set_data<D>(&self, data: &[D], usage: GLuint) {
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 156 |     pub unsafe fn bind(&self) {
[INFO] [stdout]     |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VertexArray` is never constructed
[INFO] [stdout]    --> src/open_gl.rs:162:12
[INFO] [stdout]     |
[INFO] [stdout] 162 | pub struct VertexArray {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `set_attribute`, and `bind` are never used
[INFO] [stdout]    --> src/open_gl.rs:175:19
[INFO] [stdout]     |
[INFO] [stdout] 174 | impl VertexArray {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 175 |     pub unsafe fn new() -> Self {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     pub unsafe fn set_attribute<V: Sized>(
[INFO] [stdout]     |                   ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 199 |     pub unsafe fn bind(&self) {
[INFO] [stdout]     |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `VERTEX_SHADER_SOURCE` is never used
[INFO] [stdout]    --> src/open_gl.rs:223:7
[INFO] [stdout]     |
[INFO] [stdout] 223 | const VERTEX_SHADER_SOURCE: &str = r#"
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FRAGMENT_SHADER_SOURCE` is never used
[INFO] [stdout]    --> src/open_gl.rs:234:7
[INFO] [stdout]     |
[INFO] [stdout] 234 | const FRAGMENT_SHADER_SOURCE: &str = r#"
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Pos` is never used
[INFO] [stdout]    --> src/open_gl.rs:243:6
[INFO] [stdout]     |
[INFO] [stdout] 243 | type Pos = [f32; 2];
[INFO] [stdout]     |      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Color` is never used
[INFO] [stdout]    --> src/open_gl.rs:244:6
[INFO] [stdout]     |
[INFO] [stdout] 244 | type Color = [f32; 3];
[INFO] [stdout]     |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Vertex` is never constructed
[INFO] [stdout]    --> src/open_gl.rs:247:8
[INFO] [stdout]     |
[INFO] [stdout] 247 | struct Vertex(Pos, Color);
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `VERTICES` is never used
[INFO] [stdout]    --> src/open_gl.rs:250:7
[INFO] [stdout]     |
[INFO] [stdout] 250 | const VERTICES: [Vertex; 3] = [
[INFO] [stdout]     |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Renderer` is never constructed
[INFO] [stdout]    --> src/open_gl.rs:256:12
[INFO] [stdout]     |
[INFO] [stdout] 256 | pub struct Renderer {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `draw` are never used
[INFO] [stdout]    --> src/open_gl.rs:263:12
[INFO] [stdout]     |
[INFO] [stdout] 262 | impl Renderer {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout] 263 |     pub fn new() -> Result<Self, ShaderError> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 283 |     pub fn draw(&self) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_window` is never used
[INFO] [stdout]    --> src/open_gl.rs:295:8
[INFO] [stdout]     |
[INFO] [stdout] 295 | pub fn build_window() -> () {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `active`, `age`, and `admin` are never read
[INFO] [stdout]  --> src/memory_alignment.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Member {
[INFO] [stdout]   |        ------ fields in this struct
[INFO] [stdout] 5 |     active: bool,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 6 |     age: i32,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 7 |     admin: bool,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.34s
[INFO] running `Command { std: "docker" "inspect" "a1a3d1a2dc2b4ff911499e5e204925ecac41b93145c91c45e5b1d18886fc4f8d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a1a3d1a2dc2b4ff911499e5e204925ecac41b93145c91c45e5b1d18886fc4f8d", kill_on_drop: false }`
[INFO] [stdout] a1a3d1a2dc2b4ff911499e5e204925ecac41b93145c91c45e5b1d18886fc4f8d
