[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] 74276f6f25741665dbd6517ed89894e029c024df [INFO] testing EgorSozonov/PathTracerR against try#eafdee2dfae8c2233b74f98b123308be7ccefcc6 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEgorSozonov%2FPathTracerR" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EgorSozonov/PathTracerR on toolchain eafdee2dfae8c2233b74f98b123308be7ccefcc6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "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-9/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" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "fetch" "--locked" "--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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand v0.3.23 [INFO] [stderr] Downloaded libc v0.2.80 [INFO] [stderr] Downloaded winapi v0.3.9 [INFO] [stderr] Downloaded rand v0.4.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c8ea5022f709b150ed02f352b3a053ff6071597d93646fb0c1b05ca702cceb3 [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" "9c8ea5022f709b150ed02f352b3a053ff6071597d93646fb0c1b05ca702cceb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c8ea5022f709b150ed02f352b3a053ff6071597d93646fb0c1b05ca702cceb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c8ea5022f709b150ed02f352b3a053ff6071597d93646fb0c1b05ca702cceb3", kill_on_drop: false }` [INFO] [stdout] 9c8ea5022f709b150ed02f352b3a053ff6071597d93646fb0c1b05ca702cceb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53fd16abde83f86e7b62ef9b1e6afd9a66bf5d65bca7ae934e8afc0e3f0ba7ed [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" "53fd16abde83f86e7b62ef9b1e6afd9a66bf5d65bca7ae934e8afc0e3f0ba7ed", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling PathTracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected identifier, found keyword `pub` [INFO] [stdout] --> src/pathtracer.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn trace(origin: Vect, direction: Vect, onceOnly: bool) { [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found keyword `pub` [INFO] [stdout] --> src/pathtracer.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 46 | static lightDirection = Vect::new(0.6, 0.6, 1.0).normalize(): [INFO] [stdout] | - help: try using a semicolon: `;` [INFO] [stdout] 47 | [INFO] [stdout] 48 | pub fn trace(origin: Vect, direction: Vect, onceOnly: bool) { [INFO] [stdout] | ^^^ expected type [INFO] [stdout] | [INFO] [stdout] = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `: ` [INFO] [stdout] = note: see issue #23416 for more information [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] [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: missing type for `static` item [INFO] [stdout] --> src/pathtracer.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | static lightDirection = Vect::new(0.6, 0.6, 1.0).normalize(): [INFO] [stdout] | ^^^^^^^^^^^^^^ help: provide a type for the item: `lightDirection: ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 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] running `Command { std: "docker" "inspect" "53fd16abde83f86e7b62ef9b1e6afd9a66bf5d65bca7ae934e8afc0e3f0ba7ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53fd16abde83f86e7b62ef9b1e6afd9a66bf5d65bca7ae934e8afc0e3f0ba7ed", kill_on_drop: false }` [INFO] [stdout] 53fd16abde83f86e7b62ef9b1e6afd9a66bf5d65bca7ae934e8afc0e3f0ba7ed