[INFO] cloning repository https://github.com/ericrobolson/realtime-cpu-raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ericrobolson/realtime-cpu-raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericrobolson%2Frealtime-cpu-raytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericrobolson%2Frealtime-cpu-raytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3d759f2b8a00bf876ab24d2375716c63f5ed0134 [INFO] testing ericrobolson/realtime-cpu-raytracer against master#414482f6a0d4e7290f614300581a0b55442552a3 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericrobolson%2Frealtime-cpu-raytracer" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ericrobolson/realtime-cpu-raytracer on toolchain 414482f6a0d4e7290f614300581a0b55442552a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ericrobolson/realtime-cpu-raytracer [INFO] finished tweaking git repo https://github.com/ericrobolson/realtime-cpu-raytracer [INFO] tweaked toml for git repo https://github.com/ericrobolson/realtime-cpu-raytracer written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ericrobolson/realtime-cpu-raytracer 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" "+414482f6a0d4e7290f614300581a0b55442552a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glow v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc1e9ea5bc4952c775a16833430233fb8f581b90e7c35cdd76c80550332d1cd7 [INFO] running `Command { std: "docker" "start" "-a" "cc1e9ea5bc4952c775a16833430233fb8f581b90e7c35cdd76c80550332d1cd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc1e9ea5bc4952c775a16833430233fb8f581b90e7c35cdd76c80550332d1cd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc1e9ea5bc4952c775a16833430233fb8f581b90e7c35cdd76c80550332d1cd7", kill_on_drop: false }` [INFO] [stdout] cc1e9ea5bc4952c775a16833430233fb8f581b90e7c35cdd76c80550332d1cd7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cdc9477bb6e8853f183eab36556187e1330dca7ca11370a5b80f0cee7c5d182 [INFO] running `Command { std: "docker" "start" "-a" "9cdc9477bb6e8853f183eab36556187e1330dca7ca11370a5b80f0cee7c5d182", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling weezl v0.1.4 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling core_data_structures v0.1.0 (/opt/rustwide/workdir/crates/core_data_structures) [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling core_timing v0.1.0 (/opt/rustwide/workdir/crates/core_timing) [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling glow v0.8.1 [INFO] [stderr] Compiling core_conversions v0.1.0 (/opt/rustwide/workdir/crates/core_conversions) [INFO] [stderr] Compiling core_fs v0.1.0 (/opt/rustwide/workdir/crates/core_fs) [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling core_time v0.1.0 (/opt/rustwide/workdir/crates/core_time) [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling wayland-commons v0.28.5 [INFO] [stderr] Compiling rt_cputracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling wayland-cursor v0.28.5 [INFO] [stderr] Compiling wayland-egl v0.28.5 [INFO] [stderr] Compiling core_img v0.1.0 (/opt/rustwide/workdir/crates/core_img) [INFO] [stderr] Compiling core_renderer v0.1.0 (/opt/rustwide/workdir/crates/core_renderer) [INFO] [stderr] Compiling core_text v0.1.0 (/opt/rustwide/workdir/crates/core_text) [INFO] [stdout] warning: unused import: `core_fs::load` [INFO] [stdout] --> crates/core_text/src/rasterizer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core_fs::load; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::Borrow` [INFO] [stdout] --> crates/core_text/src/rasterizer.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{borrow::Borrow, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bb` [INFO] [stdout] --> crates/core_text/src/rasterizer.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | Some(bb) => false, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bb` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `font_size` is never read [INFO] [stdout] --> crates/core_text/src/rasterizer.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct FontRecord<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 14 | font: Font<'a>, [INFO] [stdout] 15 | font_size: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> crates/core_text/src/rasterizer.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | panic!(format!("error constructing a Font from data at {:?}", font)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 39 - panic!(format!("error constructing a Font from data at {:?}", font)); [INFO] [stdout] 39 + panic!("error constructing a Font from data at {:?}", font); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling core_simulation v0.1.0 (/opt/rustwide/workdir/crates/core_simulation) [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling glutin v0.26.0 [INFO] [stderr] Compiling core_wingfx v0.1.0 (/opt/rustwide/workdir/crates/core_wingfx) [INFO] [stdout] warning: unused imports: `Receiver`, `Sender`, and `channel` [INFO] [stdout] --> crates/core_wingfx/src/lib.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::{channel, Receiver, Sender}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core_renderer::Renderer` [INFO] [stdout] --> crates/core_wingfx/src/glow_gfx/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core_renderer::Renderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ControlMessage` [INFO] [stdout] --> crates/core_wingfx/src/glow_gfx/mod.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use core_simulation::{ControlMessage, Input, Simulation, SimulationExecutor, WindowMsg}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventLoop` [INFO] [stdout] --> crates/core_wingfx/src/glow_gfx/mod.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | use glutin::event_loop::{ControlFlow, EventLoop}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glutin::window::WindowBuilder` [INFO] [stdout] --> crates/core_wingfx/src/glow_gfx/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use glutin::window::WindowBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextBuilder` and `ContextWrapper` [INFO] [stdout] --> crates/core_wingfx/src/glow_gfx/mod.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use glutin::{ContextBuilder, ContextWrapper}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> crates/core_wingfx/src/glow_gfx/glow_render.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | w: u32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> crates/core_wingfx/src/glow_gfx/glow_render.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | h: u32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tex` [INFO] [stdout] --> crates/core_wingfx/src/glow_gfx/glow_render.rs:177:18 [INFO] [stdout] | [INFO] [stdout] 177 | Some(tex) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture_id` [INFO] [stdout] --> crates/core_wingfx/src/glow_gfx/glow_render.rs:190:32 [INFO] [stdout] | [INFO] [stdout] 190 | fn drop_texture(&mut self, texture_id: &TextureId) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_verts` [INFO] [stdout] --> crates/core_wingfx/src/glow_gfx/glow_render.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | let num_verts = vertices.len() / vertice_attributes; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_verts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `shutdown` is never read [INFO] [stdout] --> crates/core_wingfx/src/glow_gfx/mod.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | ... shutdown = true; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shutdown` [INFO] [stdout] --> crates/core_wingfx/src/glow_gfx/mod.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | ... shutdown = true; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UNIFORM_VIEW_EYE` is never used [INFO] [stdout] --> crates/core_wingfx/src/glow_gfx/glow_render.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const UNIFORM_VIEW_EYE: &'static str = "u_view_eye"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UNIFORM_VIEW_TARGET` is never used [INFO] [stdout] --> crates/core_wingfx/src/glow_gfx/glow_render.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const UNIFORM_VIEW_TARGET: &'static str = "u_view_target"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UNIFORM_VIEW_UP` is never used [INFO] [stdout] --> crates/core_wingfx/src/glow_gfx/glow_render.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const UNIFORM_VIEW_UP: &'static str = "u_view_up"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UNIFORM_VIEW_MATRIX` is never used [INFO] [stdout] --> crates/core_wingfx/src/glow_gfx/glow_render.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const UNIFORM_VIEW_MATRIX: &'static str = "u_view_matrix"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UNIFORM_VIEW_FOV_DEGREES` is never used [INFO] [stdout] --> crates/core_wingfx/src/glow_gfx/glow_render.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const UNIFORM_VIEW_FOV_DEGREES: &'static str = "u_view_fov_degrees"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture_id` is never read [INFO] [stdout] --> crates/core_wingfx/src/glow_gfx/glow_render.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct Texture { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 20 | texture_id: TextureId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Texture` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state_commands` is never read [INFO] [stdout] --> crates/core_wingfx/src/glow_gfx/glow_render.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 108 | struct GlowRenderer { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 112 | state_commands: Queue, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> crates/core_wingfx/src/glow_gfx/glow_render.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | panic!(gl.get_shader_info_log(shader)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 66 | panic!("{}", gl.get_shader_info_log(shader)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> crates/core_wingfx/src/glow_gfx/glow_render.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | panic!(gl.get_program_info_log(program)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 74 | panic!("{}", gl.get_program_info_log(program)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ray::Ray` [INFO] [stdout] --> src/core_raytracer/vec3.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{ray::Ray, rng}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/core_raytracer/mod.rs:372:13 [INFO] [stdout] | [INFO] [stdout] 366 | return attenuation * ray_color(&scattered, world, bounces - 1, debug_normals); [INFO] [stdout] | ----------------------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 372 | / return 0.5 [INFO] [stdout] 373 | | * ray_color( [INFO] [stdout] 374 | | &Ray::new(rec.point, target - rec.point), [INFO] [stdout] 375 | | world, [INFO] [stdout] 376 | | bounces - 1, [INFO] [stdout] 377 | | debug_normals, [INFO] [stdout] 378 | | ); [INFO] [stdout] | |__________________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/core_raytracer/rng.rs:1:59 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::{distributions::Uniform, prelude::Distribution, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/profiling.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn track(&mut self, target: &'static str, duration: std::time::Duration) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/profiling.rs:35:51 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn track(&mut self, target: &'static str, duration: std::time::Duration) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/core_raytracer/mod.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | for i in 0..100 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timer` [INFO] [stdout] --> src/core_raytracer/mod.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | let timer = Timer::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u_offset` [INFO] [stdout] --> src/core_raytracer/mod.rs:340:52 [INFO] [stdout] | [INFO] [stdout] 340 | fn make_uv(x: u32, y: u32, max_x: u32, max_y: u32, u_offset: f32, v_offset: f32) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_u_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_offset` [INFO] [stdout] --> src/core_raytracer/mod.rs:340:67 [INFO] [stdout] | [INFO] [stdout] 340 | fn make_uv(x: u32, y: u32, max_x: u32, max_y: u32, u_offset: f32, v_offset: f32) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_v_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/core_raytracer/mod.rs:358:17 [INFO] [stdout] | [INFO] [stdout] 358 | let target = rec.point + Vec3::random_in_hemisphere(rec.normal); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `character_record` [INFO] [stdout] --> src/renderer.rs:158:30 [INFO] [stdout] | [INFO] [stdout] 158 | let (texture_id, character_record) = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_character_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/renderer.rs:163:38 [INFO] [stdout] | [INFO] [stdout] 163 | let (record, mut image) = [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut y = 0.1; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_t` [INFO] [stdout] --> src/main.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | delta_t: core_simulation::Duration, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PERF_DUMP_OCCURENCE` is never used [INFO] [stdout] --> src/main.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const PERF_DUMP_OCCURENCE: u64 = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `map` is never read [INFO] [stdout] --> src/profiling.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ProfilingManager { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 26 | map: std::collections::HashMap<&'static str, Record>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `track` is never used [INFO] [stdout] --> src/profiling.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl ProfilingManager { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn track(&mut self, target: &'static str, duration: std::time::Duration) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `target` are never read [INFO] [stdout] --> src/profiling.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Tracker { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 95 | start: std::time::Instant, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 96 | target: &'static str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/profiling.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl Tracker { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 100 | pub fn new(target: &'static str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `aspect_ratio` is never read [INFO] [stdout] --> src/core_raytracer/mod.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct Raytracer { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 119 | // image specs [INFO] [stdout] 120 | aspect_ratio: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hit_sphere` is never used [INFO] [stdout] --> src/core_raytracer/hittable/sphere.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn hit_sphere(center: &Point3, radius: f32, ray: &Ray) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/renderer.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Command { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/renderer.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl<'a> RtcrRenderer<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcFSsQqr/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libcore_wingfx-48b1835a937ef8d0.rlib,libcore_conversions-eaa3f2e59b2717ef.rlib,libglow-6560e2941e9b7c1d.rlib,libglutin-fd16a3b5a2568326.rlib,libwayland_egl-d057033772639d1b.rlib,libosmesa_sys-70985ad081a62ac0.rlib,libshared_library-68a1d4e367f8ee78.rlib,libwinit-76977342face12ee.rlib,libmio_extras-f8896dcedc3d17a7.rlib,libmio-3e59a080924a71c4.rlib,libslab-ab64617c0d711aec.rlib,libiovec-6021b6ee1b7ee30f.rlib,libnet2-3a62a456d2e9a93a.rlib,liblazycell-0fc01752428421b1.rlib,libpercent_encoding-d8e5e041794fd24f.rlib,libsmithay_client_toolkit-5212404d7c187c69.rlib,libandrew-501e53afaf495a02.rlib,libxml-545228262f00d08d.rlib,libxdg-f7386ae616cafec8.rlib,libwalkdir-9d17ebaf1f88d685.rlib,libsame_file-1ceb7b6153588b15.rlib,libwayland_cursor-1f3f7fbeb4960f20.rlib,libxcursor-3b2767555fb87b35.rlib,libnom-086d434687f337b6.rlib,libmemchr-914f8b61b7405b25.rlib,libmemmap2-0920e6eeb0e935e0.rlib,libwayland_protocols-b483634340c7b8e6.rlib,libwayland_client-22b91e46b9d77e1e.rlib,libscoped_tls-563b287bd664763c.rlib,libwayland_commons-971a4b0eb32ebd58.rlib,libonce_cell-c78cca50d8d56171.rlib,libnix-3165e20bcd930cc5.rlib,libwayland_sys-86007c02fc3eba9e.rlib,libdlib-c21c985287d76525.rlib,liblibloading-264a54599aadeb4c.rlib,libcalloop-bbc7ff6d876bb710.rlib,libnix-ca623132d60bfba2.rlib,libcfg_if-7e9efee4241be1ca.rlib,libdlib-3814cfa741f2cf82.rlib,liblibloading-b9d8331ed624d244.rlib,libraw_window_handle-1f608e4bd6b81418.rlib,libparking_lot-2ddaeb105b968aee.rlib,libparking_lot_core-afd211520867fa64.rlib,libsmallvec-97844d2104066b54.rlib,liblock_api-96daaf05e0aaf24f.rlib,libinstant-b4b0d3068b8068e8.rlib,libglutin_glx_sys-68923210948eaab5.rlib,libx11_dl-ce06e1b517713877.rlib,libmaybe_uninit-dd2e9a8bbd6c23a5.rlib,libglutin_egl_sys-c60e851f8a5a3f54.rlib,liblog-cb1a50f85f9d3564.rlib,libcore_simulation-aba59de3917ae408.rlib,libcore_timing-85ac94f118047ee5.rlib,libcore_text-5b164ae1e1347c30.rlib,librusttype-a391c4987b1326fc.rlib,libab_glyph_rasterizer-046af5444e5ed557.rlib,libowned_ttf_parser-9010dbc35b150e84.rlib,libttf_parser-4d9ca54ec651f9e1.rlib,libcore_fs-782ba8ae4348914a.rlib,libcore_renderer-4dc21a6e40dfccc9.rlib,libcore_img-4a50548e17a04942.rlib,libimage-ede0a17ff0697624.rlib,libbytemuck-b5b5449f1f8a9a18.rlib,libpng-79f9f3155e503dbc.rlib,libminiz_oxide-7f02f655e02afdcf.rlib,libcrc32fast-fb2004b3379a92cb.rlib,libdeflate-a8f6e154957e49cf.rlib,libadler32-884c7c82211a01d9.rlib,libbitflags-ee4b6a8effb9c17a.rlib,libnum_iter-e6a02362a688ef18.rlib,libscoped_threadpool-ea80625569c7ab31.rlib,libnum_rational-5d56dc0612010134.rlib,libnum_integer-b25814bb86c8b517.rlib,libgif-3487e77552c5e844.rlib,libcolor_quant-fa7ff1de0e6ea74b.rlib,libbyteorder-379f547b04d51d02.rlib,libnum_traits-cfed5bfcdbd0c299.rlib,libtiff-6f8d9f310664f2e2.rlib,libweezl-826d1c3772df2679.rlib,libminiz_oxide-676e57d33608a143.rlib,libadler-f4caa73e14204bdd.rlib,libjpeg_decoder-3db47abdbc04b084.rlib,librayon-2743d43d213b663d.rlib,librayon_core-66cbfe46beb3fd64.rlib,libnum_cpus-4179138fa6b21fd2.rlib,libcrossbeam_deque-eafe039ae8d4ca32.rlib,libcrossbeam_epoch-289eb1edcb6523d4.rlib,libmemoffset-56bd7918944ffc8b.rlib,libscopeguard-43643e546252cd47.rlib,libcrossbeam_channel-f5e342b363c4a61e.rlib,libcrossbeam_utils-2559be253900b3c9.rlib,libeither-9e7e392a8497717b.rlib,libcore_data_structures-fab71a256015a452.rlib,librand-b11f55cf484455e9.rlib,librand_chacha-fd270b5c312b4e02.rlib,libppv_lite86-88ed22677a4c0286.rlib,librand_core-ca7f6975412f8a43.rlib,libgetrandom-6ed7641a3259c9a0.rlib,liblibc-1550bfec232c07af.rlib,libcfg_if-33ef6c02a07f9fec.rlib,libcore_time-78dae5559bae470d.rlib,liblazy_static-2bb390fee0230a38.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-ldl" "-ldl" "-ldl" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcFSsQqr/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rt_cputracer-efc8b9f2ea5fd82c" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. [INFO] [stdout] collect2: fatal error: ld terminated with signal 7 [Bus error], core dumped [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rt_cputracer` (bin "rt_cputracer") due to 1 previous error; 23 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9cdc9477bb6e8853f183eab36556187e1330dca7ca11370a5b80f0cee7c5d182", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cdc9477bb6e8853f183eab36556187e1330dca7ca11370a5b80f0cee7c5d182", kill_on_drop: false }` [INFO] [stdout] 9cdc9477bb6e8853f183eab36556187e1330dca7ca11370a5b80f0cee7c5d182