[INFO] cloning repository https://github.com/fangtiancheng/Ray_tracing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fangtiancheng/Ray_tracing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffangtiancheng%2FRay_tracing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffangtiancheng%2FRay_tracing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 10003e844d4425cf654943a578e77236f9bfe1a9 [INFO] testing fangtiancheng/Ray_tracing against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffangtiancheng%2FRay_tracing" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fangtiancheng/Ray_tracing on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/fangtiancheng/Ray_tracing [INFO] finished tweaking git repo https://github.com/fangtiancheng/Ray_tracing [INFO] tweaked toml for git repo https://github.com/fangtiancheng/Ray_tracing written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/fangtiancheng/Ray_tracing 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" "+1.85.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded image v0.23.7 [INFO] [stderr] Downloaded imageproc v0.20.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8c98186a20a5c573a85fda62ca8aac3112da72f6f896aa63c543eccb3aace18 [INFO] running `Command { std: "docker" "start" "-a" "b8c98186a20a5c573a85fda62ca8aac3112da72f6f896aa63c543eccb3aace18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8c98186a20a5c573a85fda62ca8aac3112da72f6f896aa63c543eccb3aace18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8c98186a20a5c573a85fda62ca8aac3112da72f6f896aa63c543eccb3aace18", kill_on_drop: false }` [INFO] [stdout] b8c98186a20a5c573a85fda62ca8aac3112da72f6f896aa63c543eccb3aace18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e64a6cbff58ee07ce484cf396441bdfce9a2af5d0e1ae9ac92ef95c1593eee0 [INFO] running `Command { std: "docker" "start" "-a" "4e64a6cbff58ee07ce484cf396441bdfce9a2af5d0e1ae9ac92ef95c1593eee0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling terminal_size v0.1.13 [INFO] [stderr] Compiling termios v0.3.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling rulinalg v0.4.2 [INFO] [stderr] Compiling console v0.11.3 [INFO] [stderr] Compiling indicatif v0.15.0 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling image v0.23.7 [INFO] [stderr] Compiling imageproc v0.20.0 [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use image::ImageBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `ImageBuffer` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub use texture::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use image::ImageBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `Arc` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub use texture::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utility::*` [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub use utility::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BvhNode` is never constructed [INFO] [stdout] --> src/hit.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | struct BvhNode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:173:44 [INFO] [stdout] | [INFO] [stdout] 173 | ... let ray: Ray = CAM.get_ray(u, v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 230 | if STATIC_WORLD.hit(&ray, 0.001, std::f64::INFINITY, &mut rec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.84s [INFO] running `Command { std: "docker" "inspect" "4e64a6cbff58ee07ce484cf396441bdfce9a2af5d0e1ae9ac92ef95c1593eee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e64a6cbff58ee07ce484cf396441bdfce9a2af5d0e1ae9ac92ef95c1593eee0", kill_on_drop: false }` [INFO] [stdout] 4e64a6cbff58ee07ce484cf396441bdfce9a2af5d0e1ae9ac92ef95c1593eee0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6a537a5c1ff3d1d91392266f9cc33aad7eea94a0798fcc8eb59f53a6576c66e [INFO] running `Command { std: "docker" "start" "-a" "e6a537a5c1ff3d1d91392266f9cc33aad7eea94a0798fcc8eb59f53a6576c66e", kill_on_drop: false }` [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use image::ImageBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `ImageBuffer` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub use texture::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use image::ImageBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `Arc` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub use texture::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utility::*` [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub use utility::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BvhNode` is never constructed [INFO] [stdout] --> src/hit.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | struct BvhNode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:173:44 [INFO] [stdout] | [INFO] [stdout] 173 | ... let ray: Ray = CAM.get_ray(u, v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 230 | if STATIC_WORLD.hit(&ray, 0.001, std::f64::INFINITY, &mut rec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "e6a537a5c1ff3d1d91392266f9cc33aad7eea94a0798fcc8eb59f53a6576c66e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6a537a5c1ff3d1d91392266f9cc33aad7eea94a0798fcc8eb59f53a6576c66e", kill_on_drop: false }` [INFO] [stdout] e6a537a5c1ff3d1d91392266f9cc33aad7eea94a0798fcc8eb59f53a6576c66e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 05a9c6f11d76ced2119f3996d4e2d642d25b9a6d80b93e690d3d0e9be83db90b [INFO] running `Command { std: "docker" "start" "-a" "05a9c6f11d76ced2119f3996d4e2d642d25b9a6d80b93e690d3d0e9be83db90b", kill_on_drop: false }` [INFO] [stderr] warning: private item shadows public glob re-export [INFO] [stderr] --> src/main.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | use image::ImageBuffer; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the name `ImageBuffer` in the type namespace is supposed to be publicly re-exported here [INFO] [stderr] --> src/main.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | pub use texture::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] note: but the private item here shadows it [INFO] [stderr] --> src/main.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | use image::ImageBuffer; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: private item shadows public glob re-export [INFO] [stderr] --> src/main.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the name `Arc` in the type namespace is supposed to be publicly re-exported here [INFO] [stderr] --> src/main.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | pub use texture::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] note: but the private item here shadows it [INFO] [stderr] --> src/main.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `utility::*` [INFO] [stderr] --> src/main.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | pub use utility::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `BvhNode` is never constructed [INFO] [stderr] --> src/hit.rs:94:8 [INFO] [stderr] | [INFO] [stderr] 94 | struct BvhNode { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/main.rs:173:44 [INFO] [stderr] | [INFO] [stderr] 173 | ... let ray: Ray = CAM.get_ray(u, v); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/main.rs:230:12 [INFO] [stderr] | [INFO] [stderr] 230 | if STATIC_WORLD.hit(&ray, 0.001, std::f64::INFINITY, &mut rec) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: `raytracer` (bin "raytracer" test) generated 6 warnings (run `cargo fix --bin "raytracer" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/raytracer-ae99662d287ffc33) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test vec3::tests::test_add ... ok [INFO] [stdout] test vec3::tests::test_add_assign_f64 ... ok [INFO] [stdout] test vec3::tests::test_add_assign ... ok [INFO] [stdout] test vec3::tests::test_length ... ok [INFO] [stdout] test vec3::tests::test_mul ... ok [INFO] [stdout] test vec3::tests::test_mul_assign ... ok [INFO] [stdout] test vec3::tests::test_mul_f64 ... ok [INFO] [stdout] test vec3::tests::test_neg ... ok [INFO] [stdout] test vec3::tests::test_div ... ok [INFO] [stdout] test vec3::tests::test_elemul ... ok [INFO] [stdout] test vec3::tests::test_new ... ok [INFO] [stdout] test vec3::tests::test_sub_assign ... ok [INFO] [stdout] test vec3::tests::test_cross ... ok [INFO] [stdout] test vec3::tests::test_sub_assign_f64 ... ok [INFO] [stdout] test vec3::tests::test_add_f64 ... ok [INFO] [stdout] test vec3::tests::test_sub_f64 ... ok [INFO] [stdout] test vec3::tests::test_sub ... ok [INFO] [stdout] test vec3::tests::test_unit ... ok [INFO] [stdout] test vec3::tests::test_squared_length ... ok [INFO] [stdout] test vec3::tests::test_unit_panic - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "05a9c6f11d76ced2119f3996d4e2d642d25b9a6d80b93e690d3d0e9be83db90b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05a9c6f11d76ced2119f3996d4e2d642d25b9a6d80b93e690d3d0e9be83db90b", kill_on_drop: false }` [INFO] [stdout] 05a9c6f11d76ced2119f3996d4e2d642d25b9a6d80b93e690d3d0e9be83db90b