[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] testing vgarleanu/raytracer against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvgarleanu%2Fraytracer" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vgarleanu/raytracer on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-2/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4193959c391a5e1eb1fb145a2dfb72f7fd140e081b32aeb92c45abc901a5762c [INFO] running `Command { std: "docker" "start" "-a" "4193959c391a5e1eb1fb145a2dfb72f7fd140e081b32aeb92c45abc901a5762c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4193959c391a5e1eb1fb145a2dfb72f7fd140e081b32aeb92c45abc901a5762c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4193959c391a5e1eb1fb145a2dfb72f7fd140e081b32aeb92c45abc901a5762c", kill_on_drop: false }` [INFO] [stdout] 4193959c391a5e1eb1fb145a2dfb72f7fd140e081b32aeb92c45abc901a5762c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6386860ebd9c5bca50d3607c2ad8a702797010afd16ed1702a2f283ef6b1ee1d [INFO] running `Command { std: "docker" "start" "-a" "6386860ebd9c5bca50d3607c2ad8a702797010afd16ed1702a2f283ef6b1ee1d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: raytracer v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `src` which is missing a lib target [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling dyn-clone v1.0.1 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling inflate v0.3.4 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling png v0.15.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling image v0.18.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling image v0.22.3 [INFO] [stderr] Compiling noise v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `uvw` [INFO] [stdout] --> src/camera.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | uvw: (Vec3, Vec3, Vec3), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Camera` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/camera.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.98s [INFO] running `Command { std: "docker" "inspect" "6386860ebd9c5bca50d3607c2ad8a702797010afd16ed1702a2f283ef6b1ee1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6386860ebd9c5bca50d3607c2ad8a702797010afd16ed1702a2f283ef6b1ee1d", kill_on_drop: false }` [INFO] [stdout] 6386860ebd9c5bca50d3607c2ad8a702797010afd16ed1702a2f283ef6b1ee1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84598770a328e768ef1d6a65cdb0bd14391cab97ea6073c3eadf5bc14883a85c [INFO] running `Command { std: "docker" "start" "-a" "84598770a328e768ef1d6a65cdb0bd14391cab97ea6073c3eadf5bc14883a85c", kill_on_drop: false }` [INFO] [stderr] warning: raytracer v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `src` which is missing a lib target [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `uvw` [INFO] [stdout] --> src/camera.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | uvw: (Vec3, Vec3, Vec3), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Camera` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/camera.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.00s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/raytracer-d67a7c66cad3e3fb) [INFO] running `Command { std: "docker" "inspect" "84598770a328e768ef1d6a65cdb0bd14391cab97ea6073c3eadf5bc14883a85c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84598770a328e768ef1d6a65cdb0bd14391cab97ea6073c3eadf5bc14883a85c", kill_on_drop: false }` [INFO] [stdout] 84598770a328e768ef1d6a65cdb0bd14391cab97ea6073c3eadf5bc14883a85c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c09a629109f9a9f82d267b802536a8f5ddf255212b27c3aee55100aeafcef7dc [INFO] running `Command { std: "docker" "start" "-a" "c09a629109f9a9f82d267b802536a8f5ddf255212b27c3aee55100aeafcef7dc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: raytracer v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `src` which is missing a lib target [INFO] [stderr] warning: field is never read: `uvw` [INFO] [stderr] --> src/camera.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | uvw: (Vec3, Vec3, Vec3), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Camera` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/camera.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/hitable.rs:133:13 [INFO] [stderr] | [INFO] [stderr] 133 | std::mem::replace(bounding_box, temp_box.clone()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/hitable.rs:140:17 [INFO] [stderr] | [INFO] [stderr] 140 | std::mem::replace(bounding_box, surrounding_box(bounding_box, &temp_box)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/hitable.rs:215:9 [INFO] [stderr] | [INFO] [stderr] 215 | / std::mem::replace( [INFO] [stderr] 216 | | bounding_box, [INFO] [stderr] 217 | | Aabb::new( [INFO] [stderr] 218 | | self.center - Vec3::with_values(self.radius, self.radius, self.radius), [INFO] [stderr] 219 | | self.center + Vec3::with_values(self.radius, self.radius, self.radius), [INFO] [stderr] 220 | | ), [INFO] [stderr] 221 | | ); [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/hitable.rs:300:9 [INFO] [stderr] | [INFO] [stderr] 300 | std::mem::replace(bounding_box, surrounding_box(&box0, &box1)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/hitable.rs:415:21 [INFO] [stderr] | [INFO] [stderr] 415 | std::mem::replace(rec, rec_left); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/hitable.rs:418:21 [INFO] [stderr] | [INFO] [stderr] 418 | std::mem::replace(rec, rec_right); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/hitable.rs:422:17 [INFO] [stderr] | [INFO] [stderr] 422 | std::mem::replace(rec, rec_left); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/hitable.rs:425:17 [INFO] [stderr] | [INFO] [stderr] 425 | std::mem::replace(rec, rec_right); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/hitable.rs:440:9 [INFO] [stderr] | [INFO] [stderr] 440 | std::mem::replace(bounding_box, self.bounding_box.clone()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/hitable.rs:498:9 [INFO] [stderr] | [INFO] [stderr] 498 | / std::mem::replace( [INFO] [stderr] 499 | | bounding_box, [INFO] [stderr] 500 | | Aabb::new( [INFO] [stderr] 501 | | Vec3::with_values(self.x0, self.y0, self.k - 0.0001), [INFO] [stderr] 502 | | Vec3::with_values(self.x1, self.y1, self.k + 0.0001), [INFO] [stderr] 503 | | ), [INFO] [stderr] 504 | | ); [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/hitable.rs:562:9 [INFO] [stderr] | [INFO] [stderr] 562 | / std::mem::replace( [INFO] [stderr] 563 | | bounding_box, [INFO] [stderr] 564 | | Aabb::new( [INFO] [stderr] 565 | | Vec3::with_values(self.x0, self.k - 0.0001, self.z0), [INFO] [stderr] 566 | | Vec3::with_values(self.x1, self.k + 0.0001, self.z1), [INFO] [stderr] 567 | | ), [INFO] [stderr] 568 | | ); [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/hitable.rs:626:9 [INFO] [stderr] | [INFO] [stderr] 626 | / std::mem::replace( [INFO] [stderr] 627 | | bounding_box, [INFO] [stderr] 628 | | Aabb::new( [INFO] [stderr] 629 | | Vec3::with_values(self.k - 0.0001, self.y0, self.z0), [INFO] [stderr] 630 | | Vec3::with_values(self.k + 0.0001, self.y1, self.z1), [INFO] [stderr] 631 | | ), [INFO] [stderr] 632 | | ); [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/hitable.rs:722:9 [INFO] [stderr] | [INFO] [stderr] 722 | std::mem::replace(bounding_box, Aabb::new(self.p0, self.p1)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: `raytracer` (bin "raytracer" test) generated 14 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.47s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/raytracer-d67a7c66cad3e3fb) [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" "c09a629109f9a9f82d267b802536a8f5ddf255212b27c3aee55100aeafcef7dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c09a629109f9a9f82d267b802536a8f5ddf255212b27c3aee55100aeafcef7dc", kill_on_drop: false }` [INFO] [stdout] c09a629109f9a9f82d267b802536a8f5ddf255212b27c3aee55100aeafcef7dc