[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#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEgorSozonov%2FPathTracerR" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EgorSozonov/PathTracerR on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4/source/.cargo/config.toml [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-4/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0295de6adc46ccedd61bb66ba170f48294c83949b5eb30ec9908c400824a0d7d [INFO] running `Command { std: "docker" "start" "-a" "0295de6adc46ccedd61bb66ba170f48294c83949b5eb30ec9908c400824a0d7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0295de6adc46ccedd61bb66ba170f48294c83949b5eb30ec9908c400824a0d7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0295de6adc46ccedd61bb66ba170f48294c83949b5eb30ec9908c400824a0d7d", kill_on_drop: false }` [INFO] [stdout] 0295de6adc46ccedd61bb66ba170f48294c83949b5eb30ec9908c400824a0d7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5468e9a5f651b955bdd381cfc56ccf2698d4fd7ceaa67f6d162f512af10e515 [INFO] running `Command { std: "docker" "start" "-a" "e5468e9a5f651b955bdd381cfc56ccf2698d4fd7ceaa67f6d162f512af10e515", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [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 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [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[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: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` due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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[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: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: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "e5468e9a5f651b955bdd381cfc56ccf2698d4fd7ceaa67f6d162f512af10e515", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5468e9a5f651b955bdd381cfc56ccf2698d4fd7ceaa67f6d162f512af10e515", kill_on_drop: false }` [INFO] [stdout] e5468e9a5f651b955bdd381cfc56ccf2698d4fd7ceaa67f6d162f512af10e515