[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#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanarioch%2Frustyrays" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anarioch/rustyrays on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5/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-5/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cbfb6a4cc65992735709c507aca678abd49fda4cf525539e151b8383d2f4a8a4 [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" "cbfb6a4cc65992735709c507aca678abd49fda4cf525539e151b8383d2f4a8a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbfb6a4cc65992735709c507aca678abd49fda4cf525539e151b8383d2f4a8a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbfb6a4cc65992735709c507aca678abd49fda4cf525539e151b8383d2f4a8a4", kill_on_drop: false }` [INFO] [stdout] cbfb6a4cc65992735709c507aca678abd49fda4cf525539e151b8383d2f4a8a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0aa3d5bfd99a1ccdc28535938e5a177b7fa82bc3fc72537071851295f31e0b41 [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" "0aa3d5bfd99a1ccdc28535938e5a177b7fa82bc3fc72537071851295f31e0b41", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling cfg-if v0.1.3 [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 adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling weezl v0.1.3 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bytemuck v1.4.1 [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 miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling getrandom v0.2.0 [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 num-iter v0.1.37 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.0 [INFO] [stderr] Compiling rayon v1.0.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.12 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling noise v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling raytrace v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 30s [INFO] running `Command { std: "docker" "inspect" "0aa3d5bfd99a1ccdc28535938e5a177b7fa82bc3fc72537071851295f31e0b41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0aa3d5bfd99a1ccdc28535938e5a177b7fa82bc3fc72537071851295f31e0b41", kill_on_drop: false }` [INFO] [stdout] 0aa3d5bfd99a1ccdc28535938e5a177b7fa82bc3fc72537071851295f31e0b41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7769832052e8e74096acb5998e8bd89e089872977e2815e0cf09214064a94b54 [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" "7769832052e8e74096acb5998e8bd89e089872977e2815e0cf09214064a94b54", 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 issue #80165 [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 issue #80165 [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: TexturedLambertian(Box::new(Invisible {})) })); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | objects.push(Box::new(Sphere { centre, radius: 0.2, material: PolishedStone(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` [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] [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::TexturedLambertian(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::PolishedStone(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" "7769832052e8e74096acb5998e8bd89e089872977e2815e0cf09214064a94b54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7769832052e8e74096acb5998e8bd89e089872977e2815e0cf09214064a94b54", kill_on_drop: false }` [INFO] [stdout] 7769832052e8e74096acb5998e8bd89e089872977e2815e0cf09214064a94b54