[INFO] cloning repository https://github.com/ykafia/rust_path_tracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ykafia/rust_path_tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fykafia%2Frust_path_tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fykafia%2Frust_path_tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0675c5b236a0bf71acf9629df0746be291d2b0dc [INFO] building ykafia/rust_path_tracer against try#dd06aa59b9c8562b8b5652c638defc5836c326d0 for pr-137044-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fykafia%2Frust_path_tracer" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ykafia/rust_path_tracer on toolchain dd06aa59b9c8562b8b5652c638defc5836c326d0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dd06aa59b9c8562b8b5652c638defc5836c326d0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ykafia/rust_path_tracer [INFO] finished tweaking git repo https://github.com/ykafia/rust_path_tracer [INFO] tweaked toml for git repo https://github.com/ykafia/rust_path_tracer written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ykafia/rust_path_tracer 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" "+dd06aa59b9c8562b8b5652c638defc5836c326d0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+dd06aa59b9c8562b8b5652c638defc5836c326d0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e20c00cdd44d264dc2bc9a17480f566a6a93ba46b6477a51bd24af5b8b698ac [INFO] running `Command { std: "docker" "start" "-a" "6e20c00cdd44d264dc2bc9a17480f566a6a93ba46b6477a51bd24af5b8b698ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e20c00cdd44d264dc2bc9a17480f566a6a93ba46b6477a51bd24af5b8b698ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e20c00cdd44d264dc2bc9a17480f566a6a93ba46b6477a51bd24af5b8b698ac", kill_on_drop: false }` [INFO] [stdout] 6e20c00cdd44d264dc2bc9a17480f566a6a93ba46b6477a51bd24af5b8b698ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+dd06aa59b9c8562b8b5652c638defc5836c326d0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 049c0c6063b9cdeffe602b1570ee9c449a9bb9102a41175ba4d31c9117336f5f [INFO] running `Command { std: "docker" "start" "-a" "049c0c6063b9cdeffe602b1570ee9c449a9bb9102a41175ba4d31c9117336f5f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling downcast-rs v1.1.1 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling wayland-sys v0.25.0 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling xkbcommon-sys v0.7.4 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling cc v1.0.55 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling deflate v0.8.4 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling wayland-scanner v0.25.0 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling png v0.16.6 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling minifb v0.16.0 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling xkb v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling wayland-client v0.25.0 [INFO] [stderr] Compiling wayland-protocols v0.25.0 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling paste-impl v0.1.10 [INFO] [stderr] Compiling paste v0.1.10 [INFO] [stderr] Compiling simba v0.1.5 [INFO] [stderr] Compiling wayland-commons v0.25.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling nalgebra v0.21.1 [INFO] [stderr] Compiling image v0.23.6 [INFO] [stderr] Compiling wayland-cursor v0.25.0 [INFO] [stderr] Compiling thracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stdout] --> src/material/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> src/material/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/material/color.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/graphics/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/graphics/sphere.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::*` [INFO] [stdout] --> src/graphics/sphere.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/graphics/lights.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | (p.intensity / (x * x + y * y + z * z).sqrt()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - (p.intensity / (x * x + y * y + z * z).sqrt()) [INFO] [stdout] 48 + p.intensity / (x * x + y * y + z * z).sqrt() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stdout] --> src/utils/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> src/utils/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoParallelRefIterator` [INFO] [stdout] --> src/window/mod.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use rayon::iter::{IntoParallelRefIterator,IntoParallelIterator,ParallelIterator, IndexedParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::iter::Chunks` [INFO] [stdout] --> src/window/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rayon::iter::Chunks; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `material::*` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use material::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::*` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use utils::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::gif::Encoder` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use image::gif::Encoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/graphics/triangle.rs:12:42 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(coord: [Vector3; 3], col: Color, albedo: f32) -> Tri { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `u32_buffer` is never read [INFO] [stdout] --> src/window/mod.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut u32_buffer: Vec = [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: variable does not need to be mutable [INFO] [stdout] --> src/window/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut buf = vec![115u8; 3*W*H]; [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:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let mut image = [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Texture` is never constructed [INFO] [stdout] --> src/material/material.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Texture { [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_pixel` is never used [INFO] [stdout] --> src/material/material.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Texture { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 19 | pub fn get_pixel(&self, x : usize, y : usize) -> Rgba { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Texture` is never constructed [INFO] [stdout] --> src/material/material.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum Surface { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 38 | Color(Color), [INFO] [stdout] 39 | Texture(DynamicImage) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Surface` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `textured` is never used [INFO] [stdout] --> src/graphics/plane.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Plane { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn textured() -> Plane { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `textured` is never used [INFO] [stdout] --> src/graphics/sphere.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 15 | pub fn textured(x: f32, y: f32, z: f32,texture_path : &str, radius : f32, albedo : f32) -> Sphere { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Triangle` is never constructed [INFO] [stdout] --> src/graphics/element.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Element { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 5 | Triangle(Tri) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/graphics/lights.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl DirectionalLight { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(direction: Vector3, color: Color, intensity: f32) -> Self { Self { direction, color, intensity } } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PointLight` is never constructed [INFO] [stdout] --> src/graphics/lights.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Light { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 25 | DirectionalLight(DirectionalLight), [INFO] [stdout] 26 | PointLight(PointLight), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Light` 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: associated functions `new`, `new_defined`, and `calculate_normal` are never used [INFO] [stdout] --> src/graphics/triangle.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Tri { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 12 | pub fn new(coord: [Vector3; 3], col: Color, albedo: f32) -> Tri { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn new_defined() -> Tri { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn calculate_normal(coord: [Vector3; 3]) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_Tri_area` is never used [INFO] [stdout] --> src/graphics/triangle.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | fn compute_Tri_area( a : Vector3, b : Vector3, intersection : Vector3) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/graphics/scene.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 199 | &self.image.put_pixel(x as u32, y as u32, new_buffer[y * self.camera.width + x]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 199 | let _ = &self.image.put_pixel(x as u32, y as u32, new_buffer[y * self.camera.width + x]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_Tri_area` should have a snake case name [INFO] [stdout] --> src/graphics/triangle.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | fn compute_Tri_area( a : Vector3, b : Vector3, intersection : Vector3) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `compute_tri_area` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_inside_Tri` should have a snake case name [INFO] [stdout] --> src/graphics/triangle.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn check_inside_Tri( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_inside_tri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Tri` should have a snake case name [INFO] [stdout] --> src/graphics/triangle.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | Tri: [Vector3; 3]) -> bool { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `tri` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] PROBLEMATIC OBJECtS [INFO] [stderr] [("/usr/lib/x86_64-linux-gnu/libxkbcommon.so", ".ctors"), ("/usr/lib/x86_64-linux-gnu/libxkbcommon.so", ".dtors")] [INFO] [stderr] [INFO] [stderr] thread 'rustc' panicked at compiler/rustc_codegen_ssa/src/back/link.rs:1070:9: [INFO] [stderr] [("/usr/lib/x86_64-linux-gnu/libxkbcommon.so", ".ctors"), ("/usr/lib/x86_64-linux-gnu/libxkbcommon.so", ".dtors")] [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x76fed07e5690 - ::fmt::hbab8c721684401b4 [INFO] [stderr] 1: 0x76fed102897c - core::fmt::write::h158028a1057c5444 [INFO] [stderr] 2: 0x76fed22d1651 - std::io::Write::write_fmt::ha5ec77d89deb6b83 [INFO] [stderr] 3: 0x76fed07e54f2 - std::sys::backtrace::BacktraceLock::print::hc4e637a574877308 [INFO] [stderr] 4: 0x76fed07e7972 - std::panicking::default_hook::{{closure}}::hf5423323c6d3b2d4 [INFO] [stderr] 5: 0x76fed07e77fa - std::panicking::default_hook::hff94fcfd526aa5a1 [INFO] [stderr] 6: 0x76fecf944789 - std[61d1a8db00d809ea]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 7: 0x76fed07e84f3 - std::panicking::rust_panic_with_hook::h2a12398dc9c3b0c4 [INFO] [stderr] 8: 0x76fed07e81ea - std::panicking::begin_panic_handler::{{closure}}::h5e82acf7c1a42a12 [INFO] [stderr] 9: 0x76fed07e5b79 - std::sys::backtrace::__rust_end_short_backtrace::hc302e7511b865bc3 [INFO] [stderr] 10: 0x76fed07e7ead - rust_begin_unwind [INFO] [stderr] 11: 0x76fecd43f5a0 - core::panicking::panic_fmt::h83ef9ec7652d3d28 [INFO] [stderr] 12: 0x76fed210b3f9 - rustc_codegen_ssa[d055474915c3d4b8]::back::link::link_natively [INFO] [stderr] 13: 0x76fed1fd3dc8 - rustc_codegen_ssa[d055474915c3d4b8]::back::link::link_binary [INFO] [stderr] 14: 0x76fed1fd2d59 - ::link [INFO] [stderr] 15: 0x76fed1f3b7ab - rustc_interface[934c1539811e3af6]::interface::run_compiler::<(), rustc_driver_impl[c31b513e5783efcc]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 16: 0x76fed1e98684 - std[61d1a8db00d809ea]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 17: 0x76fed1e98359 - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[8ca11d5e748da07e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 18: 0x76fed1e97aef - std::sys::pal::unix::thread::Thread::new::thread_start::h39744fe8806739fa [INFO] [stderr] 19: 0x76fed355fac3 - [INFO] [stderr] 20: 0x76fed35f0a04 - clone [INFO] [stderr] 21: 0x0 - [INFO] [stderr] [INFO] [stderr] error: the compiler unexpectedly panicked. this is a bug. [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: please make sure that you have updated to the latest nightly [INFO] [stderr] [INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/workdir/rustc-ice-2025-02-17T19_10_33-1979.txt`: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] note: rustc 1.86.0-nightly (dd06aa59b 2025-02-15) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: --crate-type bin -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] end of query stack [INFO] [stderr] error: could not compile `thracer` (bin "thracer"); 30 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/dd06aa59b9c8562b8b5652c638defc5836c326d0/bin/rustc --crate-name thracer --edition=2018 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=7a9c5f9261ec3fea -C extra-filename=-ce5ca0922037792c --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern image=/opt/rustwide/target/debug/deps/libimage-5acd29c2e5d3f5e4.rlib --extern minifb=/opt/rustwide/target/debug/deps/libminifb-70c1fbdc1e0c0e92.rlib --extern nalgebra=/opt/rustwide/target/debug/deps/libnalgebra-6b4515cf7d98542a.rlib --extern rayon=/opt/rustwide/target/debug/deps/librayon-2ad0a1c55084b9d6.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/minifb-cc837cda43408e3e/out -L native=/usr/lib/x86_64-linux-gnu` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "049c0c6063b9cdeffe602b1570ee9c449a9bb9102a41175ba4d31c9117336f5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "049c0c6063b9cdeffe602b1570ee9c449a9bb9102a41175ba4d31c9117336f5f", kill_on_drop: false }` [INFO] [stdout] 049c0c6063b9cdeffe602b1570ee9c449a9bb9102a41175ba4d31c9117336f5f