[INFO] cloning repository https://github.com/EgorSozonov/PathTracerR [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EgorSozonov/PathTracerR" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEgorSozonov%2FPathTracerR", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEgorSozonov%2FPathTracerR'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 15b1184c5cd245ebc9328888f6eb68c762d0567f [INFO] checking EgorSozonov/PathTracerR against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEgorSozonov%2FPathTracerR" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EgorSozonov/PathTracerR on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/EgorSozonov/PathTracerR [INFO] finished tweaking git repo https://github.com/EgorSozonov/PathTracerR [INFO] tweaked toml for git repo https://github.com/EgorSozonov/PathTracerR written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/EgorSozonov/PathTracerR already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf0876cead58e351d93b1628d4d5653bbd84d3e3af1585a963f79be294fe7ab0 [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" "bf0876cead58e351d93b1628d4d5653bbd84d3e3af1585a963f79be294fe7ab0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf0876cead58e351d93b1628d4d5653bbd84d3e3af1585a963f79be294fe7ab0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf0876cead58e351d93b1628d4d5653bbd84d3e3af1585a963f79be294fe7ab0", kill_on_drop: false }` [INFO] [stdout] bf0876cead58e351d93b1628d4d5653bbd84d3e3af1585a963f79be294fe7ab0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50dff27c73d0f89b56bf99e557432e4a1206562b2663d8ca1355c3b24aed2dc7 [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" "50dff27c73d0f89b56bf99e557432e4a1206562b2663d8ca1355c3b24aed2dc7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking PathTracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `)`, `,`, `@`, or `|`, found `totalD` [INFO] [stdout] --> src/pathtracer.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | for (float totalD = 0; totalD < 100; totalD += d) { [INFO] [stdout] | -^^^^^^ expected one of `)`, `,`, `@`, or `|` [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `@`, or `|`, found `=` [INFO] [stdout] --> src/pathtracer.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | for (float totalD = 0; totalD < 100; totalD += d) { [INFO] [stdout] | ^ expected one of `)`, `,`, `@`, or `|` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing `in` in `for` loop [INFO] [stdout] --> src/pathtracer.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 117 | for (float totalD = 0; totalD < 100; totalD += d) { [INFO] [stdout] | ^ help: try adding `in` here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `=` [INFO] [stdout] --> src/pathtracer.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | for (float totalD = 0; totalD < 100; totalD += d) { [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `@`, or `|`, found `totalD` [INFO] [stdout] --> src/pathtracer.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | for (float totalD = 0; totalD < 100; totalD += d) { [INFO] [stdout] | -^^^^^^ expected one of `)`, `,`, `@`, or `|` [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `@`, or `|`, found `=` [INFO] [stdout] --> src/pathtracer.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | for (float totalD = 0; totalD < 100; totalD += d) { [INFO] [stdout] | ^ expected one of `)`, `,`, `@`, or `|` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing `in` in `for` loop [INFO] [stdout] --> src/pathtracer.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 117 | for (float totalD = 0; totalD < 100; totalD += d) { [INFO] [stdout] | ^ help: try adding `in` here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `=` [INFO] [stdout] --> src/pathtracer.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | for (float totalD = 0; totalD < 100; totalD += d) { [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pathTrace` in this scope [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pathTrace(w, h, samplesCount, position, goal); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::pathtracer::pathTrace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pathTrace` in this scope [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pathTrace(w, h, samplesCount, position, goal); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::pathtracer::pathTrace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | let position = Vect::new(-22, 5, 25); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `-22.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | let position = Vect::new(-22, 5, 25); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `-22.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | let position = Vect::new(-22, 5, 25); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `5.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | let position = Vect::new(-22, 5, 25); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `5.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:22:38 [INFO] [stdout] | [INFO] [stdout] 22 | let position = Vect::new(-22, 5, 25); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `25.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:22:38 [INFO] [stdout] | [INFO] [stdout] 22 | let position = Vect::new(-22, 5, 25); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `25.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | let goal = Vect::new(-3, 4, 0).minus(position).normalize(); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `-3.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | let goal = Vect::new(-3, 4, 0).minus(position).normalize(); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `-3.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | let goal = Vect::new(-3, 4, 0).minus(position).normalize(); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `4.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | let goal = Vect::new(-3, 4, 0).minus(position).normalize(); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `4.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | let goal = Vect::new(-3, 4, 0).minus(position).normalize(); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `0.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | let goal = Vect::new(-3, 4, 0).minus(position).normalize(); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `0.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pathtracer.rs:55:68 [INFO] [stdout] | [INFO] [stdout] 55 | let mut hitType: Hit = rayMarching(origin, marchDirection, sampledPosition, normal); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Vect`, found struct `Vect` [INFO] [stdout] | help: consider borrowing here: `&sampledPosition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pathtracer.rs:55:85 [INFO] [stdout] | [INFO] [stdout] 55 | let mut hitType: Hit = rayMarching(origin, marchDirection, sampledPosition, normal); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Vect`, found struct `Vect` [INFO] [stdout] | help: consider borrowing here: `&normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pathtracer.rs:77:70 [INFO] [stdout] | [INFO] [stdout] 77 | let temp: Hit = rayMarching(pos, marchDirection, sampledPosition, normal); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Vect`, found struct `Vect` [INFO] [stdout] | help: consider borrowing here: `&sampledPosition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pathtracer.rs:77:87 [INFO] [stdout] | [INFO] [stdout] 77 | let temp: Hit = rayMarching(pos, marchDirection, sampledPosition, normal); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Vect`, found struct `Vect` [INFO] [stdout] | help: consider borrowing here: `&normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `PathTracer` [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pathtracer.rs:55:68 [INFO] [stdout] | [INFO] [stdout] 55 | let mut hitType: Hit = rayMarching(origin, marchDirection, sampledPosition, normal); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Vect`, found struct `Vect` [INFO] [stdout] | help: consider borrowing here: `&sampledPosition` [INFO] [stdout] [INFO] [stdout] [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/pathtracer.rs:55:85 [INFO] [stdout] | [INFO] [stdout] 55 | let mut hitType: Hit = rayMarching(origin, marchDirection, sampledPosition, normal); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Vect`, found struct `Vect` [INFO] [stdout] | help: consider borrowing here: `&normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pathtracer.rs:77:70 [INFO] [stdout] | [INFO] [stdout] 77 | let temp: Hit = rayMarching(pos, marchDirection, sampledPosition, normal); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Vect`, found struct `Vect` [INFO] [stdout] | help: consider borrowing here: `&sampledPosition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pathtracer.rs:77:87 [INFO] [stdout] | [INFO] [stdout] 77 | let temp: Hit = rayMarching(pos, marchDirection, sampledPosition, normal); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Vect`, found struct `Vect` [INFO] [stdout] | help: consider borrowing here: `&normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [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" "50dff27c73d0f89b56bf99e557432e4a1206562b2663d8ca1355c3b24aed2dc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50dff27c73d0f89b56bf99e557432e4a1206562b2663d8ca1355c3b24aed2dc7", kill_on_drop: false }` [INFO] [stdout] 50dff27c73d0f89b56bf99e557432e4a1206562b2663d8ca1355c3b24aed2dc7