[INFO] cloning repository https://github.com/icemanx7/ray-tracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/icemanx7/ray-tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficemanx7%2Fray-tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficemanx7%2Fray-tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 390ec18b056f8979d8e8f2b489ad3419c2255647 [INFO] building icemanx7/ray-tracer against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficemanx7%2Fray-tracer" "/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/icemanx7/ray-tracer on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/icemanx7/ray-tracer [INFO] finished tweaking git repo https://github.com/icemanx7/ray-tracer [INFO] tweaked toml for git repo https://github.com/icemanx7/ray-tracer written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/icemanx7/ray-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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] Error response from daemon: symlink /proc/mounts /var/lib/docker/overlay2/954da32488a896f7c88b7dba0bb3d83c6b24efc92dc190baba3695d5f2c01dd5-init/merged/etc/mtab: file exists [INFO] building icemanx7/ray-tracer against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficemanx7%2Fray-tracer" "/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/icemanx7/ray-tracer on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/icemanx7/ray-tracer [INFO] finished tweaking git repo https://github.com/icemanx7/ray-tracer [INFO] tweaked toml for git repo https://github.com/icemanx7/ray-tracer written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/icemanx7/ray-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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] Error response from daemon: mkdir /var/lib/docker/overlay2/313a6749fb35b80f65820218886bbf105d09c2e2b2eab79ff3b407187771c7b1-init: no space left on device [INFO] building icemanx7/ray-tracer against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficemanx7%2Fray-tracer" "/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/icemanx7/ray-tracer on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/icemanx7/ray-tracer [INFO] finished tweaking git repo https://github.com/icemanx7/ray-tracer [INFO] tweaked toml for git repo https://github.com/icemanx7/ray-tracer written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/icemanx7/ray-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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 375367a87bd2821fea76c2e216a911ded2173ea323838ecafc0870894d418765 [INFO] running `Command { std: "docker" "start" "-a" "375367a87bd2821fea76c2e216a911ded2173ea323838ecafc0870894d418765", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "375367a87bd2821fea76c2e216a911ded2173ea323838ecafc0870894d418765", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "375367a87bd2821fea76c2e216a911ded2173ea323838ecafc0870894d418765", kill_on_drop: false }` [INFO] [stdout] 375367a87bd2821fea76c2e216a911ded2173ea323838ecafc0870894d418765 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc7ecbf52b83d6a9dd58ba2bb74c30b6ab494d215ddec817d8d7c97e79bae668 [INFO] running `Command { std: "docker" "start" "-a" "fc7ecbf52b83d6a9dd58ba2bb74c30b6ab494d215ddec817d8d7c97e79bae668", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling ray-tracing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/hittable.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | if (temp < t_max && temp > t_min) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 66 - if (temp < t_max && temp > t_min) { [INFO] [stdout] 66 + if temp < t_max && temp > t_min { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/hittable.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | if (temp < t_max && temp > t_min) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 75 - if (temp < t_max && temp > t_min) { [INFO] [stdout] 75 + if temp < t_max && temp > t_min { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dot` [INFO] [stdout] --> src/hittable_list.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | vec3::{dot, Vec3}, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `hittableList` should have an upper camel case name [INFO] [stdout] --> src/hittable_list.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct hittableList { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HittableList` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HitRecord`, `Hittable`, `Sphere`, `Vec3`, `dot`, and `ray::Ray` [INFO] [stdout] --> src/weekend.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | hittable::{HitRecord, Hittable, Sphere}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] 3 | ray::Ray, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | vec3::{dot, Vec3}, [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/weekend.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ops::Deref` and `sync::Arc` [INFO] [stdout] --> src/weekend.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{f64::consts::PI, ops::Deref, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | for s in 0..samples_per_pixel { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `origin` and `mult` are never used [INFO] [stdout] --> src/ray.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl Ray { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 10 | fn origin(self) -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn mult(vect: Vec3, t: f64) -> Vec3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `x`, `y`, `z`, and `random` are never used [INFO] [stdout] --> src/vec3.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Vec3 { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn x(self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn y(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn z(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn random() -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `degrees_to_radians` is never used [INFO] [stdout] --> src/weekend.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn degrees_to_radians(degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `doesHit` should have a snake case name [INFO] [stdout] --> src/hittable.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub doesHit: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `does_hit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `hitRecord` should have a snake case name [INFO] [stdout] --> src/hittable.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub hitRecord: HitRecord, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `hit_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `doesHit` should have a snake case name [INFO] [stdout] --> src/hittable.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(doesHit: bool, hitRecord: HitRecord) -> ReturnHitRecord { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `does_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hitRecord` should have a snake case name [INFO] [stdout] --> src/hittable.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(doesHit: bool, hitRecord: HitRecord) -> ReturnHitRecord { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `hit_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `objTemps` should have a snake case name [INFO] [stdout] --> src/hittable_list.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | let objTemps = obj.hit(r, t_min, closest_so_far); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `obj_temps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pVec` should have a snake case name [INFO] [stdout] --> src/ray.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let pVec = Vec3 { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `p_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lenthSquared` should have a snake case name [INFO] [stdout] --> src/vec3.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn lenthSquared(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `lenth_squared` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getLength` should have a snake case name [INFO] [stdout] --> src/vec3.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn getLength(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `randomRange` should have a snake case name [INFO] [stdout] --> src/vec3.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn randomRange(min: f64, max: f64) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `random_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_doubleRange` should have a snake case name [INFO] [stdout] --> src/weekend.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn random_doubleRange(min: f64, max: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `random_double_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.82s [INFO] running `Command { std: "docker" "inspect" "fc7ecbf52b83d6a9dd58ba2bb74c30b6ab494d215ddec817d8d7c97e79bae668", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc7ecbf52b83d6a9dd58ba2bb74c30b6ab494d215ddec817d8d7c97e79bae668", kill_on_drop: false }` [INFO] [stdout] fc7ecbf52b83d6a9dd58ba2bb74c30b6ab494d215ddec817d8d7c97e79bae668 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54a5d23eff7b84fb9f1696393e117225a4bac6b6e1af555b5abe974e651f68bb [INFO] running `Command { std: "docker" "start" "-a" "54a5d23eff7b84fb9f1696393e117225a4bac6b6e1af555b5abe974e651f68bb", kill_on_drop: false }` [INFO] [stderr] Compiling ray-tracing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/hittable.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | if (temp < t_max && temp > t_min) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 66 - if (temp < t_max && temp > t_min) { [INFO] [stdout] 66 + if temp < t_max && temp > t_min { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/hittable.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | if (temp < t_max && temp > t_min) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 75 - if (temp < t_max && temp > t_min) { [INFO] [stdout] 75 + if temp < t_max && temp > t_min { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dot` [INFO] [stdout] --> src/hittable_list.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | vec3::{dot, Vec3}, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `hittableList` should have an upper camel case name [INFO] [stdout] --> src/hittable_list.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct hittableList { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HittableList` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HitRecord`, `Hittable`, `Sphere`, `Vec3`, `dot`, and `ray::Ray` [INFO] [stdout] --> src/weekend.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | hittable::{HitRecord, Hittable, Sphere}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] 3 | ray::Ray, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | vec3::{dot, Vec3}, [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/weekend.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ops::Deref` and `sync::Arc` [INFO] [stdout] --> src/weekend.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{f64::consts::PI, ops::Deref, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | for s in 0..samples_per_pixel { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `origin` and `mult` are never used [INFO] [stdout] --> src/ray.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl Ray { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 10 | fn origin(self) -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn mult(vect: Vec3, t: f64) -> Vec3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `x`, `y`, `z`, and `random` are never used [INFO] [stdout] --> src/vec3.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Vec3 { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn x(self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn y(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn z(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn random() -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `degrees_to_radians` is never used [INFO] [stdout] --> src/weekend.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn degrees_to_radians(degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `doesHit` should have a snake case name [INFO] [stdout] --> src/hittable.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub doesHit: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `does_hit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `hitRecord` should have a snake case name [INFO] [stdout] --> src/hittable.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub hitRecord: HitRecord, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `hit_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `doesHit` should have a snake case name [INFO] [stdout] --> src/hittable.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(doesHit: bool, hitRecord: HitRecord) -> ReturnHitRecord { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `does_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hitRecord` should have a snake case name [INFO] [stdout] --> src/hittable.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(doesHit: bool, hitRecord: HitRecord) -> ReturnHitRecord { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `hit_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `objTemps` should have a snake case name [INFO] [stdout] --> src/hittable_list.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | let objTemps = obj.hit(r, t_min, closest_so_far); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `obj_temps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pVec` should have a snake case name [INFO] [stdout] --> src/ray.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let pVec = Vec3 { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `p_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lenthSquared` should have a snake case name [INFO] [stdout] --> src/vec3.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn lenthSquared(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `lenth_squared` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getLength` should have a snake case name [INFO] [stdout] --> src/vec3.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn getLength(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `randomRange` should have a snake case name [INFO] [stdout] --> src/vec3.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn randomRange(min: f64, max: f64) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `random_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_doubleRange` should have a snake case name [INFO] [stdout] --> src/weekend.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn random_doubleRange(min: f64, max: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `random_double_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "54a5d23eff7b84fb9f1696393e117225a4bac6b6e1af555b5abe974e651f68bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54a5d23eff7b84fb9f1696393e117225a4bac6b6e1af555b5abe974e651f68bb", kill_on_drop: false }` [INFO] [stdout] 54a5d23eff7b84fb9f1696393e117225a4bac6b6e1af555b5abe974e651f68bb