[INFO] cloning repository https://github.com/finnegantdewitt/ray_tracing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/finnegantdewitt/ray_tracing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffinnegantdewitt%2Fray_tracing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffinnegantdewitt%2Fray_tracing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8aab214119a136c481eeb9aa9efff06c9d911a23 [INFO] testing finnegantdewitt/ray_tracing against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffinnegantdewitt%2Fray_tracing" "/workspace/builds/worker-41/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-41/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/finnegantdewitt/ray_tracing on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/finnegantdewitt/ray_tracing [INFO] finished tweaking git repo https://github.com/finnegantdewitt/ray_tracing [INFO] tweaked toml for git repo https://github.com/finnegantdewitt/ray_tracing written to /workspace/builds/worker-41/source/Cargo.toml [INFO] crate git repo https://github.com/finnegantdewitt/ray_tracing already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69825930cc73fccceb6788d8ab9bdf9de0b020e34aeace40454cbb8d4fd61b1c [INFO] running `Command { std: "docker" "start" "-a" "69825930cc73fccceb6788d8ab9bdf9de0b020e34aeace40454cbb8d4fd61b1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69825930cc73fccceb6788d8ab9bdf9de0b020e34aeace40454cbb8d4fd61b1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69825930cc73fccceb6788d8ab9bdf9de0b020e34aeace40454cbb8d4fd61b1c", kill_on_drop: false }` [INFO] [stdout] 69825930cc73fccceb6788d8ab9bdf9de0b020e34aeace40454cbb8d4fd61b1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a386882aa14b413a1803496b083f7746a1e2dc28b760a662c251ee97058fd22c [INFO] running `Command { std: "docker" "start" "-a" "a386882aa14b413a1803496b083f7746a1e2dc28b760a662c251ee97058fd22c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling ray_tracing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::utils::*` [INFO] [stdout] --> src/camera.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `material::*` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use material::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `material::Material` cannot be made into an object [INFO] [stdout] --> src/hittable.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | pub mat_ptr: Rc, [INFO] [stdout] | ^^^^^^^^^^^^ `material::Material` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/material.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Material { [INFO] [stdout] | -------- this trait cannot be made into an object... [INFO] [stdout] 6 | fn scatter(r_in: &Ray, rec: &HitRecord, attenuation: &Color, scattered: &Ray) -> bool; [INFO] [stdout] | ^^^^^^^ ...because associated function `scatter` has no `self` parameter [INFO] [stdout] help: consider turning `scatter` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 6 | fn scatter(&self, r_in: &Ray, rec: &HitRecord, attenuation: &Color, scattered: &Ray) -> bool; [INFO] [stdout] | ++++++ [INFO] [stdout] help: alternatively, consider constraining `scatter` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 6 | fn scatter(r_in: &Ray, rec: &HitRecord, attenuation: &Color, scattered: &Ray) -> bool where Self: Sized; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ray_tracing` due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a386882aa14b413a1803496b083f7746a1e2dc28b760a662c251ee97058fd22c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a386882aa14b413a1803496b083f7746a1e2dc28b760a662c251ee97058fd22c", kill_on_drop: false }` [INFO] [stdout] a386882aa14b413a1803496b083f7746a1e2dc28b760a662c251ee97058fd22c