[INFO] fetching crate ray_tracing_in_one_weekend 0.1.0... [INFO] checking ray_tracing_in_one_weekend-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate ray_tracing_in_one_weekend 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate ray_tracing_in_one_weekend 0.1.0 [INFO] finished tweaking crates.io crate ray_tracing_in_one_weekend 0.1.0 [INFO] tweaked toml for crates.io crate ray_tracing_in_one_weekend 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ray_tracing_in_one_weekend 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ray_tracing_in_one_weekend 0.1.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasi v0.10.2+wasi-snapshot-preview1 [INFO] [stderr] Downloaded getrandom v0.2.3 [INFO] [stderr] Downloaded rand_hc v0.3.0 [INFO] [stderr] Downloaded rand_core v0.6.2 [INFO] [stderr] Downloaded rand_chacha v0.3.0 [INFO] [stderr] Downloaded rand v0.8.3 [INFO] [stderr] Downloaded libc v0.2.95 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 820df7931f4b12160af96810f972e4fc1d3a913ad388ba028b4f7ea60999139f [INFO] running `Command { std: "docker" "start" "-a" "820df7931f4b12160af96810f972e4fc1d3a913ad388ba028b4f7ea60999139f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "820df7931f4b12160af96810f972e4fc1d3a913ad388ba028b4f7ea60999139f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "820df7931f4b12160af96810f972e4fc1d3a913ad388ba028b4f7ea60999139f", kill_on_drop: false }` [INFO] [stdout] 820df7931f4b12160af96810f972e4fc1d3a913ad388ba028b4f7ea60999139f [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f609e086dc9476b1d700440f1431759617ecf456f06764e29e0ba2e7b914393b [INFO] running `Command { std: "docker" "start" "-a" "f609e086dc9476b1d700440f1431759617ecf456f06764e29e0ba2e7b914393b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking getrandom v0.2.3 [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_in_one_weekend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/camera.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/camera.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/chapter-6.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | world.add(Rc::new(RefCell::new(Sphere::new(Point3::new((0.,0.,-1.)), 0.5)))); [INFO] [stdout] | ^^^^^^^^^^^------------------------------- argument #3 of type `Rc>` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/hittable.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new(center: Point3, radius: f64, mat_ptr: Rc>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 11 | world.add(Rc::new(RefCell::new(Sphere::new(Point3::new((0.,0.,-1.)), 0.5, /* Rc> */)))); [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/chapter-6.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | world.add(Rc::new(RefCell::new(Sphere::new(Point3::new((0.,-100.5,-1.)), 100.)))); [INFO] [stdout] | ^^^^^^^^^^^------------------------------------ argument #3 of type `Rc>` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/hittable.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new(center: Point3, radius: f64, mat_ptr: Rc>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 12 | world.add(Rc::new(RefCell::new(Sphere::new(Point3::new((0.,-100.5,-1.)), 100., /* Rc> */)))); [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/chapter-8.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | world.add(Rc::new(RefCell::new(Sphere::new(Point3::new((0.,0.,-1.)), 0.5)))); [INFO] [stdout] | ^^^^^^^^^^^------------------------------- argument #3 of type `Rc>` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/hittable.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new(center: Point3, radius: f64, mat_ptr: Rc>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 12 | world.add(Rc::new(RefCell::new(Sphere::new(Point3::new((0.,0.,-1.)), 0.5, /* Rc> */)))); [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/chapter-8.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | world.add(Rc::new(RefCell::new(Sphere::new(Point3::new((0.,-100.5,-1.)), 100.)))); [INFO] [stdout] | ^^^^^^^^^^^------------------------------------ argument #3 of type `Rc>` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/hittable.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new(center: Point3, radius: f64, mat_ptr: Rc>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 13 | world.add(Rc::new(RefCell::new(Sphere::new(Point3::new((0.,-100.5,-1.)), 100., /* Rc> */)))); [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ray_tracing_in_one_weekend` (example "chapter-8") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> examples/chapter-6.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | println!("{}", r.ray_color(&world)); [INFO] [stdout] | ^^^^^^^^^-------- argument #2 of type `isize` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/ray.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn ray_color(&self, world: &dyn Hittable, depth: isize) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 35 | println!("{}", r.ray_color(&world, /* isize */)); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/chapter-7.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | world.add(Rc::new(RefCell::new(Sphere::new(Point3::new((0.,0.,-1.)), 0.5)))); [INFO] [stdout] | ^^^^^^^^^^^------------------------------- argument #3 of type `Rc>` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/hittable.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new(center: Point3, radius: f64, mat_ptr: Rc>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 11 | world.add(Rc::new(RefCell::new(Sphere::new(Point3::new((0.,0.,-1.)), 0.5, /* Rc> */)))); [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> examples/chapter-7.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | world.add(Rc::new(RefCell::new(Sphere::new(Point3::new((0.,-100.5,-1.)), 100.)))); [INFO] [stdout] | ^^^^^^^^^^^------------------------------------ argument #3 of type `Rc>` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/hittable.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new(center: Point3, radius: f64, mat_ptr: Rc>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 12 | world.add(Rc::new(RefCell::new(Sphere::new(Point3::new((0.,-100.5,-1.)), 100., /* Rc> */)))); [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> examples/chapter-7.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | pixel_color += r.ray_color(&world); [INFO] [stdout] | ^^^^^^^^^-------- argument #2 of type `isize` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/ray.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn ray_color(&self, world: &dyn Hittable, depth: isize) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 25 | pixel_color += r.ray_color(&world, /* isize */); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ray_tracing_in_one_weekend` (example "chapter-6") due to 3 previous errors [INFO] [stdout] error[E0061]: this function takes 7 arguments but 5 arguments were supplied [INFO] [stdout] --> examples/chapter-11.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | let cam = Camera::new( [INFO] [stdout] | _______________^^^^^^^^^^^- [INFO] [stdout] 42 | | Point3::new((-2., 2., 1.)), [INFO] [stdout] 43 | | Point3::new((0., 0., -1.)), [INFO] [stdout] 44 | | Vec3::new((0., 1., 0.)), [INFO] [stdout] 45 | | 20., [INFO] [stdout] 46 | | ASPECT_RATIO [INFO] [stdout] 47 | | ); [INFO] [stdout] | |_____- two arguments of type `f64` and `f64` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/camera.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 46 | let cam = Camera::new( [INFO] [stdout] ... [INFO] [stdout] 50 | 20., [INFO] [stdout] 51 ~ ASPECT_RATIO, [INFO] [stdout] 52 + /* f64 */, [INFO] [stdout] 53 + /* f64 */, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt` and `ops` [INFO] [stdout] --> examples/chapter-3.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt, ops}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ray_tracing_in_one_weekend` (example "chapter-7") due to 3 previous errors [INFO] [stdout] error[E0061]: this method takes 2 arguments but 0 arguments were supplied [INFO] [stdout] --> examples/chapter-5.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | println!("{}", r.ray_color()); [INFO] [stdout] | ^^^^^^^^^-- two arguments of type `&dyn Hittable` and `isize` are missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/ray.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn ray_color(&self, world: &dyn Hittable, depth: isize) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 29 | println!("{}", r.ray_color(/* &dyn Hittable */, /* isize */)); [INFO] [stdout] | ++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 0 arguments were supplied [INFO] [stdout] --> examples/chapter-4.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | println!("{}", r.ray_color()); [INFO] [stdout] | ^^^^^^^^^-- two arguments of type `&dyn Hittable` and `isize` are missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/ray.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn ray_color(&self, world: &dyn Hittable, depth: isize) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 29 | println!("{}", r.ray_color(/* &dyn Hittable */, /* isize */)); [INFO] [stdout] | ++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ray_tracing_in_one_weekend` (example "chapter-5") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ray_tracing_in_one_weekend` (example "chapter-11") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ray_tracing_in_one_weekend` (example "chapter-4") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "f609e086dc9476b1d700440f1431759617ecf456f06764e29e0ba2e7b914393b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f609e086dc9476b1d700440f1431759617ecf456f06764e29e0ba2e7b914393b", kill_on_drop: false }` [INFO] [stdout] f609e086dc9476b1d700440f1431759617ecf456f06764e29e0ba2e7b914393b