[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 master#2fe50cd72c476ebacdedb14893e9632b4de961c2 for pr-116088-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvgarleanu%2Fraytracer" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vgarleanu/raytracer on toolchain 2fe50cd72c476ebacdedb14893e9632b4de961c2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fe50cd72c476ebacdedb14893e9632b4de961c2" "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-6-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fe50cd72c476ebacdedb14893e9632b4de961c2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unic-ucd-version v0.7.0 [INFO] [stderr] Downloaded matches v0.1.10 [INFO] [stderr] Downloaded crypto-common v0.1.6 [INFO] [stderr] Downloaded thiserror-impl v1.0.52 [INFO] [stderr] Downloaded encode_unicode v0.3.6 [INFO] [stderr] Downloaded windows-targets v0.42.2 [INFO] [stderr] Downloaded pest_meta v2.7.5 [INFO] [stderr] Downloaded rayon v1.3.0 [INFO] [stderr] Downloaded crossbeam-utils v0.7.0 [INFO] [stderr] Downloaded libredox v0.0.1 [INFO] [stderr] Downloaded enum_primitive v0.1.1 [INFO] [stderr] Downloaded iana-time-zone-haiku v0.1.2 [INFO] [stderr] Downloaded addr2line v0.21.0 [INFO] [stderr] Downloaded dyn-clone v1.0.1 [INFO] [stderr] Downloaded num-rational v0.1.42 [INFO] [stderr] Downloaded wasi v0.11.0+wasi-snapshot-preview1 [INFO] [stderr] Downloaded yaml-rust v0.4.5 [INFO] [stderr] Downloaded rand v0.5.6 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.42.2 [INFO] [stderr] Downloaded windows_i686_msvc v0.52.0 [INFO] [stderr] Downloaded libz-sys v1.1.12 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.42.2 [INFO] [stderr] Downloaded windows-sys v0.52.0 [INFO] [stderr] Downloaded unic-char-property v0.7.0 [INFO] [stderr] Downloaded src v0.0.5 [INFO] [stderr] Downloaded windows-sys v0.45.0 [INFO] [stderr] Downloaded unic-common v0.7.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.48.5 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.52.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.52.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.52.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.48.5 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.52.0 [INFO] [stderr] Downloaded regex-automata v0.4.3 [INFO] [stderr] Downloaded windows_i686_gnu v0.48.5 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.48.5 [INFO] [stderr] Downloaded windows_i686_gnu v0.42.2 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.42.2 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.48.5 [INFO] [stderr] Downloaded regex-syntax v0.8.2 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.52.0 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.48.5 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.48.5 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.42.2 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.42.2 [INFO] [stderr] Downloaded libgit2-sys v0.9.2 [INFO] [stderr] Downloaded windows_i686_msvc v0.42.2 [INFO] [stderr] Downloaded chrono v0.4.31 [INFO] [stderr] Downloaded deunicode v1.4.2 [INFO] [stderr] Downloaded gimli v0.28.1 [INFO] [stderr] Downloaded object v0.32.2 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.52.0 [INFO] [stderr] Downloaded regex v1.10.2 [INFO] [stderr] Downloaded clap v2.33.0 [INFO] [stderr] Downloaded libssh2-sys v0.2.23 [INFO] [stderr] Downloaded js-sys v0.3.66 [INFO] [stderr] Downloaded serde_json v1.0.44 [INFO] [stderr] Downloaded windows-core v0.51.1 [INFO] [stderr] Downloaded aho-corasick v1.1.2 [INFO] [stderr] Downloaded tera v0.11.20 [INFO] [stderr] Downloaded wasm-bindgen v0.2.89 [INFO] [stderr] Downloaded syn v1.0.12 [INFO] [stderr] Downloaded snafu v0.5.0 [INFO] [stderr] Downloaded backtrace v0.3.69 [INFO] [stderr] Downloaded humansize v1.1.1 [INFO] [stderr] Downloaded image v0.18.0 [INFO] [stderr] Downloaded git2 v0.10.2 [INFO] [stderr] Downloaded jpeg-decoder v0.1.18 [INFO] [stderr] Downloaded serde_yaml v0.8.26 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.89 [INFO] [stderr] Downloaded getrandom v0.2.11 [INFO] [stderr] Downloaded unic-segment v0.7.0 [INFO] [stderr] Downloaded pest v2.7.5 [INFO] [stderr] Downloaded url v1.7.2 [INFO] [stderr] Downloaded num_cpus v1.11.1 [INFO] [stderr] Downloaded rayon-core v1.7.0 [INFO] [stderr] Downloaded ansi_term v0.11.0 [INFO] [stderr] Downloaded serde v1.0.104 [INFO] [stderr] Downloaded png v0.11.0 [INFO] [stderr] Downloaded num-traits v0.2.10 [INFO] [stderr] Downloaded c2-chacha v0.2.3 [INFO] [stderr] Downloaded png v0.15.2 [INFO] [stderr] Downloaded percent-encoding v1.0.1 [INFO] [stderr] Downloaded pest_generator v2.7.5 [INFO] [stderr] Downloaded digest v0.10.7 [INFO] [stderr] Downloaded dirs-sys v0.3.7 [INFO] [stderr] Downloaded thiserror v1.0.52 [INFO] [stderr] Downloaded xdg v2.5.2 [INFO] [stderr] Downloaded block-buffer v0.10.4 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.89 [INFO] [stderr] Downloaded dirs v2.0.2 [INFO] [stderr] Downloaded unicode-width v0.1.7 [INFO] [stderr] Downloaded redox_syscall v0.4.1 [INFO] [stderr] Downloaded ucd-trie v0.1.6 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.89 [INFO] [stderr] Downloaded unic-ucd-segment v0.7.0 [INFO] [stderr] Downloaded crossbeam-queue v0.2.1 [INFO] [stderr] Downloaded autocfg v0.1.7 [INFO] [stderr] Downloaded generic-array v0.14.7 [INFO] [stderr] Downloaded pest_derive v2.7.5 [INFO] [stderr] Downloaded error-chain v0.12.4 [INFO] [stderr] Downloaded indicatif v0.12.0 [INFO] [stderr] Downloaded either v1.5.3 [INFO] [stderr] Downloaded linked-hash-map v0.5.6 [INFO] [stderr] Downloaded shellexpand v1.1.1 [INFO] [stderr] Downloaded snafu-derive v0.5.0 [INFO] [stderr] Downloaded android-tzdata v0.1.1 [INFO] [stderr] Downloaded slug v0.1.5 [INFO] [stderr] Downloaded getrandom v0.1.13 [INFO] [stderr] Downloaded iana-time-zone v0.1.58 [INFO] [stderr] Downloaded gif v0.9.2 [INFO] [stderr] Downloaded doc-comment v0.3.3 [INFO] [stderr] Downloaded number_prefix v0.3.0 [INFO] [stderr] Downloaded memoffset v0.5.3 [INFO] [stderr] Downloaded hermit-abi v0.1.6 [INFO] [stderr] Downloaded noise v0.6.0 [INFO] [stderr] Downloaded crossbeam-deque v0.7.2 [INFO] [stderr] Downloaded ppv-lite86 v0.2.6 [INFO] [stderr] Downloaded inflate v0.3.4 [INFO] [stderr] Downloaded windows-targets v0.52.0 [INFO] [stderr] Downloaded unic-char-range v0.7.0 [INFO] [stderr] Downloaded core-foundation-sys v0.8.6 [INFO] [stderr] Downloaded cpufeatures v0.2.11 [INFO] [stderr] Downloaded sha2 v0.10.8 [INFO] [stderr] Downloaded rustc-demangle v0.1.23 [INFO] [stderr] Downloaded console v0.15.7 [INFO] [stderr] Downloaded crossbeam-epoch v0.8.0 [INFO] [stderr] Downloaded jobserver v0.1.27 [INFO] [stderr] Downloaded bumpalo v3.14.0 [INFO] [stderr] Downloaded serde_derive v1.0.104 [INFO] [stderr] Downloaded typenum v1.17.0 [INFO] [stderr] Downloaded idna v0.1.5 [INFO] [stderr] Downloaded scoped_threadpool v0.1.9 [INFO] [stderr] Downloaded windows-targets v0.48.5 [INFO] [stderr] Downloaded redox_users v0.4.4 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.89 [INFO] [stderr] Downloaded android_system_properties v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2fe50cd72c476ebacdedb14893e9632b4de961c2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 596ad28d2f63ed1eb3c95e5e62f88256932f3c8583a32a907194602c35bd3ced [INFO] running `Command { std: "docker" "start" "-a" "596ad28d2f63ed1eb3c95e5e62f88256932f3c8583a32a907194602c35bd3ced", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "596ad28d2f63ed1eb3c95e5e62f88256932f3c8583a32a907194602c35bd3ced", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "596ad28d2f63ed1eb3c95e5e62f88256932f3c8583a32a907194602c35bd3ced", kill_on_drop: false }` [INFO] [stdout] 596ad28d2f63ed1eb3c95e5e62f88256932f3c8583a32a907194602c35bd3ced [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2fe50cd72c476ebacdedb14893e9632b4de961c2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4419ee42d9be583e35c0914648a1a1b8f9a985fef011872e45959af876b49ab [INFO] running `Command { std: "docker" "start" "-a" "a4419ee42d9be583e35c0914648a1a1b8f9a985fef011872e45959af876b49ab", 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 autocfg v0.1.7 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.2 [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 scopeguard v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling syn v1.0.12 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling inflate v0.3.4 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling png v0.15.2 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling dyn-clone v1.0.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling image v0.18.0 [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 `uvw` is never read [INFO] [stdout] --> src/camera.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | uvw: (Vec3, Vec3, Vec3), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 133 | let _ = std::mem::replace(bounding_box, temp_box.clone()); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 140 | let _ = std::mem::replace(bounding_box, surrounding_box(bounding_box, &temp_box)); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 215 | let _ = std::mem::replace( [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 300 | let _ = std::mem::replace(bounding_box, surrounding_box(&box0, &box1)); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 415 | let _ = std::mem::replace(rec, rec_left); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 418 | let _ = std::mem::replace(rec, rec_right); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 422 | let _ = std::mem::replace(rec, rec_left); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 425 | let _ = std::mem::replace(rec, rec_right); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 440 | let _ = std::mem::replace(bounding_box, self.bounding_box.clone()); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 498 | let _ = std::mem::replace( [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 562 | let _ = std::mem::replace( [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 626 | let _ = std::mem::replace( [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 722 | let _ = std::mem::replace(bounding_box, Aabb::new(self.p0, self.p1)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.74s [INFO] running `Command { std: "docker" "inspect" "a4419ee42d9be583e35c0914648a1a1b8f9a985fef011872e45959af876b49ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4419ee42d9be583e35c0914648a1a1b8f9a985fef011872e45959af876b49ab", kill_on_drop: false }` [INFO] [stdout] a4419ee42d9be583e35c0914648a1a1b8f9a985fef011872e45959af876b49ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2fe50cd72c476ebacdedb14893e9632b4de961c2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d336f2f64d807ffe4737470dbbeb0035e0ec8fe3ee32090984bb8cce8a96b16b [INFO] running `Command { std: "docker" "start" "-a" "d336f2f64d807ffe4737470dbbeb0035e0ec8fe3ee32090984bb8cce8a96b16b", 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 `uvw` is never read [INFO] [stdout] --> src/camera.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | uvw: (Vec3, Vec3, Vec3), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 133 | let _ = std::mem::replace(bounding_box, temp_box.clone()); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 140 | let _ = std::mem::replace(bounding_box, surrounding_box(bounding_box, &temp_box)); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 215 | let _ = std::mem::replace( [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 300 | let _ = std::mem::replace(bounding_box, surrounding_box(&box0, &box1)); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 415 | let _ = std::mem::replace(rec, rec_left); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 418 | let _ = std::mem::replace(rec, rec_right); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 422 | let _ = std::mem::replace(rec, rec_left); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 425 | let _ = std::mem::replace(rec, rec_right); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 440 | let _ = std::mem::replace(bounding_box, self.bounding_box.clone()); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 498 | let _ = std::mem::replace( [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 562 | let _ = std::mem::replace( [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 626 | let _ = std::mem::replace( [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 722 | let _ = std::mem::replace(bounding_box, Aabb::new(self.p0, self.p1)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `Command { std: "docker" "inspect" "d336f2f64d807ffe4737470dbbeb0035e0ec8fe3ee32090984bb8cce8a96b16b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d336f2f64d807ffe4737470dbbeb0035e0ec8fe3ee32090984bb8cce8a96b16b", kill_on_drop: false }` [INFO] [stdout] d336f2f64d807ffe4737470dbbeb0035e0ec8fe3ee32090984bb8cce8a96b16b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2fe50cd72c476ebacdedb14893e9632b4de961c2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4a10656621d7c5c14b0ab73942636eecb409b707dd662ee1dc3330e36a579f58 [INFO] running `Command { std: "docker" "start" "-a" "4a10656621d7c5c14b0ab73942636eecb409b707dd662ee1dc3330e36a579f58", 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] warning: field `uvw` is never read [INFO] [stderr] --> src/camera.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Camera { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 12 | uvw: (Vec3, Vec3, Vec3), [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Camera` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [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: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 133 | let _ = std::mem::replace(bounding_box, temp_box.clone()); [INFO] [stderr] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 140 | let _ = std::mem::replace(bounding_box, surrounding_box(bounding_box, &temp_box)); [INFO] [stderr] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 215 | let _ = std::mem::replace( [INFO] [stderr] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 300 | let _ = std::mem::replace(bounding_box, surrounding_box(&box0, &box1)); [INFO] [stderr] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 415 | let _ = std::mem::replace(rec, rec_left); [INFO] [stderr] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 418 | let _ = std::mem::replace(rec, rec_right); [INFO] [stderr] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 422 | let _ = std::mem::replace(rec, rec_left); [INFO] [stderr] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 425 | let _ = std::mem::replace(rec, rec_right); [INFO] [stderr] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 440 | let _ = std::mem::replace(bounding_box, self.bounding_box.clone()); [INFO] [stderr] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 498 | let _ = std::mem::replace( [INFO] [stderr] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 562 | let _ = std::mem::replace( [INFO] [stderr] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 626 | let _ = std::mem::replace( [INFO] [stderr] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 722 | let _ = std::mem::replace(bounding_box, Aabb::new(self.p0, self.p1)); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `raytracer` (bin "raytracer" test) generated 14 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/raytracer-153f9bb90fd0520d) [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" "4a10656621d7c5c14b0ab73942636eecb409b707dd662ee1dc3330e36a579f58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a10656621d7c5c14b0ab73942636eecb409b707dd662ee1dc3330e36a579f58", kill_on_drop: false }` [INFO] [stdout] 4a10656621d7c5c14b0ab73942636eecb409b707dd662ee1dc3330e36a579f58 [INFO] testing vgarleanu/raytracer against try#9c1665de5d324fe858dc15371578d6f928bfc123 for pr-116088-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvgarleanu%2Fraytracer" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vgarleanu/raytracer on toolchain 9c1665de5d324fe858dc15371578d6f928bfc123 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c1665de5d324fe858dc15371578d6f928bfc123" "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-6-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c1665de5d324fe858dc15371578d6f928bfc123" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9c1665de5d324fe858dc15371578d6f928bfc123" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e7a064deeeaf0fec58c588a8f8caa7865775f5b9e63e382700a9a6de6db7b75 [INFO] running `Command { std: "docker" "start" "-a" "6e7a064deeeaf0fec58c588a8f8caa7865775f5b9e63e382700a9a6de6db7b75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e7a064deeeaf0fec58c588a8f8caa7865775f5b9e63e382700a9a6de6db7b75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e7a064deeeaf0fec58c588a8f8caa7865775f5b9e63e382700a9a6de6db7b75", kill_on_drop: false }` [INFO] [stdout] 6e7a064deeeaf0fec58c588a8f8caa7865775f5b9e63e382700a9a6de6db7b75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9c1665de5d324fe858dc15371578d6f928bfc123" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52cc0825a1a9242c9031f5787cee5055d2635e98217c479cc4620384b04c57b5 [INFO] running `Command { std: "docker" "start" "-a" "52cc0825a1a9242c9031f5787cee5055d2635e98217c479cc4620384b04c57b5", 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 autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling syn v1.0.12 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling inflate v0.3.4 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling png v0.15.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling dyn-clone v1.0.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling image v0.18.0 [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 `uvw` is never read [INFO] [stdout] --> src/camera.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | uvw: (Vec3, Vec3, Vec3), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 133 | let _ = std::mem::replace(bounding_box, temp_box.clone()); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 140 | let _ = std::mem::replace(bounding_box, surrounding_box(bounding_box, &temp_box)); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 215 | let _ = std::mem::replace( [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 300 | let _ = std::mem::replace(bounding_box, surrounding_box(&box0, &box1)); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 415 | let _ = std::mem::replace(rec, rec_left); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 418 | let _ = std::mem::replace(rec, rec_right); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 422 | let _ = std::mem::replace(rec, rec_left); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 425 | let _ = std::mem::replace(rec, rec_right); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 440 | let _ = std::mem::replace(bounding_box, self.bounding_box.clone()); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 498 | let _ = std::mem::replace( [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 562 | let _ = std::mem::replace( [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 626 | let _ = std::mem::replace( [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 722 | let _ = std::mem::replace(bounding_box, Aabb::new(self.p0, self.p1)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.50s [INFO] running `Command { std: "docker" "inspect" "52cc0825a1a9242c9031f5787cee5055d2635e98217c479cc4620384b04c57b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52cc0825a1a9242c9031f5787cee5055d2635e98217c479cc4620384b04c57b5", kill_on_drop: false }` [INFO] [stdout] 52cc0825a1a9242c9031f5787cee5055d2635e98217c479cc4620384b04c57b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9c1665de5d324fe858dc15371578d6f928bfc123" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a3aac61482baeaea3a5b3d75fa89de7a628cc04877902e72ebd9aec5e78bb86 [INFO] running `Command { std: "docker" "start" "-a" "7a3aac61482baeaea3a5b3d75fa89de7a628cc04877902e72ebd9aec5e78bb86", 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 `uvw` is never read [INFO] [stdout] --> src/camera.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | uvw: (Vec3, Vec3, Vec3), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 133 | let _ = std::mem::replace(bounding_box, temp_box.clone()); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 140 | let _ = std::mem::replace(bounding_box, surrounding_box(bounding_box, &temp_box)); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 215 | let _ = std::mem::replace( [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 300 | let _ = std::mem::replace(bounding_box, surrounding_box(&box0, &box1)); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 415 | let _ = std::mem::replace(rec, rec_left); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 418 | let _ = std::mem::replace(rec, rec_right); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 422 | let _ = std::mem::replace(rec, rec_left); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 425 | let _ = std::mem::replace(rec, rec_right); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 440 | let _ = std::mem::replace(bounding_box, self.bounding_box.clone()); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 498 | let _ = std::mem::replace( [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 562 | let _ = std::mem::replace( [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 626 | let _ = std::mem::replace( [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 722 | let _ = std::mem::replace(bounding_box, Aabb::new(self.p0, self.p1)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.96s [INFO] running `Command { std: "docker" "inspect" "7a3aac61482baeaea3a5b3d75fa89de7a628cc04877902e72ebd9aec5e78bb86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a3aac61482baeaea3a5b3d75fa89de7a628cc04877902e72ebd9aec5e78bb86", kill_on_drop: false }` [INFO] [stdout] 7a3aac61482baeaea3a5b3d75fa89de7a628cc04877902e72ebd9aec5e78bb86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9c1665de5d324fe858dc15371578d6f928bfc123" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 647822b7623082269a020794e0613d0ae19e25e349b5330cf8f3d1a4817c086a [INFO] running `Command { std: "docker" "start" "-a" "647822b7623082269a020794e0613d0ae19e25e349b5330cf8f3d1a4817c086a", 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] warning: field `uvw` is never read [INFO] [stderr] --> src/camera.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Camera { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 12 | uvw: (Vec3, Vec3, Vec3), [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Camera` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [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: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 133 | let _ = std::mem::replace(bounding_box, temp_box.clone()); [INFO] [stderr] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 140 | let _ = std::mem::replace(bounding_box, surrounding_box(bounding_box, &temp_box)); [INFO] [stderr] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 215 | let _ = std::mem::replace( [INFO] [stderr] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 300 | let _ = std::mem::replace(bounding_box, surrounding_box(&box0, &box1)); [INFO] [stderr] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 415 | let _ = std::mem::replace(rec, rec_left); [INFO] [stderr] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 418 | let _ = std::mem::replace(rec, rec_right); [INFO] [stderr] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 422 | let _ = std::mem::replace(rec, rec_left); [INFO] [stderr] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 425 | let _ = std::mem::replace(rec, rec_right); [INFO] [stderr] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 440 | let _ = std::mem::replace(bounding_box, self.bounding_box.clone()); [INFO] [stderr] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 498 | let _ = std::mem::replace( [INFO] [stderr] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 562 | let _ = std::mem::replace( [INFO] [stderr] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 626 | let _ = std::mem::replace( [INFO] [stderr] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 722 | let _ = std::mem::replace(bounding_box, Aabb::new(self.p0, self.p1)); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `raytracer` (bin "raytracer" test) generated 14 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/raytracer-153f9bb90fd0520d) [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" "647822b7623082269a020794e0613d0ae19e25e349b5330cf8f3d1a4817c086a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "647822b7623082269a020794e0613d0ae19e25e349b5330cf8f3d1a4817c086a", kill_on_drop: false }` [INFO] [stdout] 647822b7623082269a020794e0613d0ae19e25e349b5330cf8f3d1a4817c086a