[INFO] cloning repository https://github.com/vgarleanu/raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vgarleanu/raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvgarleanu%2Fraytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvgarleanu%2Fraytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 33454fcfaa355f3bf82719801c6f1c3b4be18e78 [INFO] checking vgarleanu/raytracer against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvgarleanu%2Fraytracer" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vgarleanu/raytracer on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vgarleanu/raytracer [INFO] finished tweaking git repo https://github.com/vgarleanu/raytracer [INFO] tweaked toml for git repo https://github.com/vgarleanu/raytracer written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/vgarleanu/raytracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_yaml v0.8.17 [INFO] [stderr] Downloaded noise v0.6.0 [INFO] [stderr] Downloaded indicatif v0.12.0 [INFO] [stderr] Downloaded snafu-derive v0.5.0 [INFO] [stderr] Downloaded snafu v0.5.0 [INFO] [stderr] Downloaded shellexpand v1.1.1 [INFO] [stderr] Downloaded src v0.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f367ada9ff27a49f6b48417b554396b036b391380adb65a60bd8359bd1bc5dab [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" "f367ada9ff27a49f6b48417b554396b036b391380adb65a60bd8359bd1bc5dab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f367ada9ff27a49f6b48417b554396b036b391380adb65a60bd8359bd1bc5dab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f367ada9ff27a49f6b48417b554396b036b391380adb65a60bd8359bd1bc5dab", kill_on_drop: false }` [INFO] [stdout] f367ada9ff27a49f6b48417b554396b036b391380adb65a60bd8359bd1bc5dab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 689db0d6647f6f1acde1cacf381dbab269350e4707d1423725cc03311e0a4c69 [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" "689db0d6647f6f1acde1cacf381dbab269350e4707d1423725cc03311e0a4c69", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking inflate v0.3.4 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking png v0.11.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking image v0.18.0 [INFO] [stderr] Checking noise v0.6.0 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.5 [INFO] [stderr] Checking raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/hitable.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | std::mem::replace(bounding_box, temp_box.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/hitable.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | std::mem::replace(bounding_box, surrounding_box(bounding_box, &temp_box)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/hitable.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | / std::mem::replace( [INFO] [stdout] 216 | | bounding_box, [INFO] [stdout] 217 | | Aabb::new( [INFO] [stdout] 218 | | self.center - Vec3::with_values(self.radius, self.radius, self.radius), [INFO] [stdout] 219 | | self.center + Vec3::with_values(self.radius, self.radius, self.radius), [INFO] [stdout] 220 | | ), [INFO] [stdout] 221 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/hitable.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | std::mem::replace(bounding_box, surrounding_box(&box0, &box1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/hitable.rs:415:21 [INFO] [stdout] | [INFO] [stdout] 415 | std::mem::replace(rec, rec_left); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/hitable.rs:418:21 [INFO] [stdout] | [INFO] [stdout] 418 | std::mem::replace(rec, rec_right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/hitable.rs:422:17 [INFO] [stdout] | [INFO] [stdout] 422 | std::mem::replace(rec, rec_left); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/hitable.rs:425:17 [INFO] [stdout] | [INFO] [stdout] 425 | std::mem::replace(rec, rec_right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/hitable.rs:440:9 [INFO] [stdout] | [INFO] [stdout] 440 | std::mem::replace(bounding_box, self.bounding_box.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/hitable.rs:498:9 [INFO] [stdout] | [INFO] [stdout] 498 | / std::mem::replace( [INFO] [stdout] 499 | | bounding_box, [INFO] [stdout] 500 | | Aabb::new( [INFO] [stdout] 501 | | Vec3::with_values(self.x0, self.y0, self.k - 0.0001), [INFO] [stdout] 502 | | Vec3::with_values(self.x1, self.y1, self.k + 0.0001), [INFO] [stdout] 503 | | ), [INFO] [stdout] 504 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/hitable.rs:562:9 [INFO] [stdout] | [INFO] [stdout] 562 | / std::mem::replace( [INFO] [stdout] 563 | | bounding_box, [INFO] [stdout] 564 | | Aabb::new( [INFO] [stdout] 565 | | Vec3::with_values(self.x0, self.k - 0.0001, self.z0), [INFO] [stdout] 566 | | Vec3::with_values(self.x1, self.k + 0.0001, self.z1), [INFO] [stdout] 567 | | ), [INFO] [stdout] 568 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/hitable.rs:626:9 [INFO] [stdout] | [INFO] [stdout] 626 | / std::mem::replace( [INFO] [stdout] 627 | | bounding_box, [INFO] [stdout] 628 | | Aabb::new( [INFO] [stdout] 629 | | Vec3::with_values(self.k - 0.0001, self.y0, self.z0), [INFO] [stdout] 630 | | Vec3::with_values(self.k + 0.0001, self.y1, self.z1), [INFO] [stdout] 631 | | ), [INFO] [stdout] 632 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/hitable.rs:722:9 [INFO] [stdout] | [INFO] [stdout] 722 | std::mem::replace(bounding_box, Aabb::new(self.p0, self.p1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/hitable.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | std::mem::replace(bounding_box, temp_box.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/hitable.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | std::mem::replace(bounding_box, surrounding_box(bounding_box, &temp_box)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/hitable.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | / std::mem::replace( [INFO] [stdout] 216 | | bounding_box, [INFO] [stdout] 217 | | Aabb::new( [INFO] [stdout] 218 | | self.center - Vec3::with_values(self.radius, self.radius, self.radius), [INFO] [stdout] 219 | | self.center + Vec3::with_values(self.radius, self.radius, self.radius), [INFO] [stdout] 220 | | ), [INFO] [stdout] 221 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/hitable.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | std::mem::replace(bounding_box, surrounding_box(&box0, &box1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/hitable.rs:415:21 [INFO] [stdout] | [INFO] [stdout] 415 | std::mem::replace(rec, rec_left); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/hitable.rs:418:21 [INFO] [stdout] | [INFO] [stdout] 418 | std::mem::replace(rec, rec_right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/hitable.rs:422:17 [INFO] [stdout] | [INFO] [stdout] 422 | std::mem::replace(rec, rec_left); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/hitable.rs:425:17 [INFO] [stdout] | [INFO] [stdout] 425 | std::mem::replace(rec, rec_right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/hitable.rs:440:9 [INFO] [stdout] | [INFO] [stdout] 440 | std::mem::replace(bounding_box, self.bounding_box.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/hitable.rs:498:9 [INFO] [stdout] | [INFO] [stdout] 498 | / std::mem::replace( [INFO] [stdout] 499 | | bounding_box, [INFO] [stdout] 500 | | Aabb::new( [INFO] [stdout] 501 | | Vec3::with_values(self.x0, self.y0, self.k - 0.0001), [INFO] [stdout] 502 | | Vec3::with_values(self.x1, self.y1, self.k + 0.0001), [INFO] [stdout] 503 | | ), [INFO] [stdout] 504 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/hitable.rs:562:9 [INFO] [stdout] | [INFO] [stdout] 562 | / std::mem::replace( [INFO] [stdout] 563 | | bounding_box, [INFO] [stdout] 564 | | Aabb::new( [INFO] [stdout] 565 | | Vec3::with_values(self.x0, self.k - 0.0001, self.z0), [INFO] [stdout] 566 | | Vec3::with_values(self.x1, self.k + 0.0001, self.z1), [INFO] [stdout] 567 | | ), [INFO] [stdout] 568 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/hitable.rs:626:9 [INFO] [stdout] | [INFO] [stdout] 626 | / std::mem::replace( [INFO] [stdout] 627 | | bounding_box, [INFO] [stdout] 628 | | Aabb::new( [INFO] [stdout] 629 | | Vec3::with_values(self.k - 0.0001, self.y0, self.z0), [INFO] [stdout] 630 | | Vec3::with_values(self.k + 0.0001, self.y1, self.z1), [INFO] [stdout] 631 | | ), [INFO] [stdout] 632 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/hitable.rs:722:9 [INFO] [stdout] | [INFO] [stdout] 722 | std::mem::replace(bounding_box, Aabb::new(self.p0, self.p1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "689db0d6647f6f1acde1cacf381dbab269350e4707d1423725cc03311e0a4c69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "689db0d6647f6f1acde1cacf381dbab269350e4707d1423725cc03311e0a4c69", kill_on_drop: false }` [INFO] [stdout] 689db0d6647f6f1acde1cacf381dbab269350e4707d1423725cc03311e0a4c69