[INFO] cloning repository https://github.com/agxs/at2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/agxs/at2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagxs%2Fat2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagxs%2Fat2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d2c9d5ac66b204cd8ce9be372a45953c4f90160 [INFO] testing agxs/at2 against try#a40ec913238f4f188d97c41aa605cb486451acf2+target=i686-unknown-linux-musl for musl_1_2_upgrade_i686_unknown_linux_musl [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagxs%2Fat2" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/agxs/at2 on toolchain a40ec913238f4f188d97c41aa605cb486451acf2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a40ec913238f4f188d97c41aa605cb486451acf2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/agxs/at2 [INFO] finished tweaking git repo https://github.com/agxs/at2 [INFO] tweaked toml for git repo https://github.com/agxs/at2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/agxs/at2 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" "+a40ec913238f4f188d97c41aa605cb486451acf2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+a40ec913238f4f188d97c41aa605cb486451acf2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2afa766d27c194bed0d4d478262bac7e4154556f0a56b89f53ad77766ca1698f [INFO] running `Command { std: "docker" "start" "-a" "2afa766d27c194bed0d4d478262bac7e4154556f0a56b89f53ad77766ca1698f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2afa766d27c194bed0d4d478262bac7e4154556f0a56b89f53ad77766ca1698f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2afa766d27c194bed0d4d478262bac7e4154556f0a56b89f53ad77766ca1698f", kill_on_drop: false }` [INFO] [stdout] 2afa766d27c194bed0d4d478262bac7e4154556f0a56b89f53ad77766ca1698f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+a40ec913238f4f188d97c41aa605cb486451acf2" "build" "--frozen" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c73ae3ccaf1d354ef1e1234c853c92d0d73e31328e899dba79ea188f6a4a8d1f [INFO] running `Command { std: "docker" "start" "-a" "c73ae3ccaf1d354ef1e1234c853c92d0d73e31328e899dba79ea188f6a4a8d1f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling instant v0.1.8 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling ash v0.34.0+1.2.203 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling wgpu-core v0.12.2 [INFO] [stderr] Compiling gpu-alloc v0.5.3 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.4 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling wgpu-types v0.12.0 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling inplace_it v0.3.3 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling bytemuck v1.9.1 [INFO] [stderr] Compiling rayon-core v1.9.2 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling gpu-descriptor v0.2.2 [INFO] [stderr] Compiling profiling v1.0.5 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling core-foundation-sys v0.8.3 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling wide v0.6.5 [INFO] [stderr] Compiling alga v0.9.3 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling rayon v1.5.2 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling nalgebra v0.20.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling pollster v0.2.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling ultraviolet v0.8.1 [INFO] [stderr] Compiling core-foundation v0.9.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling wayland-commons v0.29.4 [INFO] [stderr] Compiling calloop v0.9.3 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling wayland-cursor v0.29.4 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling naga v0.8.5 [INFO] [stderr] Compiling wgpu-hal v0.12.5 [INFO] [stderr] Compiling bvh v0.3.2 [INFO] [stderr] Compiling winit_input_helper v0.12.0 [INFO] [stderr] Compiling wgpu v0.12.0 [INFO] [stderr] Compiling pixels v0.9.0 [INFO] [stderr] Compiling at2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HitRecord` [INFO] [stdout] --> src/world.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::surface::{HitRecord, Hittable, HittableList}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `random_in_hemisphere` [INFO] [stdout] --> src/world.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::utilities::{clamp, random_in_hemisphere}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hit_anything` is assigned to, but never used [INFO] [stdout] --> src/surface.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let mut hit_anything = false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_hit_anything` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `hit_anything` is never read [INFO] [stdout] --> src/surface.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | hit_anything = 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: function `hit_sphere` is never used [INFO] [stdout] --> src/sphere.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn hit_sphere(center: &Point3, radius: f32, r: &Ray) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `clear` is never used [INFO] [stdout] --> src/surface.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add` is never used [INFO] [stdout] --> src/surface.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn add(&mut self, obj: Box) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PI` is never used [INFO] [stdout] --> src/utilities.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | static PI: f64 = std::f64::consts::PI; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `degrees_to_radians` is never used [INFO] [stdout] --> src/utilities.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn degrees_to_radians(degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_vec3` is never used [INFO] [stdout] --> src/utilities.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn random_vec3() -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_in_hemisphere` is never used [INFO] [stdout] --> src/utilities.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn random_in_hemisphere(normal: &Vector3) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 55.07s [INFO] running `Command { std: "docker" "inspect" "c73ae3ccaf1d354ef1e1234c853c92d0d73e31328e899dba79ea188f6a4a8d1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c73ae3ccaf1d354ef1e1234c853c92d0d73e31328e899dba79ea188f6a4a8d1f", kill_on_drop: false }` [INFO] [stdout] c73ae3ccaf1d354ef1e1234c853c92d0d73e31328e899dba79ea188f6a4a8d1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+a40ec913238f4f188d97c41aa605cb486451acf2" "test" "--frozen" "--no-run" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 48f1eb71efce0905581a10ac138e3774a9e2500595e380dcab603d13a8e7646b [INFO] running `Command { std: "docker" "start" "-a" "48f1eb71efce0905581a10ac138e3774a9e2500595e380dcab603d13a8e7646b", kill_on_drop: false }` [INFO] [stderr] Compiling at2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HitRecord` [INFO] [stdout] --> src/world.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::surface::{HitRecord, Hittable, HittableList}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `random_in_hemisphere` [INFO] [stdout] --> src/world.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::utilities::{clamp, random_in_hemisphere}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hit_anything` is assigned to, but never used [INFO] [stdout] --> src/surface.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let mut hit_anything = false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_hit_anything` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `hit_anything` is never read [INFO] [stdout] --> src/surface.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | hit_anything = 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: function `hit_sphere` is never used [INFO] [stdout] --> src/sphere.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn hit_sphere(center: &Point3, radius: f32, r: &Ray) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `clear` is never used [INFO] [stdout] --> src/surface.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add` is never used [INFO] [stdout] --> src/surface.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn add(&mut self, obj: Box) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PI` is never used [INFO] [stdout] --> src/utilities.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | static PI: f64 = std::f64::consts::PI; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `degrees_to_radians` is never used [INFO] [stdout] --> src/utilities.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn degrees_to_radians(degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_vec3` is never used [INFO] [stdout] --> src/utilities.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn random_vec3() -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_in_hemisphere` is never used [INFO] [stdout] --> src/utilities.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn random_in_hemisphere(normal: &Vector3) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.88s [INFO] running `Command { std: "docker" "inspect" "48f1eb71efce0905581a10ac138e3774a9e2500595e380dcab603d13a8e7646b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48f1eb71efce0905581a10ac138e3774a9e2500595e380dcab603d13a8e7646b", kill_on_drop: false }` [INFO] [stdout] 48f1eb71efce0905581a10ac138e3774a9e2500595e380dcab603d13a8e7646b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+a40ec913238f4f188d97c41aa605cb486451acf2" "test" "--frozen" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4e9212e2af877bb40ba27df90117cff2f4f77efb861fa83ac490f96a88735dc2 [INFO] running `Command { std: "docker" "start" "-a" "4e9212e2af877bb40ba27df90117cff2f4f77efb861fa83ac490f96a88735dc2", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `HitRecord` [INFO] [stderr] --> src/world.rs:1:22 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::surface::{HitRecord, Hittable, HittableList}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `random_in_hemisphere` [INFO] [stderr] --> src/world.rs:2:31 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::utilities::{clamp, random_in_hemisphere}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `hit_anything` is assigned to, but never used [INFO] [stderr] --> src/surface.rs:48:17 [INFO] [stderr] | [INFO] [stderr] 48 | let mut hit_anything = false; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_hit_anything` instead [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `hit_anything` is never read [INFO] [stderr] --> src/surface.rs:53:21 [INFO] [stderr] | [INFO] [stderr] 53 | hit_anything = true; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `hit_sphere` is never used [INFO] [stderr] --> src/sphere.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn hit_sphere(center: &Point3, radius: f32, r: &Ray) -> f32 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `clear` is never used [INFO] [stderr] --> src/surface.rs:35:12 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn clear(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `add` is never used [INFO] [stderr] --> src/surface.rs:39:12 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn add(&mut self, obj: Box) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: static `PI` is never used [INFO] [stderr] --> src/utilities.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | static PI: f64 = std::f64::consts::PI; [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: function `degrees_to_radians` is never used [INFO] [stderr] --> src/utilities.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn degrees_to_radians(degrees: f64) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `random_vec3` is never used [INFO] [stderr] --> src/utilities.rs:34:8 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn random_vec3() -> Vector3 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `random_in_hemisphere` is never used [INFO] [stderr] --> src/utilities.rs:64:8 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn random_in_hemisphere(normal: &Vector3) -> Vector3 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `at2` (bin "at2" test) generated 11 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/i686-unknown-linux-musl/debug/deps/at2-106e3e669164dbf3) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4e9212e2af877bb40ba27df90117cff2f4f77efb861fa83ac490f96a88735dc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e9212e2af877bb40ba27df90117cff2f4f77efb861fa83ac490f96a88735dc2", kill_on_drop: false }` [INFO] [stdout] 4e9212e2af877bb40ba27df90117cff2f4f77efb861fa83ac490f96a88735dc2