[INFO] cloning repository https://github.com/JL2023-coder/r_3d [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JL2023-coder/r_3d" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJL2023-coder%2Fr_3d", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJL2023-coder%2Fr_3d'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a224ac941f8b8f8cc1d78161fdb46e5202a8905a [INFO] building JL2023-coder/r_3d against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJL2023-coder%2Fr_3d" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JL2023-coder/r_3d [INFO] finished tweaking git repo https://github.com/JL2023-coder/r_3d [INFO] tweaked toml for git repo https://github.com/JL2023-coder/r_3d written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JL2023-coder/r_3d on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JL2023-coder/r_3d 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ndk-glue v0.5.2 [INFO] [stderr] Downloaded ndk v0.5.0 [INFO] [stderr] Downloaded calloop v0.9.3 [INFO] [stderr] Downloaded simba v0.9.0 [INFO] [stderr] Downloaded slotmap v0.4.3 [INFO] [stderr] Downloaded glutin v0.28.0 [INFO] [stderr] Downloaded safe_arch v0.7.4 [INFO] [stderr] Downloaded wide v0.7.32 [INFO] [stderr] Downloaded memmap2 v0.3.1 [INFO] [stderr] Downloaded smithay-client-toolkit v0.15.4 [INFO] [stderr] Downloaded glow v0.7.2 [INFO] [stderr] Downloaded nix v0.22.3 [INFO] [stderr] Downloaded winit v0.26.1 [INFO] [stderr] Downloaded nalgebra v0.33.2 [INFO] [stderr] Downloaded earcutr v0.2.0 [INFO] [stderr] Downloaded speedy2d v2.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0bd660d812dffdb1ee8cf65b4f2faebd5a3f7640b0f51fe54e677205c8968c07 [INFO] running `Command { std: "docker" "start" "-a" "0bd660d812dffdb1ee8cf65b4f2faebd5a3f7640b0f51fe54e677205c8968c07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bd660d812dffdb1ee8cf65b4f2faebd5a3f7640b0f51fe54e677205c8968c07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bd660d812dffdb1ee8cf65b4f2faebd5a3f7640b0f51fe54e677205c8968c07", kill_on_drop: false }` [INFO] [stdout] 0bd660d812dffdb1ee8cf65b4f2faebd5a3f7640b0f51fe54e677205c8968c07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fa496fc7969ab1772fea7d18c2e3429a9d5b88db72e93a41e255d11c5eac6c0 [INFO] running `Command { std: "docker" "start" "-a" "8fa496fc7969ab1772fea7d18c2e3429a9d5b88db72e93a41e255d11c5eac6c0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.4 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling glow v0.7.2 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling wide v0.7.32 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling earcutr v0.2.0 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling simba v0.9.0 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling wayland-egl v0.29.5 [INFO] [stderr] Compiling calloop v0.9.3 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling nalgebra v0.33.2 [INFO] [stderr] Compiling glutin v0.28.0 [INFO] [stderr] Compiling speedy2d v2.1.0 [INFO] [stderr] Compiling r_3d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `FRAC_PI_8` [INFO] [stdout] --> src/window_handler.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use std::f32::consts::{FRAC_PI_4, FRAC_PI_8}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Const`, `OPoint`, `Vector3`, and `matrix` [INFO] [stdout] --> src/window_handler.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use nalgebra::{matrix, point, vector, Const, Matrix4, OPoint, Vector3}; [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `coordinates::X` [INFO] [stdout] --> src/transformations.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use nalgebra::{coordinates::X, Matrix4, matrix, point, Const, OPoint, Point3, Vector3}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `main` [INFO] [stdout] --> src/transformations.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{main, shapes::Rectangle}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color` [INFO] [stdout] --> src/drawing.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use speedy2d::{color, Graphics2D}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `speedy2d::dimen::Vector2` [INFO] [stdout] --> src/camera.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use speedy2d::dimen::Vector2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/window_handler.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `w`, `h`, and `l` are never read [INFO] [stdout] --> src/shapes.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Rectangle { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub w: f32, pub h: f32, pub l: f32, [INFO] [stdout] | ^ ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `proj_2d` is never used [INFO] [stdout] --> src/transformations.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn proj_2d(rect: &Rectangle) -> [OPoint>; 8] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_y` is never used [INFO] [stdout] --> src/transformations.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn rotate_y(rect: &mut Rectangle, x: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_z` is never used [INFO] [stdout] --> src/transformations.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn rotate_z(rect: &mut Rectangle, x: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "8fa496fc7969ab1772fea7d18c2e3429a9d5b88db72e93a41e255d11c5eac6c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fa496fc7969ab1772fea7d18c2e3429a9d5b88db72e93a41e255d11c5eac6c0", kill_on_drop: false }` [INFO] [stdout] 8fa496fc7969ab1772fea7d18c2e3429a9d5b88db72e93a41e255d11c5eac6c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 547b37559440dbf8d12cdfa015d55ebb79e49d16d80f1e7c3e7e267bdfe0077a [INFO] running `Command { std: "docker" "start" "-a" "547b37559440dbf8d12cdfa015d55ebb79e49d16d80f1e7c3e7e267bdfe0077a", kill_on_drop: false }` [INFO] [stderr] Compiling r_3d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `FRAC_PI_8` [INFO] [stdout] --> src/window_handler.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use std::f32::consts::{FRAC_PI_4, FRAC_PI_8}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Const`, `OPoint`, `Vector3`, and `matrix` [INFO] [stdout] --> src/window_handler.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use nalgebra::{matrix, point, vector, Const, Matrix4, OPoint, Vector3}; [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `coordinates::X` [INFO] [stdout] --> src/transformations.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use nalgebra::{coordinates::X, Matrix4, matrix, point, Const, OPoint, Point3, Vector3}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `main` [INFO] [stdout] --> src/transformations.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{main, shapes::Rectangle}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color` [INFO] [stdout] --> src/drawing.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use speedy2d::{color, Graphics2D}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `speedy2d::dimen::Vector2` [INFO] [stdout] --> src/camera.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use speedy2d::dimen::Vector2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/window_handler.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `w`, `h`, and `l` are never read [INFO] [stdout] --> src/shapes.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Rectangle { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub w: f32, pub h: f32, pub l: f32, [INFO] [stdout] | ^ ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `proj_2d` is never used [INFO] [stdout] --> src/transformations.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn proj_2d(rect: &Rectangle) -> [OPoint>; 8] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_y` is never used [INFO] [stdout] --> src/transformations.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn rotate_y(rect: &mut Rectangle, x: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_z` is never used [INFO] [stdout] --> src/transformations.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn rotate_z(rect: &mut Rectangle, x: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.67s [INFO] running `Command { std: "docker" "inspect" "547b37559440dbf8d12cdfa015d55ebb79e49d16d80f1e7c3e7e267bdfe0077a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "547b37559440dbf8d12cdfa015d55ebb79e49d16d80f1e7c3e7e267bdfe0077a", kill_on_drop: false }` [INFO] [stdout] 547b37559440dbf8d12cdfa015d55ebb79e49d16d80f1e7c3e7e267bdfe0077a