[INFO] cloning repository https://github.com/bhav97/rust-tracing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bhav97/rust-tracing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbhav97%2Frust-tracing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbhav97%2Frust-tracing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a1a39f957d014a43d4ff23cb78e2f609aec17596 [INFO] checking bhav97/rust-tracing against try#04ea1e1f1a12cfa912c228ca278237d92d0bb6df for pr-148477-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbhav97%2Frust-tracing" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bhav97/rust-tracing [INFO] finished tweaking git repo https://github.com/bhav97/rust-tracing [INFO] tweaked toml for git repo https://github.com/bhav97/rust-tracing written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bhav97/rust-tracing on toolchain 04ea1e1f1a12cfa912c228ca278237d92d0bb6df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+04ea1e1f1a12cfa912c228ca278237d92d0bb6df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bhav97/rust-tracing 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" "+04ea1e1f1a12cfa912c228ca278237d92d0bb6df" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded version-compare v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+04ea1e1f1a12cfa912c228ca278237d92d0bb6df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1be76ccd2848a4af01752696748c95fc63fbfa0a394ca0e3f15d488287edb346 [INFO] running `Command { std: "docker" "start" "-a" "1be76ccd2848a4af01752696748c95fc63fbfa0a394ca0e3f15d488287edb346", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1be76ccd2848a4af01752696748c95fc63fbfa0a394ca0e3f15d488287edb346", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1be76ccd2848a4af01752696748c95fc63fbfa0a394ca0e3f15d488287edb346", kill_on_drop: false }` [INFO] [stdout] 1be76ccd2848a4af01752696748c95fc63fbfa0a394ca0e3f15d488287edb346 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+04ea1e1f1a12cfa912c228ca278237d92d0bb6df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ecc99301a04927e28c7dcd2e50efd867503fcf373f7c5c93e3c5778d861c7c2c [INFO] running `Command { std: "docker" "start" "-a" "ecc99301a04927e28c7dcd2e50efd867503fcf373f7c5c93e3c5778d861c7c2c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking rusttracing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `scene::material::dielectric` [INFO] [stdout] --> src/main.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | use scene::material::dielectric::Dielectric; [INFO] [stdout] | ^^^^^^^^^^ could not find `dielectric` in `material` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `scene::material::dielectric` [INFO] [stdout] --> src/main.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | use scene::material::dielectric::Dielectric; [INFO] [stdout] | ^^^^^^^^^^ could not find `dielectric` in `material` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::color::rgb::RgbColor` [INFO] [stdout] --> src/scene/material.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::rgb::RgbColor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::geometry::vec3` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::geometry::vec3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color::rgb` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use color::rgb; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scene::ray` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use scene::ray; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color::antialias::AntialiasingFilter` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use color::antialias::AntialiasingFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::pixels::Color` [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use sdl2::pixels::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/color/gamma.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::color::rgb::RgbColor` [INFO] [stdout] --> src/scene/material.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::rgb::RgbColor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::geometry::vec3` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::geometry::vec3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color::rgb` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use color::rgb; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scene::ray` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use scene::ray; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color::antialias::AntialiasingFilter` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use color::antialias::AntialiasingFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::pixels::Color` [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use sdl2::pixels::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 199 | return world; [INFO] [stdout] | ------------ any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 207 | let camera = Camera::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `render` [INFO] [stdout] --> src/color/antialias.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | fn apply_filter(&self, render: &mut Vec) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_render` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `sphere::Sphere` [INFO] [stdout] --> src/geometry/sphere.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | / assert_eq!( [INFO] [stdout] 104 | | Sphere::default(), [INFO] [stdout] 105 | | Sphere { [INFO] [stdout] 106 | | center: Point { [INFO] [stdout] ... | [INFO] [stdout] 114 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________sphere::Sphere [INFO] [stdout] | sphere::Sphere [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `sphere::Sphere` [INFO] [stdout] --> src/geometry/sphere.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Sphere { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `sphere::Sphere` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 10 + #[derive(PartialEq)] [INFO] [stdout] 11 | pub struct Sphere { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `aspect_ratio` in initializer of `camera::Camera` [INFO] [stdout] --> src/scene/camera.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | Camera { [INFO] [stdout] | ^^^^^^ missing `aspect_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pitch` [INFO] [stdout] --> src/main.rs:119:65 [INFO] [stdout] | [INFO] [stdout] 119 | texture.with_lock(None, |buffer: &mut [u8], pitch: usize| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pitch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 199 | return world; [INFO] [stdout] | ------------ any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 207 | let camera = Camera::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `render` [INFO] [stdout] --> src/color/antialias.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | fn apply_filter(&self, render: &mut Vec) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_render` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusttracing` (bin "rusttracing") due to 1 previous error; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `pitch` [INFO] [stdout] --> src/main.rs:119:65 [INFO] [stdout] | [INFO] [stdout] 119 | texture.with_lock(None, |buffer: &mut [u8], pitch: usize| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pitch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0369, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusttracing` (bin "rusttracing" test) due to 3 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ecc99301a04927e28c7dcd2e50efd867503fcf373f7c5c93e3c5778d861c7c2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecc99301a04927e28c7dcd2e50efd867503fcf373f7c5c93e3c5778d861c7c2c", kill_on_drop: false }` [INFO] [stdout] ecc99301a04927e28c7dcd2e50efd867503fcf373f7c5c93e3c5778d861c7c2c