[INFO] cloning repository https://github.com/pcostasgr/rustraytracing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pcostasgr/rustraytracing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpcostasgr%2Frustraytracing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpcostasgr%2Frustraytracing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7212a880090b581e665325344ef4a0ae2280045 [INFO] documenting pcostasgr/rustraytracing against 1.46.0 for beta-1.47-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpcostasgr%2Frustraytracing" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pcostasgr/rustraytracing on toolchain 1.46.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pcostasgr/rustraytracing [INFO] finished tweaking git repo https://github.com/pcostasgr/rustraytracing [INFO] tweaked toml for git repo https://github.com/pcostasgr/rustraytracing written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/pcostasgr/rustraytracing already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d664a3995fb6b59bc69bd06578886472e5b3dc7faa72766e0bd3c8691b14b054 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d664a3995fb6b59bc69bd06578886472e5b3dc7faa72766e0bd3c8691b14b054", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d664a3995fb6b59bc69bd06578886472e5b3dc7faa72766e0bd3c8691b14b054", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d664a3995fb6b59bc69bd06578886472e5b3dc7faa72766e0bd3c8691b14b054", kill_on_drop: false }` [INFO] [stdout] d664a3995fb6b59bc69bd06578886472e5b3dc7faa72766e0bd3c8691b14b054 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8aa9fac4074c7a42ff5d8b3d161798a7435c2f6bea0f38ad84c5738455ebcffb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8aa9fac4074c7a42ff5d8b3d161798a7435c2f6bea0f38ad84c5738455ebcffb", kill_on_drop: false }` [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Documenting ray_tracing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `v3f` should have an upper camel case name [INFO] [stdout] --> src/math3d.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | type v3f=Vec3D; [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `V3f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `v3i` should have an upper camel case name [INFO] [stdout] --> src/math3d.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | type v3i=Vec3D; [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `V3i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `v3f` should have an upper camel case name [INFO] [stdout] --> src/main.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | type v3f=math3d::Vec3D; [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `V3f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `v3i` should have an upper camel case name [INFO] [stdout] --> src/main.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | type v3i=math3d::Vec3D; [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `V3i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CreateRandomScene` should have a snake case name [INFO] [stdout] --> src/main.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn CreateRandomScene(world:& mut math3d::World){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_random_scene` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `Hit` should have a snake case name [INFO] [stdout] --> src/math3d.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn Hit(&self,r:Ray,t_min:f32,t_max:f32,rec:& mut HitRecord)->bool; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `GetMaterial` should have a snake case name [INFO] [stdout] --> src/math3d.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn GetMaterial(&self)->& Box; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_material` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Length` should have a snake case name [INFO] [stdout] --> src/math3d.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn Length(&self)-> f32{ [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `SquaredLength` should have a snake case name [INFO] [stdout] --> src/math3d.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn SquaredLength(&self)-> f32{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `squared_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ToI32` should have a snake case name [INFO] [stdout] --> src/math3d.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn ToI32(&self)->Vec3D{ [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `to_i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `PointAtParameter` should have a snake case name [INFO] [stdout] --> src/math3d.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn PointAtParameter(&self,t:f32) -> v3f{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `point_at_parameter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `VecDot3D` should have a snake case name [INFO] [stdout] --> src/math3d.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn VecDot3D(v1:&Vec3D,v2:&Vec3D)-> f32{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `vec_dot3_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `VecCross3D` should have a snake case name [INFO] [stdout] --> src/math3d.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn VecCross3D(v1:&Vec3D,v2:&Vec3D)-> Vec3D{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `vec_cross3_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `VecAdd3D` should have a snake case name [INFO] [stdout] --> src/math3d.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn VecAdd3D(v1:&Vec3D,v2:&Vec3D)-> Vec3D{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `vec_add3_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `VecSub3D` should have a snake case name [INFO] [stdout] --> src/math3d.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn VecSub3D(v1:&Vec3D,v2:&Vec3D)-> Vec3D{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `vec_sub3_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `VecMul3D` should have a snake case name [INFO] [stdout] --> src/math3d.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn VecMul3D(v:&Vec3D,f:f32)->Vec3D{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `vec_mul3_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `VecMulVec3D` should have a snake case name [INFO] [stdout] --> src/math3d.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn VecMulVec3D(v1:&Vec3D,v2:&Vec3D)->Vec3D{ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `vec_mul_vec3_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `VecDiv3D` should have a snake case name [INFO] [stdout] --> src/math3d.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn VecDiv3D(v:&v3f,f:f32)->v3f{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `vec_div3_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `VecNorm3D` should have a snake case name [INFO] [stdout] --> src/math3d.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn VecNorm3D(v:&v3f)->v3f{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `vec_norm3_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Refrect` should have a snake case name [INFO] [stdout] --> src/math3d.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn Refrect(v:&v3f,n:&v3f)->v3f{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `refrect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `GetColor` should have a snake case name [INFO] [stdout] --> src/math3d.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn GetColor(mut ray:Ray,world:& World,depth:i16)->v3f{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `get_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `HitSphere` should have a snake case name [INFO] [stdout] --> src/math3d.rs:246:8 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn HitSphere(center:v3f,radius:f32,r:Ray)->f32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `hit_sphere` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Hit` should have a snake case name [INFO] [stdout] --> src/math3d.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 276 | fn Hit(&self,r:Ray,t_min:f32,t_max:f32,rec:& mut HitRecord)->bool{ [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `GetRay` should have a snake case name [INFO] [stdout] --> src/math3d.rs:336:12 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn GetRay(&self,u:f32,v:f32)->Ray{ [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `RandomInUnitDisk` should have a snake case name [INFO] [stdout] --> src/math3d.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn RandomInUnitDisk()->v3f { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `random_in_unit_disk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `GetRayOld` should have a snake case name [INFO] [stdout] --> src/math3d.rs:436:12 [INFO] [stdout] | [INFO] [stdout] 436 | pub fn GetRayOld(&self,u:f32,v:f32)->Ray{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_ray_old` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `GetRay` should have a snake case name [INFO] [stdout] --> src/math3d.rs:451:12 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn GetRay(&self,u:f32,v:f32)->Ray{ [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `RandomInUnitSphere` should have a snake case name [INFO] [stdout] --> src/math3d.rs:480:8 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn RandomInUnitSphere()->v3f{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `random_in_unit_sphere` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `Scatter` should have a snake case name [INFO] [stdout] --> src/math3d.rs:494:8 [INFO] [stdout] | [INFO] [stdout] 494 | fn Scatter(&self,r_in:&Ray,rec:&HitRecord,attenuation:&mut v3f,scattered:&mut Ray)->bool; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `scatter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Reflect` should have a snake case name [INFO] [stdout] --> src/math3d.rs:573:8 [INFO] [stdout] | [INFO] [stdout] 573 | pub fn Reflect(v:&v3f,n:&v3f)->v3f{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `reflect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Refract` should have a snake case name [INFO] [stdout] --> src/math3d.rs:579:8 [INFO] [stdout] | [INFO] [stdout] 579 | pub fn Refract(v:&v3f,n:&v3f,ni_over_nt:f32,refracted:& mut v3f)-> bool{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `refract` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Schlick` should have a snake case name [INFO] [stdout] --> src/math3d.rs:615:8 [INFO] [stdout] | [INFO] [stdout] 615 | pub fn Schlick(cosine:f32,ref_idx:f32)->f32{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `schlick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.13s [INFO] running `Command { std: "docker" "inspect" "8aa9fac4074c7a42ff5d8b3d161798a7435c2f6bea0f38ad84c5738455ebcffb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8aa9fac4074c7a42ff5d8b3d161798a7435c2f6bea0f38ad84c5738455ebcffb", kill_on_drop: false }` [INFO] [stdout] 8aa9fac4074c7a42ff5d8b3d161798a7435c2f6bea0f38ad84c5738455ebcffb