[INFO] cloning repository https://github.com/txus/rye [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/txus/rye" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftxus%2Frye", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftxus%2Frye'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f8191df42acb7305c331bb6fa520a147bfae9e77 [INFO] checking txus/rye against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftxus%2Frye" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/txus/rye on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/txus/rye [INFO] finished tweaking git repo https://github.com/txus/rye [INFO] tweaked toml for git repo https://github.com/txus/rye written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/txus/rye 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-segmentation v1.2.1 [INFO] [stderr] Downloaded quote v0.6.11 [INFO] [stderr] Downloaded structopt-derive v0.2.15 [INFO] [stderr] Downloaded rustc-demangle v0.1.13 [INFO] [stderr] Downloaded structopt v0.2.15 [INFO] [stderr] Downloaded cc v1.0.32 [INFO] [stderr] Downloaded backtrace v0.3.14 [INFO] [stderr] Downloaded syn v0.15.29 [INFO] [stderr] Downloaded libc v0.2.50 [INFO] [stderr] Downloaded proc-macro2 v0.4.27 [INFO] [stderr] Downloaded indextree v3.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b45aa9abe787a0fc40f5218c95bd32ad667c3df500b83cf8756e9c39e66d4ac1 [INFO] running `Command { std: "docker" "start" "-a" "b45aa9abe787a0fc40f5218c95bd32ad667c3df500b83cf8756e9c39e66d4ac1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b45aa9abe787a0fc40f5218c95bd32ad667c3df500b83cf8756e9c39e66d4ac1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b45aa9abe787a0fc40f5218c95bd32ad667c3df500b83cf8756e9c39e66d4ac1", kill_on_drop: false }` [INFO] [stdout] b45aa9abe787a0fc40f5218c95bd32ad667c3df500b83cf8756e9c39e66d4ac1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e63a3e48456c62a95e83bd0611959bc1bbd891188db70bcd0c3b9439b2848bf9 [INFO] running `Command { std: "docker" "start" "-a" "e63a3e48456c62a95e83bd0611959bc1bbd891188db70bcd0c3b9439b2848bf9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling syn v0.15.29 [INFO] [stderr] Compiling cc v1.0.32 [INFO] [stderr] Compiling backtrace v0.3.14 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Checking rustc-demangle v0.1.13 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling structopt-derive v0.2.15 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking indextree v3.1.0 [INFO] [stderr] Checking structopt v0.2.15 [INFO] [stderr] Checking rye v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PointLight` [INFO] [stdout] --> src/materials.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | let light = PointLight::new(Point::new(0.0, 0.0, -10.0), Color::white()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PointLight` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 139 + use crate::light::PointLight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PointLight` [INFO] [stdout] --> src/materials.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | let light = PointLight::new(Point::new(0.0, 0.0, -10.0), Color::white()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PointLight` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 139 + use crate::light::PointLight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PointLight` [INFO] [stdout] --> src/materials.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | let light = PointLight::new(Point::new(0.0, 10.0, -10.0), Color::white()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PointLight` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 139 + use crate::light::PointLight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PointLight` [INFO] [stdout] --> src/materials.rs:187:21 [INFO] [stdout] | [INFO] [stdout] 187 | let light = PointLight::new(Point::new(0.0, 10.0, -10.0), Color::white()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PointLight` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 139 + use crate::light::PointLight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PointLight` [INFO] [stdout] --> src/materials.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | let light = PointLight::new(Point::new(0.0, 0.0, 10.0), Color::white()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PointLight` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 139 + use crate::light::PointLight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PointLight` [INFO] [stdout] --> src/materials.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | let light = PointLight::new(Point::new(0.0, 0.0, -10.0), Color::white()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PointLight` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 139 + use crate::light::PointLight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PointLight` [INFO] [stdout] --> src/materials.rs:229:21 [INFO] [stdout] | [INFO] [stdout] 229 | let light = PointLight::new(Point::new(0.0, 0.0, 10.0), Color::white()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PointLight` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 139 + use crate::light::PointLight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `light_source` on type `world::World` [INFO] [stdout] --> src/light.rs:117:24 [INFO] [stdout] | [INFO] [stdout] 117 | let light = &w.light_source; [INFO] [stdout] | ^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `registry`, `lights` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/light.rs:151:45 [INFO] [stdout] | [INFO] [stdout] 151 | assert_eq!(light.point_on_light(jitter, *u, *v), *result); [INFO] [stdout] | -------------- ^^^^^^ expected `&mut _`, found `ConstantJitter` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found struct `ConstantJitter` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/light.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | fn point_on_light>(&self, jitter: &mut I, u: usize, v: usize) -> Point { [INFO] [stdout] | ^^^^^^^^^^^^^^ -------------- [INFO] [stdout] help: consider mutably borrowing here [INFO] [stdout] | [INFO] [stdout] 151 | assert_eq!(light.point_on_light(&mut jitter, *u, *v), *result); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/light.rs:172:30 [INFO] [stdout] | [INFO] [stdout] 172 | assert_eq!(light.intensity_at(point, &w), *result); [INFO] [stdout] | ^^^^^^^^^^^^----------- [INFO] [stdout] | || [INFO] [stdout] | |expected `&Color`, found `&Point` [INFO] [stdout] | two arguments of type `&Precomputation` and `&materials::Material` are missing [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&color::Color` [INFO] [stdout] found reference `&linear::Point` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/light.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn intensity_at(&self, color: &Color, comps: &Precomputation, mat: &Material, w: &World) -> Color; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 172 | assert_eq!(light.intensity_at(/* &color::Color */, /* &Precomputation */, /* &materials::Material */, &w), *result); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/light.rs:172:55 [INFO] [stdout] | [INFO] [stdout] 172 | assert_eq!(light.intensity_at(point, &w), *result); [INFO] [stdout] | ^^^^^^^ expected `Color`, found `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 6 arguments were supplied [INFO] [stdout] --> src/materials.rs:152:26 [INFO] [stdout] | [INFO] [stdout] 152 | let result = mat.lighting(&s, &light, &position, &eye, &normal, 1.0); [INFO] [stdout] | ^^^^^^^^ --------- ---- ------- --- unexpected argument of type `{float}` [INFO] [stdout] | | | | [INFO] [stdout] | | | unexpected argument of type `&linear::Vector` [INFO] [stdout] | | expected `&World`, found `&Vector` [INFO] [stdout] | expected `&Precomputation`, found `&Point` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Precomputation` [INFO] [stdout] found reference `&linear::Point` [INFO] [stdout] = note: expected reference `&world::World` [INFO] [stdout] found reference `&linear::Vector` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/materials.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn lighting( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 120 | &self, [INFO] [stdout] 121 | object: &Box, [INFO] [stdout] | ------------------- [INFO] [stdout] 122 | lights: &[Box], [INFO] [stdout] | --------------------- [INFO] [stdout] 123 | comps: &Precomputation, [INFO] [stdout] | ---------------------- [INFO] [stdout] 124 | world: &World, [INFO] [stdout] | ------------- [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 152 - let result = mat.lighting(&s, &light, &position, &eye, &normal, 1.0); [INFO] [stdout] 152 + let result = mat.lighting(&s, &light, /* &Precomputation */, /* &world::World */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 6 arguments were supplied [INFO] [stdout] --> src/materials.rs:164:26 [INFO] [stdout] | [INFO] [stdout] 164 | let result = mat.lighting(&s, &light, &position, &eye, &normal, 1.0); [INFO] [stdout] | ^^^^^^^^ --------- ---- ------- --- unexpected argument of type `{float}` [INFO] [stdout] | | | | [INFO] [stdout] | | | unexpected argument of type `&linear::Vector` [INFO] [stdout] | | expected `&World`, found `&Vector` [INFO] [stdout] | expected `&Precomputation`, found `&Point` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Precomputation` [INFO] [stdout] found reference `&linear::Point` [INFO] [stdout] = note: expected reference `&world::World` [INFO] [stdout] found reference `&linear::Vector` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/materials.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn lighting( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 120 | &self, [INFO] [stdout] 121 | object: &Box, [INFO] [stdout] | ------------------- [INFO] [stdout] 122 | lights: &[Box], [INFO] [stdout] | --------------------- [INFO] [stdout] 123 | comps: &Precomputation, [INFO] [stdout] | ---------------------- [INFO] [stdout] 124 | world: &World, [INFO] [stdout] | ------------- [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 164 - let result = mat.lighting(&s, &light, &position, &eye, &normal, 1.0); [INFO] [stdout] 164 + let result = mat.lighting(&s, &light, /* &Precomputation */, /* &world::World */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 6 arguments were supplied [INFO] [stdout] --> src/materials.rs:176:26 [INFO] [stdout] | [INFO] [stdout] 176 | let result = mat.lighting(&s, &light, &position, &eye, &normal, 1.0); [INFO] [stdout] | ^^^^^^^^ --------- ---- ------- --- unexpected argument of type `{float}` [INFO] [stdout] | | | | [INFO] [stdout] | | | unexpected argument of type `&linear::Vector` [INFO] [stdout] | | expected `&World`, found `&Vector` [INFO] [stdout] | expected `&Precomputation`, found `&Point` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Precomputation` [INFO] [stdout] found reference `&linear::Point` [INFO] [stdout] = note: expected reference `&world::World` [INFO] [stdout] found reference `&linear::Vector` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/materials.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn lighting( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 120 | &self, [INFO] [stdout] 121 | object: &Box, [INFO] [stdout] | ------------------- [INFO] [stdout] 122 | lights: &[Box], [INFO] [stdout] | --------------------- [INFO] [stdout] 123 | comps: &Precomputation, [INFO] [stdout] | ---------------------- [INFO] [stdout] 124 | world: &World, [INFO] [stdout] | ------------- [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 176 - let result = mat.lighting(&s, &light, &position, &eye, &normal, 1.0); [INFO] [stdout] 176 + let result = mat.lighting(&s, &light, /* &Precomputation */, /* &world::World */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 6 arguments were supplied [INFO] [stdout] --> src/materials.rs:188:26 [INFO] [stdout] | [INFO] [stdout] 188 | let result = mat.lighting(&s, &light, &position, &eye, &normal, 1.0); [INFO] [stdout] | ^^^^^^^^ --------- ---- ------- --- unexpected argument of type `{float}` [INFO] [stdout] | | | | [INFO] [stdout] | | | unexpected argument of type `&linear::Vector` [INFO] [stdout] | | expected `&World`, found `&Vector` [INFO] [stdout] | expected `&Precomputation`, found `&Point` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Precomputation` [INFO] [stdout] found reference `&linear::Point` [INFO] [stdout] = note: expected reference `&world::World` [INFO] [stdout] found reference `&linear::Vector` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/materials.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn lighting( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 120 | &self, [INFO] [stdout] 121 | object: &Box, [INFO] [stdout] | ------------------- [INFO] [stdout] 122 | lights: &[Box], [INFO] [stdout] | --------------------- [INFO] [stdout] 123 | comps: &Precomputation, [INFO] [stdout] | ---------------------- [INFO] [stdout] 124 | world: &World, [INFO] [stdout] | ------------- [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 188 - let result = mat.lighting(&s, &light, &position, &eye, &normal, 1.0); [INFO] [stdout] 188 + let result = mat.lighting(&s, &light, /* &Precomputation */, /* &world::World */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 6 arguments were supplied [INFO] [stdout] --> src/materials.rs:200:26 [INFO] [stdout] | [INFO] [stdout] 200 | let result = mat.lighting(&s, &light, &position, &eye, &normal, 1.0); [INFO] [stdout] | ^^^^^^^^ --------- ---- ------- --- unexpected argument of type `{float}` [INFO] [stdout] | | | | [INFO] [stdout] | | | unexpected argument of type `&linear::Vector` [INFO] [stdout] | | expected `&World`, found `&Vector` [INFO] [stdout] | expected `&Precomputation`, found `&Point` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Precomputation` [INFO] [stdout] found reference `&linear::Point` [INFO] [stdout] = note: expected reference `&world::World` [INFO] [stdout] found reference `&linear::Vector` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/materials.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn lighting( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 120 | &self, [INFO] [stdout] 121 | object: &Box, [INFO] [stdout] | ------------------- [INFO] [stdout] 122 | lights: &[Box], [INFO] [stdout] | --------------------- [INFO] [stdout] 123 | comps: &Precomputation, [INFO] [stdout] | ---------------------- [INFO] [stdout] 124 | world: &World, [INFO] [stdout] | ------------- [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 200 - let result = mat.lighting(&s, &light, &position, &eye, &normal, 1.0); [INFO] [stdout] 200 + let result = mat.lighting(&s, &light, /* &Precomputation */, /* &world::World */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 6 arguments were supplied [INFO] [stdout] --> src/materials.rs:212:26 [INFO] [stdout] | [INFO] [stdout] 212 | let result = mat.lighting(&s, &light, &position, &eye, &normal, 0.0); [INFO] [stdout] | ^^^^^^^^ --------- ---- ------- --- unexpected argument of type `{float}` [INFO] [stdout] | | | | [INFO] [stdout] | | | unexpected argument of type `&linear::Vector` [INFO] [stdout] | | expected `&World`, found `&Vector` [INFO] [stdout] | expected `&Precomputation`, found `&Point` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Precomputation` [INFO] [stdout] found reference `&linear::Point` [INFO] [stdout] = note: expected reference `&world::World` [INFO] [stdout] found reference `&linear::Vector` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/materials.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn lighting( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 120 | &self, [INFO] [stdout] 121 | object: &Box, [INFO] [stdout] | ------------------- [INFO] [stdout] 122 | lights: &[Box], [INFO] [stdout] | --------------------- [INFO] [stdout] 123 | comps: &Precomputation, [INFO] [stdout] | ---------------------- [INFO] [stdout] 124 | world: &World, [INFO] [stdout] | ------------- [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 212 - let result = mat.lighting(&s, &light, &position, &eye, &normal, 0.0); [INFO] [stdout] 212 + let result = mat.lighting(&s, &light, /* &Precomputation */, /* &world::World */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 6 arguments were supplied [INFO] [stdout] --> src/materials.rs:230:22 [INFO] [stdout] | [INFO] [stdout] 230 | let c1 = mat.lighting(&s, &light, &Point::new(0.9, 0.0, 0.0), &eye, &normal, 1.0); [INFO] [stdout] | ^^^^^^^^ -------------------------- ---- ------- --- unexpected argument of type `{float}` [INFO] [stdout] | | | | [INFO] [stdout] | | | unexpected argument of type `&linear::Vector` [INFO] [stdout] | | expected `&World`, found `&Vector` [INFO] [stdout] | expected `&Precomputation`, found `&Point` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Precomputation` [INFO] [stdout] found reference `&linear::Point` [INFO] [stdout] = note: expected reference `&world::World` [INFO] [stdout] found reference `&linear::Vector` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/materials.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn lighting( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 120 | &self, [INFO] [stdout] 121 | object: &Box, [INFO] [stdout] | ------------------- [INFO] [stdout] 122 | lights: &[Box], [INFO] [stdout] | --------------------- [INFO] [stdout] 123 | comps: &Precomputation, [INFO] [stdout] | ---------------------- [INFO] [stdout] 124 | world: &World, [INFO] [stdout] | ------------- [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 230 - let c1 = mat.lighting(&s, &light, &Point::new(0.9, 0.0, 0.0), &eye, &normal, 1.0); [INFO] [stdout] 230 + let c1 = mat.lighting(&s, &light, /* &Precomputation */, /* &world::World */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 6 arguments were supplied [INFO] [stdout] --> src/materials.rs:231:22 [INFO] [stdout] | [INFO] [stdout] 231 | let c2 = mat.lighting(&s, &light, &Point::new(1.1, 0.0, 0.0), &eye, &normal, 1.0); [INFO] [stdout] | ^^^^^^^^ -------------------------- ---- ------- --- unexpected argument of type `{float}` [INFO] [stdout] | | | | [INFO] [stdout] | | | unexpected argument of type `&linear::Vector` [INFO] [stdout] | | expected `&World`, found `&Vector` [INFO] [stdout] | expected `&Precomputation`, found `&Point` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Precomputation` [INFO] [stdout] found reference `&linear::Point` [INFO] [stdout] = note: expected reference `&world::World` [INFO] [stdout] found reference `&linear::Vector` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/materials.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn lighting( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 120 | &self, [INFO] [stdout] 121 | object: &Box, [INFO] [stdout] | ------------------- [INFO] [stdout] 122 | lights: &[Box], [INFO] [stdout] | --------------------- [INFO] [stdout] 123 | comps: &Precomputation, [INFO] [stdout] | ---------------------- [INFO] [stdout] 124 | world: &World, [INFO] [stdout] | ------------- [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 231 - let c2 = mat.lighting(&s, &light, &Point::new(1.1, 0.0, 0.0), &eye, &normal, 1.0); [INFO] [stdout] 231 + let c2 = mat.lighting(&s, &light, /* &Precomputation */, /* &world::World */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `light_source` on type `world::World` [INFO] [stdout] --> src/world.rs:225:11 [INFO] [stdout] | [INFO] [stdout] 225 | w.light_source = PointLight::new(Point::new(0.0, 0.25, 0.0), Color::white()); [INFO] [stdout] | ^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `registry`, `lights` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `light_source` on type `RefMut<'_, world::World>` [INFO] [stdout] --> src/world.rs:362:19 [INFO] [stdout] | [INFO] [stdout] 362 | world.light_source = PointLight::new(Point::origin(), Color::white()); [INFO] [stdout] | ^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `registry`, `lights` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0433, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rye` (bin "rye" test) due to 22 previous errors [INFO] running `Command { std: "docker" "inspect" "e63a3e48456c62a95e83bd0611959bc1bbd891188db70bcd0c3b9439b2848bf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e63a3e48456c62a95e83bd0611959bc1bbd891188db70bcd0c3b9439b2848bf9", kill_on_drop: false }` [INFO] [stdout] e63a3e48456c62a95e83bd0611959bc1bbd891188db70bcd0c3b9439b2848bf9 [INFO] checking txus/rye against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftxus%2Frye" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/txus/rye on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/txus/rye [INFO] finished tweaking git repo https://github.com/txus/rye [INFO] tweaked toml for git repo https://github.com/txus/rye written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/txus/rye 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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc95dd933401dece9ca5b58fe6d4f79198a71d9cbeb5795d90c4d1329c8b7dff [INFO] running `Command { std: "docker" "start" "-a" "bc95dd933401dece9ca5b58fe6d4f79198a71d9cbeb5795d90c4d1329c8b7dff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc95dd933401dece9ca5b58fe6d4f79198a71d9cbeb5795d90c4d1329c8b7dff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc95dd933401dece9ca5b58fe6d4f79198a71d9cbeb5795d90c4d1329c8b7dff", kill_on_drop: false }` [INFO] [stdout] bc95dd933401dece9ca5b58fe6d4f79198a71d9cbeb5795d90c4d1329c8b7dff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 315d96539ab7526f7641924f4b31fe8d08317203e10ecfd1043486433793bdc9 [INFO] running `Command { std: "docker" "start" "-a" "315d96539ab7526f7641924f4b31fe8d08317203e10ecfd1043486433793bdc9", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "315d96539ab7526f7641924f4b31fe8d08317203e10ecfd1043486433793bdc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "315d96539ab7526f7641924f4b31fe8d08317203e10ecfd1043486433793bdc9", kill_on_drop: false }` [INFO] [stdout] 315d96539ab7526f7641924f4b31fe8d08317203e10ecfd1043486433793bdc9