[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEgorSozonov%2FPathTracerR" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EgorSozonov/PathTracerR on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-14/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df8947168cca632cd57227d7409b5b6125a54f57586f04cf389471f83c570dc1 [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" "df8947168cca632cd57227d7409b5b6125a54f57586f04cf389471f83c570dc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df8947168cca632cd57227d7409b5b6125a54f57586f04cf389471f83c570dc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df8947168cca632cd57227d7409b5b6125a54f57586f04cf389471f83c570dc1", kill_on_drop: false }` [INFO] [stdout] df8947168cca632cd57227d7409b5b6125a54f57586f04cf389471f83c570dc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19ad4b85537ad89e6cf23089a3189c2e4eeec72ed7deb32340c5f85acebb9319 [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" "19ad4b85537ad89e6cf23089a3189c2e4eeec72ed7deb32340c5f85acebb9319", kill_on_drop: false }` [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: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: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: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: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: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: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: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/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] [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: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: build failed [INFO] running `Command { std: "docker" "inspect" "19ad4b85537ad89e6cf23089a3189c2e4eeec72ed7deb32340c5f85acebb9319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19ad4b85537ad89e6cf23089a3189c2e4eeec72ed7deb32340c5f85acebb9319", kill_on_drop: false }` [INFO] [stdout] 19ad4b85537ad89e6cf23089a3189c2e4eeec72ed7deb32340c5f85acebb9319