[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 master#84e729a59f216cc64755788a470f165429a731f4 for pr-123737-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fernestochero%2Fhello-rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ernestochero/hello-rust on toolchain 84e729a59f216cc64755788a470f165429a731f4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc1/source/Cargo.toml [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" "+84e729a59f216cc64755788a470f165429a731f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v1.0.35 [INFO] [stderr] Downloaded unicode-ident v1.0.4 [INFO] [stderr] Downloaded once_cell v1.14.0 [INFO] [stderr] Downloaded thiserror v1.0.35 [INFO] [stderr] Downloaded num-complex v0.4.2 [INFO] [stderr] Downloaded libm v0.2.5 [INFO] [stderr] Downloaded noisy_float v0.2.0 [INFO] [stderr] Downloaded rand_distr v0.4.3 [INFO] [stderr] Downloaded itertools v0.10.4 [INFO] [stderr] Downloaded ndarray v0.15.6 [INFO] [stderr] Downloaded smallvec v0.4.5 [INFO] [stderr] Downloaded smawk v0.3.1 [INFO] [stderr] Downloaded web-sys v0.3.60 [INFO] [stderr] Downloaded winit v0.27.3 [INFO] [stderr] Downloaded tagger v3.2.1 [INFO] [stderr] Downloaded poloto v2.20.4 [INFO] [stderr] Downloaded textwrap v0.13.4 [INFO] [stderr] Downloaded ferris-says v0.2.1 [INFO] [stderr] Downloaded miniz_oxide v0.5.4 [INFO] [stderr] Downloaded png v0.17.6 [INFO] [stderr] Downloaded js-sys v0.3.60 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.83 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.83 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.83 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.83 [INFO] [stderr] Downloaded wasm-bindgen v0.2.83 [INFO] [stderr] Downloaded ndarray-rand v0.14.0 [INFO] [stderr] Downloaded ndarray-stats v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32e674aacc015ef5ad8ff45ae44c2da3341a4a001038ab8e7044cdb72f0b727f [INFO] running `Command { std: "docker" "start" "-a" "32e674aacc015ef5ad8ff45ae44c2da3341a4a001038ab8e7044cdb72f0b727f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32e674aacc015ef5ad8ff45ae44c2da3341a4a001038ab8e7044cdb72f0b727f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32e674aacc015ef5ad8ff45ae44c2da3341a4a001038ab8e7044cdb72f0b727f", kill_on_drop: false }` [INFO] [stdout] 32e674aacc015ef5ad8ff45ae44c2da3341a4a001038ab8e7044cdb72f0b727f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b1cfefe87822eb976b261c212ad8bdb4e355ccab019d1bcf1caa4e6c639bfba [INFO] running `Command { std: "docker" "start" "-a" "0b1cfefe87822eb976b261c212ad8bdb4e355ccab019d1bcf1caa4e6c639bfba", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking once_cell v1.14.0 [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 memoffset v0.6.5 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Checking libloading v0.7.3 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling libm v0.2.5 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Checking nix v0.24.2 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling thiserror v1.0.35 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking bytemuck v1.12.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling x11-dl v2.20.0 [INFO] [stderr] Compiling crossfont v0.5.0 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking foreign-types-shared v0.3.1 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking tiny-skia-path v0.7.0 [INFO] [stderr] Checking png v0.17.6 [INFO] [stderr] Checking servo-fontconfig v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking safe_arch v0.5.2 [INFO] [stderr] Checking freetype-rs v0.26.0 [INFO] [stderr] Checking memmap2 v0.5.7 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking tiny-skia v0.7.0 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking parking_lot v0.12.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] Compiling gl v0.14.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking smawk v0.3.1 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking textwrap v0.13.4 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.35 [INFO] [stderr] Compiling foreign-types-macros v0.2.2 [INFO] [stderr] Checking itertools v0.10.4 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking wayland-egl v0.29.5 [INFO] [stderr] Checking noisy_float v0.2.0 [INFO] [stderr] Checking smallvec v0.4.5 [INFO] [stderr] Checking tagger v3.2.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking poloto v2.20.4 [INFO] [stderr] Checking ferris-says v0.2.1 [INFO] [stderr] Checking foreign-types v0.5.0 [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)]` 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)]` 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)]` 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 { [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: variants `CompilationError` and `LinkingError` are never constructed [INFO] [stdout] --> src/open_gl.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum ShaderError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 15 | #[error("Error while compiling shader: {0}")] [INFO] [stdout] 16 | CompilationError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | #[error("Error while linking shaders: {0}")] [INFO] [stdout] 18 | LinkingError(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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 { [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 { [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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target` is never read [INFO] [stdout] --> src/open_gl.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct Buffer { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 126 | pub id: GLuint, [INFO] [stdout] 127 | target: GLuint, [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(&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: 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( [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 { [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: 33 warnings emitted [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)]` 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 { [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: variants `CompilationError` and `LinkingError` are never constructed [INFO] [stdout] --> src/open_gl.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum ShaderError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 15 | #[error("Error while compiling shader: {0}")] [INFO] [stdout] 16 | CompilationError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | #[error("Error while linking shaders: {0}")] [INFO] [stdout] 18 | LinkingError(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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 { [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 { [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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target` is never read [INFO] [stdout] --> src/open_gl.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct Buffer { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 126 | pub id: GLuint, [INFO] [stdout] 127 | target: GLuint, [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(&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: 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( [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 { [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: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "0b1cfefe87822eb976b261c212ad8bdb4e355ccab019d1bcf1caa4e6c639bfba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b1cfefe87822eb976b261c212ad8bdb4e355ccab019d1bcf1caa4e6c639bfba", kill_on_drop: false }` [INFO] [stdout] 0b1cfefe87822eb976b261c212ad8bdb4e355ccab019d1bcf1caa4e6c639bfba [INFO] checking ernestochero/hello-rust against try#8d9ad7790f77ffaa434059a58807949d4583c045 for pr-123737-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fernestochero%2Fhello-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ernestochero/hello-rust on toolchain 8d9ad7790f77ffaa434059a58807949d4583c045 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d9ad7790f77ffaa434059a58807949d4583c045" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc2/source/Cargo.toml [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" "+8d9ad7790f77ffaa434059a58807949d4583c045" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8d9ad7790f77ffaa434059a58807949d4583c045" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c235a7dcb9a7c8a1c7ebd57a252b86080c16abc2f70cc1474588662802d6700e [INFO] running `Command { std: "docker" "start" "-a" "c235a7dcb9a7c8a1c7ebd57a252b86080c16abc2f70cc1474588662802d6700e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c235a7dcb9a7c8a1c7ebd57a252b86080c16abc2f70cc1474588662802d6700e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c235a7dcb9a7c8a1c7ebd57a252b86080c16abc2f70cc1474588662802d6700e", kill_on_drop: false }` [INFO] [stdout] c235a7dcb9a7c8a1c7ebd57a252b86080c16abc2f70cc1474588662802d6700e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8d9ad7790f77ffaa434059a58807949d4583c045" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e522ba20908430ab3435f634176f74b5e7e43fc2cb96e8620efafd5055f52234 [INFO] running `Command { std: "docker" "start" "-a" "e522ba20908430ab3435f634176f74b5e7e43fc2cb96e8620efafd5055f52234", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking once_cell v1.14.0 [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 memoffset v0.6.5 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Checking libloading v0.7.3 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling gl_generator v0.14.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] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Checking nix v0.24.2 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.35 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking bytemuck v1.12.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Compiling crossfont v0.5.0 [INFO] [stderr] Compiling x11-dl v2.20.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking foreign-types-shared v0.3.1 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking tiny-skia-path v0.7.0 [INFO] [stderr] Checking png v0.17.6 [INFO] [stderr] Checking safe_arch v0.5.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking servo-fontconfig v0.5.1 [INFO] [stderr] Checking freetype-rs v0.26.0 [INFO] [stderr] Checking memmap2 v0.5.7 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking tiny-skia v0.7.0 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking raw-window-handle v0.5.0 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking smawk v0.3.1 [INFO] [stderr] Compiling thiserror-impl v1.0.35 [INFO] [stderr] Compiling foreign-types-macros v0.2.2 [INFO] [stderr] Checking textwrap v0.13.4 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking itertools v0.10.4 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking wayland-egl v0.29.5 [INFO] [stderr] Checking noisy_float v0.2.0 [INFO] [stderr] Checking tagger v3.2.1 [INFO] [stderr] Checking smallvec v0.4.5 [INFO] [stderr] Checking poloto v2.20.4 [INFO] [stderr] Checking foreign-types v0.5.0 [INFO] [stderr] Checking ferris-says v0.2.1 [INFO] [stderr] Checking walkdir v2.3.2 [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)]` 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)]` 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)]` 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 { [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: variants `CompilationError` and `LinkingError` are never constructed [INFO] [stdout] --> src/open_gl.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum ShaderError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 15 | #[error("Error while compiling shader: {0}")] [INFO] [stdout] 16 | CompilationError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | #[error("Error while linking shaders: {0}")] [INFO] [stdout] 18 | LinkingError(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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 { [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 { [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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target` is never read [INFO] [stdout] --> src/open_gl.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct Buffer { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 126 | pub id: GLuint, [INFO] [stdout] 127 | target: GLuint, [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(&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: 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( [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 { [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: 33 warnings emitted [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)]` 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 { [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: variants `CompilationError` and `LinkingError` are never constructed [INFO] [stdout] --> src/open_gl.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum ShaderError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 15 | #[error("Error while compiling shader: {0}")] [INFO] [stdout] 16 | CompilationError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | #[error("Error while linking shaders: {0}")] [INFO] [stdout] 18 | LinkingError(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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 { [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 { [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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target` is never read [INFO] [stdout] --> src/open_gl.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct Buffer { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 126 | pub id: GLuint, [INFO] [stdout] 127 | target: GLuint, [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(&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: 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( [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 { [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: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "e522ba20908430ab3435f634176f74b5e7e43fc2cb96e8620efafd5055f52234", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e522ba20908430ab3435f634176f74b5e7e43fc2cb96e8620efafd5055f52234", kill_on_drop: false }` [INFO] [stdout] e522ba20908430ab3435f634176f74b5e7e43fc2cb96e8620efafd5055f52234