[INFO] cloning repository https://github.com/cobbal/rust-tracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cobbal/rust-tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcobbal%2Frust-tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcobbal%2Frust-tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 938ebe5df857e05f6e050fa2457d7578c06127a1 [INFO] building cobbal/rust-tracer/938ebe5df857e05f6e050fa2457d7578c06127a1 against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcobbal%2Frust-tracer" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cobbal/rust-tracer on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cobbal/rust-tracer [INFO] finished tweaking git repo https://github.com/cobbal/rust-tracer [INFO] tweaked toml for git repo https://github.com/cobbal/rust-tracer written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/cobbal/rust-tracer 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded image v0.21.1 [INFO] [stderr] Downloaded libc v0.2.53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 771484be02146fbc484c633f815bc8d71ed6aee474d258f06720ba5f62c77c77 [INFO] running `Command { std: "docker" "start" "-a" "771484be02146fbc484c633f815bc8d71ed6aee474d258f06720ba5f62c77c77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "771484be02146fbc484c633f815bc8d71ed6aee474d258f06720ba5f62c77c77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "771484be02146fbc484c633f815bc8d71ed6aee474d258f06720ba5f62c77c77", kill_on_drop: false }` [INFO] [stdout] 771484be02146fbc484c633f815bc8d71ed6aee474d258f06720ba5f62c77c77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5c240f35c71e4ce75bce7b3d7b019d90221003dc7029f9eaf64149b00a4574b [INFO] running `Command { std: "docker" "start" "-a" "a5c240f35c71e4ce75bce7b3d7b019d90221003dc7029f9eaf64149b00a4574b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling libc v0.2.53 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling proc-macro2 v0.4.28 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling syn v0.15.33 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling gif v0.10.1 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling deflate v0.7.19 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling png v0.14.1 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling tiff v0.2.2 [INFO] [stderr] Compiling image v0.21.1 [INFO] [stderr] Compiling rust-tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/object.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / box Sphere { [INFO] [stdout] 59 | | material: material, [INFO] [stdout] 60 | | center0: ¢er0 - time0 * &dcenter, [INFO] [stdout] 61 | | dcenter: dcenter, [INFO] [stdout] 62 | | radius: radius, [INFO] [stdout] 63 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 58 ~ Box::new(Sphere { [INFO] [stdout] 59 | material: material, [INFO] [stdout] ... [INFO] [stdout] 62 | radius: radius, [INFO] [stdout] 63 ~ }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/object.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | / box BVHNode { [INFO] [stdout] 200 | | left: left, [INFO] [stdout] 201 | | right: right, [INFO] [stdout] 202 | | bbox: lbb.union(&rbb) [INFO] [stdout] 203 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 199 ~ Box::new(BVHNode { [INFO] [stdout] 200 | left: left, [INFO] [stdout] 201 | right: right, [INFO] [stdout] 202 | bbox: lbb.union(&rbb) [INFO] [stdout] 203 ~ }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/object.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | / box Translate { [INFO] [stdout] 299 | | inner: inner, [INFO] [stdout] 300 | | offset: offset, [INFO] [stdout] 301 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 298 ~ Box::new(Translate { [INFO] [stdout] 299 | inner: inner, [INFO] [stdout] 300 | offset: offset, [INFO] [stdout] 301 ~ }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/object.rs:367:5 [INFO] [stdout] | [INFO] [stdout] 367 | / box Rotate { [INFO] [stdout] 368 | | inner: inner, [INFO] [stdout] 369 | | mat: mat, [INFO] [stdout] 370 | | inv: mat.transpose(), [INFO] [stdout] 371 | | aabb: aabb, [INFO] [stdout] 372 | | debug_object: cube(aabb.min, aabb.max, &matter), [INFO] [stdout] 373 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 367 ~ Box::new(Rotate { [INFO] [stdout] 368 | inner: inner, [INFO] [stdout] ... [INFO] [stdout] 372 | debug_object: cube(aabb.min, aabb.max, &matter), [INFO] [stdout] 373 ~ }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/tasks.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 73 | list.push(box Sky); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 73 - list.push(box Sky); [INFO] [stdout] 73 + list.push(Box::new(Sky)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/tasks.rs:188:25 [INFO] [stdout] | [INFO] [stdout] 188 | phase_function: box mix, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 188 - phase_function: box mix, [INFO] [stdout] 188 + phase_function: Box::new(mix), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/tasks.rs:185:15 [INFO] [stdout] | [INFO] [stdout] 185 | list.push(box ConstantMedium { [INFO] [stdout] | _______________^ [INFO] [stdout] 186 | | boundary: boundary, [INFO] [stdout] 187 | | density: 0.1, [INFO] [stdout] 188 | | phase_function: box mix, [INFO] [stdout] 189 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 185 ~ list.push(Box::new(ConstantMedium { [INFO] [stdout] 186 | boundary: boundary, [INFO] [stdout] 187 | density: 0.1, [INFO] [stdout] 188 | phase_function: box mix, [INFO] [stdout] 189 ~ })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/tasks.rs:195:25 [INFO] [stdout] | [INFO] [stdout] 195 | phase_function: box Isotropic(ConstantTex(ivec3(1, 1, 1))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 195 - phase_function: box Isotropic(ConstantTex(ivec3(1, 1, 1))), [INFO] [stdout] 195 + phase_function: Box::new(Isotropic(ConstantTex(ivec3(1, 1, 1)))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/tasks.rs:192:15 [INFO] [stdout] | [INFO] [stdout] 192 | list.push(box ConstantMedium { [INFO] [stdout] | _______________^ [INFO] [stdout] 193 | | boundary: boundary, [INFO] [stdout] 194 | | density: 0.0001, [INFO] [stdout] 195 | | phase_function: box Isotropic(ConstantTex(ivec3(1, 1, 1))), [INFO] [stdout] 196 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 192 ~ list.push(Box::new(ConstantMedium { [INFO] [stdout] 193 | boundary: boundary, [INFO] [stdout] 194 | density: 0.0001, [INFO] [stdout] 195 | phase_function: box Isotropic(ConstantTex(ivec3(1, 1, 1))), [INFO] [stdout] 196 ~ })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/tasks.rs:271:15 [INFO] [stdout] | [INFO] [stdout] 271 | list.push(box XYRect { [INFO] [stdout] | _______________^ [INFO] [stdout] 272 | | x: (3.0, 5.0), [INFO] [stdout] 273 | | y: (1.0, 3.0), [INFO] [stdout] 274 | | z: -2.0, [INFO] [stdout] 275 | | material: light_material.clone() [INFO] [stdout] 276 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 271 ~ list.push(Box::new(XYRect { [INFO] [stdout] 272 | x: (3.0, 5.0), [INFO] [stdout] ... [INFO] [stdout] 275 | material: light_material.clone() [INFO] [stdout] 276 ~ })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/tasks.rs:324:25 [INFO] [stdout] | [INFO] [stdout] 324 | phase_function: box Isotropic(ConstantTex(ivec3(1, 1, 1))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 324 - phase_function: box Isotropic(ConstantTex(ivec3(1, 1, 1))), [INFO] [stdout] 324 + phase_function: Box::new(Isotropic(ConstantTex(ivec3(1, 1, 1)))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/tasks.rs:321:17 [INFO] [stdout] | [INFO] [stdout] 321 | let mist1 = box ConstantMedium { [INFO] [stdout] | _________________^ [INFO] [stdout] 322 | | boundary: b1, [INFO] [stdout] 323 | | density: 0.01, [INFO] [stdout] 324 | | phase_function: box Isotropic(ConstantTex(ivec3(1, 1, 1))), [INFO] [stdout] 325 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 321 ~ let mist1 = Box::new(ConstantMedium { [INFO] [stdout] 322 | boundary: b1, [INFO] [stdout] 323 | density: 0.01, [INFO] [stdout] 324 | phase_function: box Isotropic(ConstantTex(ivec3(1, 1, 1))), [INFO] [stdout] 325 ~ }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/tasks.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | phase_function: box Isotropic(ConstantTex(ivec3(0, 0, 0))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 329 - phase_function: box Isotropic(ConstantTex(ivec3(0, 0, 0))), [INFO] [stdout] 329 + phase_function: Box::new(Isotropic(ConstantTex(ivec3(0, 0, 0)))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/tasks.rs:326:17 [INFO] [stdout] | [INFO] [stdout] 326 | let mist2 = box ConstantMedium { [INFO] [stdout] | _________________^ [INFO] [stdout] 327 | | boundary: b2, [INFO] [stdout] 328 | | density: 0.01, [INFO] [stdout] 329 | | phase_function: box Isotropic(ConstantTex(ivec3(0, 0, 0))), [INFO] [stdout] 330 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 326 ~ let mist2 = Box::new(ConstantMedium { [INFO] [stdout] 327 | boundary: b2, [INFO] [stdout] 328 | density: 0.01, [INFO] [stdout] 329 | phase_function: box Isotropic(ConstantTex(ivec3(0, 0, 0))), [INFO] [stdout] 330 ~ }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/tasks.rs:372:15 [INFO] [stdout] | [INFO] [stdout] 372 | list.push(box Sky); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 372 - list.push(box Sky); [INFO] [stdout] 372 + list.push(Box::new(Sky)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/object.rs:417:27 [INFO] [stdout] | [INFO] [stdout] 417 | if flip { box FlipNormals(r) } else { box r } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 462 | aarect!(XYRect, [x, X], [y, Y], [z, Z]); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 417 - if flip { box FlipNormals(r) } else { box r } [INFO] [stdout] 417 + if flip { Box::new(FlipNormals(r)) } else { box r } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/object.rs:417:55 [INFO] [stdout] | [INFO] [stdout] 417 | if flip { box FlipNormals(r) } else { box r } [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 462 | aarect!(XYRect, [x, X], [y, Y], [z, Z]); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 417 - if flip { box FlipNormals(r) } else { box r } [INFO] [stdout] 417 + if flip { box FlipNormals(r) } else { Box::new(r) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/object.rs:417:27 [INFO] [stdout] | [INFO] [stdout] 417 | if flip { box FlipNormals(r) } else { box r } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 463 | aarect!(YZRect, [y, Y], [z, Z], [x, X]); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 417 - if flip { box FlipNormals(r) } else { box r } [INFO] [stdout] 417 + if flip { Box::new(FlipNormals(r)) } else { box r } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/object.rs:417:55 [INFO] [stdout] | [INFO] [stdout] 417 | if flip { box FlipNormals(r) } else { box r } [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 463 | aarect!(YZRect, [y, Y], [z, Z], [x, X]); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 417 - if flip { box FlipNormals(r) } else { box r } [INFO] [stdout] 417 + if flip { box FlipNormals(r) } else { Box::new(r) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/object.rs:417:27 [INFO] [stdout] | [INFO] [stdout] 417 | if flip { box FlipNormals(r) } else { box r } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 464 | aarect!(XZRect, [x, X], [z, Z], [y, Y]); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 417 - if flip { box FlipNormals(r) } else { box r } [INFO] [stdout] 417 + if flip { Box::new(FlipNormals(r)) } else { box r } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/object.rs:417:55 [INFO] [stdout] | [INFO] [stdout] 417 | if flip { box FlipNormals(r) } else { box r } [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 464 | aarect!(XZRect, [x, X], [z, Z], [y, Y]); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `aarect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 417 - if flip { box FlipNormals(r) } else { box r } [INFO] [stdout] 417 + if flip { box FlipNormals(r) } else { Box::new(r) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/texture.rs:110:37 [INFO] [stdout] | [INFO] [stdout] 110 | self.ranvec[(self.perm_x[(i + di) % self.n] ^ [INFO] [stdout] | ^ [INFO] [stdout] 111 | self.perm_y[(j + dj) % self.n] ^ [INFO] [stdout] 112 | self.perm_z[(k + dk) % self.n])] [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 110 ~ self.ranvec[self.perm_x[(i + di) % self.n] ^ [INFO] [stdout] 111 | self.perm_y[(j + dj) % self.n] ^ [INFO] [stdout] 112 ~ self.perm_z[(k + dk) % self.n]] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:58:6 [INFO] [stdout] | [INFO] [stdout] 58 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:63:6 [INFO] [stdout] | [INFO] [stdout] 63 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | pub material : &'a Material, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | pub material : &'a dyn Material, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | pub material : Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | pub material : Arc, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | pub left : Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 | pub left : Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | pub right : Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 147 | pub right : Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:222:24 [INFO] [stdout] | [INFO] [stdout] 222 | pub boundary : Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 222 | pub boundary : Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:224:30 [INFO] [stdout] | [INFO] [stdout] 224 | pub phase_function : Box, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 224 | pub phase_function : Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:293:21 [INFO] [stdout] | [INFO] [stdout] 293 | pub inner : Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 293 | pub inner : Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:323:21 [INFO] [stdout] | [INFO] [stdout] 323 | pub inner : Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 323 | pub inner : Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:327:24 [INFO] [stdout] | [INFO] [stdout] 327 | debug_object : Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 327 | debug_object : Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:406:32 [INFO] [stdout] | [INFO] [stdout] 406 | pub material : Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 462 | aarect!(XYRect, [x, X], [y, Y], [z, Z]); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `aarect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:406:32 [INFO] [stdout] | [INFO] [stdout] 406 | pub material : Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 463 | aarect!(YZRect, [y, Y], [z, Z], [x, X]); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `aarect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:406:32 [INFO] [stdout] | [INFO] [stdout] 406 | pub material : Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 464 | aarect!(XZRect, [x, X], [z, Z], [y, Y]); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `aarect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | pub world : Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | pub world : Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | fn scatter(&self, rng : &mut RngCore, r_in : &Ray, hit : &HitRecord) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | fn scatter(&self, rng : &mut dyn RngCore, r_in : &Ray, hit : &HitRecord) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | fn hit(&self, rng : &mut RngCore, r : &Ray, dist : (f32, f32)) -> Option; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | fn hit(&self, rng : &mut dyn RngCore, r : &Ray, dist : (f32, f32)) -> Option; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | &self, rng : &mut RngCore, r_in : &Ray, hit : &HitRecord [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | &self, rng : &mut dyn RngCore, r_in : &Ray, hit : &HitRecord [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material.rs:92:27 [INFO] [stdout] | [INFO] [stdout] 92 | &self, rng : &mut RngCore, r_in : &Ray, hit : &HitRecord [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 92 | &self, rng : &mut dyn RngCore, r_in : &Ray, hit : &HitRecord [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material.rs:131:27 [INFO] [stdout] | [INFO] [stdout] 131 | &self, rng : &mut RngCore, r_in : &Ray, hit : &HitRecord [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 131 | &self, rng : &mut dyn RngCore, r_in : &Ray, hit : &HitRecord [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material.rs:145:27 [INFO] [stdout] | [INFO] [stdout] 145 | &self, rng : &mut RngCore, r_in : &Ray, hit : &HitRecord [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 145 | &self, rng : &mut dyn RngCore, r_in : &Ray, hit : &HitRecord [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material.rs:158:27 [INFO] [stdout] | [INFO] [stdout] 158 | &self, rng : &mut RngCore, r_in : &Ray, hit : &HitRecord [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 158 | &self, rng : &mut dyn RngCore, r_in : &Ray, hit : &HitRecord [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:267:30 [INFO] [stdout] | [INFO] [stdout] 267 | fn hit(&self, rng : &mut RngCore, r : &Ray, dist : (f32, f32)) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 267 | fn hit(&self, rng : &mut dyn RngCore, r : &Ray, dist : (f32, f32)) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | fn scatter(&self, rng : &mut RngCore, r_in : &Ray, hit : &HitRecord) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | fn scatter(&self, rng : &mut dyn RngCore, r_in : &Ray, hit : &HitRecord) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | &self, rng : &mut RngCore, r_in : &Ray, hit : &HitRecord [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | &self, rng : &mut dyn RngCore, r_in : &Ray, hit : &HitRecord [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | material : Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | material : Arc, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:67:49 [INFO] [stdout] | [INFO] [stdout] 67 | radius : f32, center : Vec3, material : Arc [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | radius : f32, center : Vec3, material : Arc [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | fn hit(&self, rng : &mut RngCore, r : &Ray, dist : (f32, f32)) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 | fn hit(&self, rng : &mut dyn RngCore, r : &Ray, dist : (f32, f32)) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:152:30 [INFO] [stdout] | [INFO] [stdout] 152 | fn hit(&self, rng : &mut RngCore, r : &Ray, dist : (f32, f32)) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 152 | fn hit(&self, rng : &mut dyn RngCore, r : &Ray, dist : (f32, f32)) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | rng_fn : &mut FnMut() -> usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 178 | rng_fn : &mut dyn FnMut() -> usize, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | mut v : Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 179 | mut v : Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:181:10 [INFO] [stdout] | [INFO] [stdout] 181 | ) -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 181 | ) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:211:16 [INFO] [stdout] | [INFO] [stdout] 211 | rng : &mut RngCore, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 211 | rng : &mut dyn RngCore, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:212:17 [INFO] [stdout] | [INFO] [stdout] 212 | v : Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 212 | v : Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:214:10 [INFO] [stdout] | [INFO] [stdout] 214 | ) -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 214 | ) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:229:27 [INFO] [stdout] | [INFO] [stdout] 229 | &self, rng : &mut RngCore, r : &Ray, dist : (f32, f32) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 229 | &self, rng : &mut dyn RngCore, r : &Ray, dist : (f32, f32) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:281:46 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn cube(p0 : Vec3, p1 : Vec3, mat : &Arc) -> Box { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 281 | pub fn cube(p0 : Vec3, p1 : Vec3, mat : &Arc) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:281:64 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn cube(p0 : Vec3, p1 : Vec3, mat : &Arc) -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 281 | pub fn cube(p0 : Vec3, p1 : Vec3, mat : &Arc) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:297:45 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn translate(offset : Vec3, inner : Box) -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 297 | pub fn translate(offset : Vec3, inner : Box) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:305:30 [INFO] [stdout] | [INFO] [stdout] 305 | fn hit(&self, rng : &mut RngCore, r : &Ray, dist : (f32, f32)) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 305 | fn hit(&self, rng : &mut dyn RngCore, r : &Ray, dist : (f32, f32)) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:330:53 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn rotate(axis : Vec3, angle : f32, inner : Box) -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 330 | pub fn rotate(axis : Vec3, angle : f32, inner : Box) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:377:30 [INFO] [stdout] | [INFO] [stdout] 377 | fn hit(&self, rng : &mut RngCore, r : &Ray, dist : (f32, f32)) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 377 | fn hit(&self, rng : &mut dyn RngCore, r : &Ray, dist : (f32, f32)) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:422:38 [INFO] [stdout] | [INFO] [stdout] 422 | fn hit(&self, rng : &mut RngCore, r : &Ray, dist : (f32, f32)) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 462 | aarect!(XYRect, [x, X], [y, Y], [z, Z]); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `aarect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:422:38 [INFO] [stdout] | [INFO] [stdout] 422 | fn hit(&self, rng : &mut RngCore, r : &Ray, dist : (f32, f32)) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 463 | aarect!(YZRect, [y, Y], [z, Z], [x, X]); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `aarect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:422:38 [INFO] [stdout] | [INFO] [stdout] 422 | fn hit(&self, rng : &mut RngCore, r : &Ray, dist : (f32, f32)) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 464 | aarect!(XZRect, [x, X], [z, Z], [y, Y]); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `aarect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:469:30 [INFO] [stdout] | [INFO] [stdout] 469 | fn hit(&self, rng : &mut RngCore, r : &Ray, dist : (f32, f32)) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 469 | fn hit(&self, rng : &mut dyn RngCore, r : &Ray, dist : (f32, f32)) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:496:27 [INFO] [stdout] | [INFO] [stdout] 496 | &self, rng : &mut RngCore, r_in : &Ray, hit : &HitRecord [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 496 | &self, rng : &mut dyn RngCore, r_in : &Ray, hit : &HitRecord [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/random.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn rand_in_ball(rng : &mut RngCore) -> Vec3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | pub fn rand_in_ball(rng : &mut dyn RngCore) -> Vec3 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/random.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn rand_in_disk(rng : &mut RngCore) -> Vec3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | pub fn rand_in_disk(rng : &mut dyn RngCore) -> Vec3 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn one_weekend(rng : &mut RngCore) -> RenderTask { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub fn one_weekend(rng : &mut dyn RngCore) -> RenderTask { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:99:33 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn the_next_week(rng : &mut RngCore) -> RenderTask { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 | pub fn the_next_week(rng : &mut dyn RngCore) -> RenderTask { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:244:32 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn simple_light(rng : &mut RngCore) -> RenderTask { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 244 | pub fn simple_light(rng : &mut dyn RngCore) -> RenderTask { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:303:31 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn cornell_box(rng : &mut RngCore) -> RenderTask { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 303 | pub fn cornell_box(rng : &mut dyn RngCore) -> RenderTask { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:362:31 [INFO] [stdout] | [INFO] [stdout] 362 | pub fn two_spheres(rng : &mut RngCore) -> RenderTask { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 362 | pub fn two_spheres(rng : &mut dyn RngCore) -> RenderTask { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:386:35 [INFO] [stdout] | [INFO] [stdout] 386 | pub fn lambertian_test(rng : &mut RngCore, angle : f32) -> RenderTask { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 386 | pub fn lambertian_test(rng : &mut dyn RngCore, angle : f32) -> RenderTask { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | fn render_overlord(base_rng : &mut RngCore, render_task : RenderTask) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | fn render_overlord(base_rng : &mut dyn RngCore, render_task : RenderTask) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:155:30 [INFO] [stdout] | [INFO] [stdout] 155 | fn render_a_frame(rng : &mut RngCore, task : &RenderTask, target : &mut RenderTarget) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 155 | fn render_a_frame(rng : &mut dyn RngCore, task : &RenderTask, target : &mut RenderTarget) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:176:25 [INFO] [stdout] | [INFO] [stdout] 176 | fn ray_trace(rng : &mut RngCore, r0 : Ray, world : &Object) -> Vec3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 176 | fn ray_trace(rng : &mut dyn RngCore, r0 : Ray, world : &Object) -> Vec3 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:176:53 [INFO] [stdout] | [INFO] [stdout] 176 | fn ray_trace(rng : &mut RngCore, r0 : Ray, world : &Object) -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 176 | fn ray_trace(rng : &mut RngCore, r0 : Ray, world : &dyn Object) -> Vec3 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/camera.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_ray(&self, rng : &mut RngCore, s : f32, t : f32) -> Ray { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_ray(&self, rng : &mut dyn RngCore, s : f32, t : f32) -> Ray { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:414:72 [INFO] [stdout] | [INFO] [stdout] 414 | $x : (f32, f32), $y : (f32, f32), $z : f32, mat : &Arc, flip : bool [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 462 | aarect!(XYRect, [x, X], [y, Y], [z, Z]); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `aarect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:415:22 [INFO] [stdout] | [INFO] [stdout] 415 | ) -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 462 | aarect!(XYRect, [x, X], [y, Y], [z, Z]); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `aarect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:414:72 [INFO] [stdout] | [INFO] [stdout] 414 | $x : (f32, f32), $y : (f32, f32), $z : f32, mat : &Arc, flip : bool [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 463 | aarect!(YZRect, [y, Y], [z, Z], [x, X]); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `aarect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:415:22 [INFO] [stdout] | [INFO] [stdout] 415 | ) -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 463 | aarect!(YZRect, [y, Y], [z, Z], [x, X]); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `aarect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:414:72 [INFO] [stdout] | [INFO] [stdout] 414 | $x : (f32, f32), $y : (f32, f32), $z : f32, mat : &Arc, flip : bool [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 464 | aarect!(XZRect, [x, X], [z, Z], [y, Y]); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `aarect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:415:22 [INFO] [stdout] | [INFO] [stdout] 415 | ) -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 464 | aarect!(XZRect, [x, X], [z, Z], [y, Y]); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `aarect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new(rng : &mut RngCore, n : usize) -> PerlinNoise { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new(rng : &mut dyn RngCore, n : usize) -> PerlinNoise { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:139:27 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn new(rng : &mut RngCore, scale : f32) -> PerlinTexture { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 139 | pub fn new(rng : &mut dyn RngCore, scale : f32) -> PerlinTexture { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vec3.rs:53:37 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn fmap_mut(&mut self, f : &Fn(f32) -> f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 | pub fn fmap_mut(&mut self, f : &dyn Fn(f32) -> f32) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 133 | let m : &Material = if rng.gen::() < self.p { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 | let m : &dyn Material = if rng.gen::() < self.p { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:184:26 [INFO] [stdout] | [INFO] [stdout] 184 | v.sort_by(&|a : &Box, b : &Box| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 184 | v.sort_by(&|a : &Box, b : &Box| { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:184:44 [INFO] [stdout] | [INFO] [stdout] 184 | v.sort_by(&|a : &Box, b : &Box| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 184 | v.sort_by(&|a : &Box, b : &Box| { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:364:22 [INFO] [stdout] | [INFO] [stdout] 364 | let matter : Arc = [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 364 | let matter : Arc = [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | let mut list : Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | let mut list : Vec> = Vec::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:100:28 [INFO] [stdout] | [INFO] [stdout] 100 | let mut list : Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | let mut list : Vec> = Vec::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:101:31 [INFO] [stdout] | [INFO] [stdout] 101 | let mut boxlist : Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 101 | let mut boxlist : Vec> = Vec::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:102:32 [INFO] [stdout] | [INFO] [stdout] 102 | let mut boxlist2 : Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 | let mut boxlist2 : Vec> = Vec::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | let white : Arc = [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 | let white : Arc = [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:106:22 [INFO] [stdout] | [INFO] [stdout] 106 | let ground : Arc = [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 | let ground : Arc = [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | let red : Arc = [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 108 | let red : Arc = [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | let light : Arc = [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 158 | let light : Arc = [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:247:28 [INFO] [stdout] | [INFO] [stdout] 247 | let mut list : Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 247 | let mut list : Vec> = Vec::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:304:28 [INFO] [stdout] | [INFO] [stdout] 304 | let mut list : Vec> = vec![]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 304 | let mut list : Vec> = vec![]; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:306:19 [INFO] [stdout] | [INFO] [stdout] 306 | let red : Arc = Arc::new(Lambertian(ConstantTex(vec3(0.65, 0.05, 0.05)))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 306 | let red : Arc = Arc::new(Lambertian(ConstantTex(vec3(0.65, 0.05, 0.05)))); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:307:21 [INFO] [stdout] | [INFO] [stdout] 307 | let white : Arc = Arc::new(Lambertian(ConstantTex(0.73 * ONE3))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 307 | let white : Arc = Arc::new(Lambertian(ConstantTex(0.73 * ONE3))); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:308:21 [INFO] [stdout] | [INFO] [stdout] 308 | let green : Arc = Arc::new(Lambertian(ConstantTex(vec3(0.12, 0.45, 0.15)))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 308 | let green : Arc = Arc::new(Lambertian(ConstantTex(vec3(0.12, 0.45, 0.15)))); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:309:21 [INFO] [stdout] | [INFO] [stdout] 309 | let light : Arc = Arc::new(DiffuseLight(ConstantTex(7.0 * ONE3))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 309 | let light : Arc = Arc::new(DiffuseLight(ConstantTex(7.0 * ONE3))); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:363:28 [INFO] [stdout] | [INFO] [stdout] 363 | let mut list : Vec> = vec![]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 363 | let mut list : Vec> = vec![]; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:387:28 [INFO] [stdout] | [INFO] [stdout] 387 | let mut list : Vec> = vec![]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 387 | let mut list : Vec> = vec![]; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:389:21 [INFO] [stdout] | [INFO] [stdout] 389 | let light : Arc = Arc::new(DiffuseLight(ConstantTex(5.0 * ONE3))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 389 | let light : Arc = Arc::new(DiffuseLight(ConstantTex(5.0 * ONE3))); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:390:19 [INFO] [stdout] | [INFO] [stdout] 390 | let red : Arc = Arc::new(Lambertian(ConstantTex(vec3(0.9, 0.3, 0.3)))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 390 | let red : Arc = Arc::new(Lambertian(ConstantTex(vec3(0.9, 0.3, 0.3)))); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let mut seed : XSeed = base_rng.gen(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-tracer` (bin "rust-tracer") due to 23 previous errors; 93 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a5c240f35c71e4ce75bce7b3d7b019d90221003dc7029f9eaf64149b00a4574b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5c240f35c71e4ce75bce7b3d7b019d90221003dc7029f9eaf64149b00a4574b", kill_on_drop: false }` [INFO] [stdout] a5c240f35c71e4ce75bce7b3d7b019d90221003dc7029f9eaf64149b00a4574b