[INFO] cloning repository https://github.com/anarioch/rustyrays [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anarioch/rustyrays" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanarioch%2Frustyrays", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanarioch%2Frustyrays'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 588c50623138f307ae58eba5e18246a165e9ab03 [INFO] testing anarioch/rustyrays against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanarioch%2Frustyrays" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anarioch/rustyrays 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] removed /workspace/builds/worker-1/source/.cargo/config [INFO] started tweaking git repo https://github.com/anarioch/rustyrays [INFO] finished tweaking git repo https://github.com/anarioch/rustyrays [INFO] tweaked toml for git repo https://github.com/anarioch/rustyrays written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/anarioch/rustyrays 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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 04536353fdf57a9b5dffd5d2f23d783e398c1114933a8988a5c07e0067684c06 [INFO] running `Command { std: "docker" "start" "-a" "04536353fdf57a9b5dffd5d2f23d783e398c1114933a8988a5c07e0067684c06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04536353fdf57a9b5dffd5d2f23d783e398c1114933a8988a5c07e0067684c06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04536353fdf57a9b5dffd5d2f23d783e398c1114933a8988a5c07e0067684c06", kill_on_drop: false }` [INFO] [stdout] 04536353fdf57a9b5dffd5d2f23d783e398c1114933a8988a5c07e0067684c06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] d8aca61f3181d6876663e62535853842587c0f307f3ede0d0f9ce4e6dbb4330a [INFO] running `Command { std: "docker" "start" "-a" "d8aca61f3181d6876663e62535853842587c0f307f3ede0d0f9ce4e6dbb4330a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling cfg-if v0.1.3 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling lazy_static v1.0.1 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling weezl v0.1.3 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling bytemuck v1.4.1 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rayon v1.0.1 [INFO] [stderr] Compiling rand v0.8.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.12 [INFO] [stderr] Compiling noise v0.7.0 [INFO] [stderr] Compiling raytrace v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 53.51s [INFO] running `Command { std: "docker" "inspect" "d8aca61f3181d6876663e62535853842587c0f307f3ede0d0f9ce4e6dbb4330a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8aca61f3181d6876663e62535853842587c0f307f3ede0d0f9ce4e6dbb4330a", kill_on_drop: false }` [INFO] [stdout] d8aca61f3181d6876663e62535853842587c0f307f3ede0d0f9ce4e6dbb4330a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffeeb6bab2a719fc59c002e75a007db925902cd12162d37d1a236559d85b68ed [INFO] running `Command { std: "docker" "start" "-a" "ffeeb6bab2a719fc59c002e75a007db925902cd12162d37d1a236559d85b68ed", kill_on_drop: false }` [INFO] [stderr] Compiling raytrace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Invisible` in this scope [INFO] [stdout] --> tests/integration_test.rs:17:84 [INFO] [stdout] | [INFO] [stdout] 17 | objects.push(Box::new(Sphere { centre, radius: 0.2, material: Box::new(Invisible {}) })); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 5 | use Material::Invisible; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raytrace::materials::*` [INFO] [stdout] --> tests/integration_test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use raytrace::materials::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/integration_test.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | fn grid_scene() -> Vec> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Hitable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/integration_test.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | let mut objects : Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Hitable` [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] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::super::materials::Invisible` [INFO] [stdout] --> src/geometry.rs:560:9 [INFO] [stdout] | [INFO] [stdout] 560 | use super::super::materials::Invisible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Invisible` in `materials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration_test.rs:17:75 [INFO] [stdout] | [INFO] [stdout] 17 | objects.push(Box::new(Sphere { centre, radius: 0.2, material: Box::new(Invisible {}) })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected enum `Material`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Material` [INFO] [stdout] found struct `Box<_>` [INFO] [stdout] help: try using a variant of the expected enum [INFO] [stdout] | [INFO] [stdout] 17 | objects.push(Box::new(Sphere { centre, radius: 0.2, material: raytrace::materials::Material::PolishedStone(Box::new(Invisible {})) })); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 17 | objects.push(Box::new(Sphere { centre, radius: 0.2, material: raytrace::materials::Material::TexturedLambertian(Box::new(Invisible {})) })); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0422. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `raytrace` due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/geometry.rs:584:87 [INFO] [stdout] | [INFO] [stdout] 584 | let sphere = Sphere { centre: new_pos(0.0, -2.0, 0.0), radius: 1.0, material: Box::new(Invisible {}) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected enum `materials::Material`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `materials::Material` [INFO] [stdout] found struct `Box<_>` [INFO] [stdout] help: try using a variant of the expected enum [INFO] [stdout] | [INFO] [stdout] 584 | let sphere = Sphere { centre: new_pos(0.0, -2.0, 0.0), radius: 1.0, material: materials::Material::PolishedStone(Box::new(Invisible {})) }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 584 | let sphere = Sphere { centre: new_pos(0.0, -2.0, 0.0), radius: 1.0, material: materials::Material::TexturedLambertian(Box::new(Invisible {})) }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `albedo` on type `materials::Material` [INFO] [stdout] --> src/materials.rs:245:46 [INFO] [stdout] | [INFO] [stdout] 245 | assert_eq!(res.attenuation, material.albedo); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ffeeb6bab2a719fc59c002e75a007db925902cd12162d37d1a236559d85b68ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffeeb6bab2a719fc59c002e75a007db925902cd12162d37d1a236559d85b68ed", kill_on_drop: false }` [INFO] [stdout] ffeeb6bab2a719fc59c002e75a007db925902cd12162d37d1a236559d85b68ed