[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] checking ericrobolson/realtime-cpu-raytracer against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericrobolson%2Frealtime-cpu-raytracer" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ericrobolson/realtime-cpu-raytracer on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-10/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: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8433d3593baaaf395756d9438c51a08cb583c4f73854de44b7e079c9f984a534 [INFO] running `Command { std: "docker" "start" "-a" "8433d3593baaaf395756d9438c51a08cb583c4f73854de44b7e079c9f984a534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8433d3593baaaf395756d9438c51a08cb583c4f73854de44b7e079c9f984a534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8433d3593baaaf395756d9438c51a08cb583c4f73854de44b7e079c9f984a534", kill_on_drop: false }` [INFO] [stdout] 8433d3593baaaf395756d9438c51a08cb583c4f73854de44b7e079c9f984a534 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7a1818c434dbbe2da5a7a72b40d01abec12275b08a29ed83a57415a95b42839 [INFO] running `Command { std: "docker" "start" "-a" "c7a1818c434dbbe2da5a7a72b40d01abec12275b08a29ed83a57415a95b42839", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] libc v0.2.89 (as host dependency): extra_traits [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking bytemuck v1.5.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking core_data_structures v0.1.0 (/tmp/fixit/crates/core_data_structures) [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking core_timing v0.1.0 (/tmp/fixit/crates/core_timing) [INFO] [stderr] Checking core_fs v0.1.0 (/tmp/fixit/crates/core_fs) [INFO] [stderr] Checking glow v0.8.1 [INFO] [stderr] Checking core_conversions v0.1.0 (/tmp/fixit/crates/core_conversions) [INFO] [stderr] Checking core_time v0.1.0 (/tmp/fixit/crates/core_time) [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Checking dlib v0.4.2 [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 num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking nix v0.18.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking glutin_glx_sys v0.1.7 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking wayland-commons v0.28.5 [INFO] [stderr] Compiling rt_cputracer v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2018 edition to 2021 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking wayland-cursor v0.28.5 [INFO] [stderr] Checking wayland-egl v0.28.5 [INFO] [stderr] Checking core_img v0.1.0 (/tmp/fixit/crates/core_img) [INFO] [stderr] Checking core_renderer v0.1.0 (/tmp/fixit/crates/core_renderer) [INFO] [stderr] Checking core_text v0.1.0 (/tmp/fixit/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 is never read: `font_size` [INFO] [stdout] --> crates/core_text/src/rasterizer.rs:15:5 [INFO] [stdout] | [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: `#[warn(non_fmt_panics)]` on by default [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] 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] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking core_simulation v0.1.0 (/tmp/fixit/crates/core_simulation) [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking winit v0.24.0 [INFO] [stderr] Checking glutin v0.26.0 [INFO] [stderr] Checking core_wingfx v0.1.0 (/tmp/fixit/crates/core_wingfx) [INFO] [stdout] warning: unused imports: `Receiver`, `Sender`, `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`, `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: 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] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = help: did you mean to capture by reference instead? [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] [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: `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: 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: constant is never used: `UNIFORM_VIEW_EYE` [INFO] [stdout] --> crates/core_wingfx/src/glow_gfx/glow_render.rs:12:1 [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 is never used: `UNIFORM_VIEW_TARGET` [INFO] [stdout] --> crates/core_wingfx/src/glow_gfx/glow_render.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const UNIFORM_VIEW_TARGET: &'static str = "u_view_target"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `UNIFORM_VIEW_UP` [INFO] [stdout] --> crates/core_wingfx/src/glow_gfx/glow_render.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const UNIFORM_VIEW_UP: &'static str = "u_view_up"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `UNIFORM_VIEW_MATRIX` [INFO] [stdout] --> crates/core_wingfx/src/glow_gfx/glow_render.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const UNIFORM_VIEW_MATRIX: &'static str = "u_view_matrix"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `UNIFORM_VIEW_FOV_DEGREES` [INFO] [stdout] --> crates/core_wingfx/src/glow_gfx/glow_render.rs:16:1 [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 is never read: `state_commands` [INFO] [stdout] --> crates/core_wingfx/src/glow_gfx/glow_render.rs:112:5 [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: `#[warn(non_fmt_panics)]` on by default [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] 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: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `rt_cputracer` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/core_raytracer/mod.rs [INFO] [stderr] * src/core_raytracer/rng.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0425]: cannot find value `target` in this scope [INFO] [stderr] --> src/core_raytracer/mod.rs:374:42 [INFO] [stderr] | [INFO] [stderr] 374 | &Ray::new(rec.point, target - rec.point), [INFO] [stderr] | ^^^^^^ help: a local variable with a similar name exists: `_target` [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/core_raytracer/mod.rs:372:13 [INFO] [stderr] | [INFO] [stderr] 366 | return attenuation * ray_color(&scattered, world, bounces - 1, debug_normals); [INFO] [stderr] | ----------------------------------------------------------------------------- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 372 | / return 0.5 [INFO] [stderr] 373 | | * ray_color( [INFO] [stderr] 374 | | &Ray::new(rec.point, target - rec.point), [INFO] [stderr] 375 | | world, [INFO] [stderr] 376 | | bounces - 1, [INFO] [stderr] 377 | | debug_normals, [INFO] [stderr] 378 | | ); [INFO] [stderr] | |__________________^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Rng` [INFO] [stderr] --> src/core_raytracer/rng.rs:1:59 [INFO] [stderr] | [INFO] [stderr] 1 | use rand::{distributions::Uniform, prelude::Distribution, Rng}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] error[E0425]: cannot find value `target` in this scope [INFO] [stdout] --> src/core_raytracer/mod.rs:374:42 [INFO] [stdout] | [INFO] [stdout] 374 | &Ray::new(rec.point, target - rec.point), [INFO] [stdout] | ^^^^^^ help: a local variable with a similar name exists: `_target` [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: 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] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rt_cputracer` due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: `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] = note: `#[warn(unused_variables)]` on by default [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] [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: `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: `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: `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/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] = note: `#[warn(unused_mut)]` on by default [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] [INFO] [stdout] warning: field is never read: `map` [INFO] [stdout] --> src/profiling.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | map: std::collections::HashMap<&'static str, Record>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `track` [INFO] [stdout] --> src/profiling.rs:35:12 [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: field is never read: `start` [INFO] [stdout] --> src/profiling.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | start: std::time::Instant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `target` [INFO] [stdout] --> src/profiling.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | target: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/profiling.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn new(target: &'static str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hit_sphere` [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: field is never read: `aspect_ratio` [INFO] [stdout] --> src/core_raytracer/mod.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | aspect_ratio: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/renderer.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear` [INFO] [stdout] --> src/renderer.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PERF_DUMP_OCCURENCE` [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | const PERF_DUMP_OCCURENCE: u64 = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "c7a1818c434dbbe2da5a7a72b40d01abec12275b08a29ed83a57415a95b42839", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7a1818c434dbbe2da5a7a72b40d01abec12275b08a29ed83a57415a95b42839", kill_on_drop: false }` [INFO] [stdout] c7a1818c434dbbe2da5a7a72b40d01abec12275b08a29ed83a57415a95b42839