[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] checking finnegantdewitt/ray_tracing against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffinnegantdewitt%2Fray_tracing" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/finnegantdewitt/ray_tracing on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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-6/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff80d07afe04b8c8b0d6a57a78c03dc863b027199b7aa1e9b4cb9801406c3ac0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ff80d07afe04b8c8b0d6a57a78c03dc863b027199b7aa1e9b4cb9801406c3ac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff80d07afe04b8c8b0d6a57a78c03dc863b027199b7aa1e9b4cb9801406c3ac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff80d07afe04b8c8b0d6a57a78c03dc863b027199b7aa1e9b4cb9801406c3ac0", kill_on_drop: false }` [INFO] [stdout] ff80d07afe04b8c8b0d6a57a78c03dc863b027199b7aa1e9b4cb9801406c3ac0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3fcfe762ba4e518c2897d4d28dfb9c2055e7db39be4fa2afca3dedb36cc3b7dc [INFO] running `Command { std: "docker" "start" "-a" "3fcfe762ba4e518c2897d4d28dfb9c2055e7db39be4fa2afca3dedb36cc3b7dc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking 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] 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:18 [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[E0038]: the trait `material::Material` cannot be made into an object [INFO] [stdout] --> src/hittable.rs:9:18 [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] [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3fcfe762ba4e518c2897d4d28dfb9c2055e7db39be4fa2afca3dedb36cc3b7dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fcfe762ba4e518c2897d4d28dfb9c2055e7db39be4fa2afca3dedb36cc3b7dc", kill_on_drop: false }` [INFO] [stdout] 3fcfe762ba4e518c2897d4d28dfb9c2055e7db39be4fa2afca3dedb36cc3b7dc