[INFO] cloning repository https://github.com/fdebellabre/ray-tracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fdebellabre/ray-tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffdebellabre%2Fray-tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffdebellabre%2Fray-tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2147bf2b8375027907240937d867475eda3ce561 [INFO] checking fdebellabre/ray-tracer against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffdebellabre%2Fray-tracer" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fdebellabre/ray-tracer [INFO] finished tweaking git repo https://github.com/fdebellabre/ray-tracer [INFO] tweaked toml for git repo https://github.com/fdebellabre/ray-tracer written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fdebellabre/ray-tracer on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fdebellabre/ray-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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xkbcommon-sys v0.7.5 [INFO] [stderr] Downloaded xkb v0.2.1 [INFO] [stderr] Downloaded unidiff v0.3.3 [INFO] [stderr] Downloaded clang-sys v1.2.0 [INFO] [stderr] Downloaded tar v0.4.33 [INFO] [stderr] Downloaded minifb v0.19.3 [INFO] [stderr] Downloaded orbclient v0.3.31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77f9f7262d35c47c90f37ec8883c3952426a86594c7bb053757bcfa050e84d6c [INFO] running `Command { std: "docker" "start" "-a" "77f9f7262d35c47c90f37ec8883c3952426a86594c7bb053757bcfa050e84d6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77f9f7262d35c47c90f37ec8883c3952426a86594c7bb053757bcfa050e84d6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77f9f7262d35c47c90f37ec8883c3952426a86594c7bb053757bcfa050e84d6c", kill_on_drop: false }` [INFO] [stdout] 77f9f7262d35c47c90f37ec8883c3952426a86594c7bb053757bcfa050e84d6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=forbid" "-e" "RUSTDOCFLAGS=--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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d926ddd5eae8386ff9c02bca91889056804499e551ea5c68e4e9defaf722eb8e [INFO] running `Command { std: "docker" "start" "-a" "d926ddd5eae8386ff9c02bca91889056804499e551ea5c68e4e9defaf722eb8e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling clang-sys v1.2.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Checking nom v6.1.2 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking bytemuck v1.5.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.4 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling minifb v0.19.3 [INFO] [stderr] Checking crossbeam-queue v0.3.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking crossbeam v0.8.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking x11-dl v2.18.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Checking rayon v1.5.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking wayland-commons v0.28.5 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking wayland-cursor v0.28.5 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Checking xkb v0.2.1 [INFO] [stderr] Checking rustorial v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `Rectangle` is more private than the item `HittableObject::Rectangle::0` [INFO] [stdout] --> src/hittable_list.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | Rectangle(Rectangle), [INFO] [stdout] | ^^^^^^^^^ field `HittableObject::Rectangle::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Rectangle` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/hittable_list.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct Rectangle(Vec3, Vec3, Vec3, Vec3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> src/hittable_list.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | struct Rectangle(Vec3, Vec3, Vec3, Vec3); [INFO] [stdout] | --------- ^^^^ ^^^^ ^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Rectangle` is never constructed [INFO] [stdout] --> src/hittable_list.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum HittableObject<'a> { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 16 | Sphere(Sphere<'a>), [INFO] [stdout] 17 | Rectangle(Rectangle), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/hittable_list.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl HittableList { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] 34 | pub fn add(&mut self, h: T) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hittable.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 14 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hittable_list.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | fn hit(&self, _r: &Ray, _t_min: f64, _t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 10 | fn hit(&self, _r: &Ray, _t_min: f64, _t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hittable_list.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hittable_list.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sphere.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Rectangle` is more private than the item `HittableObject::Rectangle::0` [INFO] [stdout] --> src/hittable_list.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | Rectangle(Rectangle), [INFO] [stdout] | ^^^^^^^^^ field `HittableObject::Rectangle::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Rectangle` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/hittable_list.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct Rectangle(Vec3, Vec3, Vec3, Vec3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> src/hittable_list.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | struct Rectangle(Vec3, Vec3, Vec3, Vec3); [INFO] [stdout] | --------- ^^^^ ^^^^ ^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Rectangle` is never constructed [INFO] [stdout] --> src/hittable_list.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum HittableObject<'a> { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 16 | Sphere(Sphere<'a>), [INFO] [stdout] 17 | Rectangle(Rectangle), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/hittable_list.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl HittableList { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] 34 | pub fn add(&mut self, h: T) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hittable.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 14 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hittable_list.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | fn hit(&self, _r: &Ray, _t_min: f64, _t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 10 | fn hit(&self, _r: &Ray, _t_min: f64, _t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hittable_list.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hittable_list.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sphere.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.68s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, nom v6.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 10` [INFO] running `Command { std: "docker" "inspect" "d926ddd5eae8386ff9c02bca91889056804499e551ea5c68e4e9defaf722eb8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d926ddd5eae8386ff9c02bca91889056804499e551ea5c68e4e9defaf722eb8e", kill_on_drop: false }` [INFO] [stdout] d926ddd5eae8386ff9c02bca91889056804499e551ea5c68e4e9defaf722eb8e