[INFO] cloning repository https://github.com/harrisonthorne/blockery-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/harrisonthorne/blockery-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharrisonthorne%2Fblockery-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharrisonthorne%2Fblockery-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a2a682386e2f4024ad082986786e4e3d1347bc0 [INFO] checking harrisonthorne/blockery-rs against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharrisonthorne%2Fblockery-rs" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/harrisonthorne/blockery-rs 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/harrisonthorne/blockery-rs [INFO] finished tweaking git repo https://github.com/harrisonthorne/blockery-rs [INFO] tweaked toml for git repo https://github.com/harrisonthorne/blockery-rs written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/harrisonthorne/blockery-rs 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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f02af42f3929442e0af774167842c6733d12b76ac1ea455f451209afc2b9bd3e [INFO] running `Command { std: "docker" "start" "-a" "f02af42f3929442e0af774167842c6733d12b76ac1ea455f451209afc2b9bd3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f02af42f3929442e0af774167842c6733d12b76ac1ea455f451209afc2b9bd3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f02af42f3929442e0af774167842c6733d12b76ac1ea455f451209afc2b9bd3e", kill_on_drop: false }` [INFO] [stdout] f02af42f3929442e0af774167842c6733d12b76ac1ea455f451209afc2b9bd3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4d0467873d7682bb5da5087b16897382907e7827fa14a2283c24b53c365ab108 [INFO] running `Command { std: "docker" "start" "-a" "4d0467873d7682bb5da5087b16897382907e7827fa14a2283c24b53c365ab108", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.58 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.2.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling anyhow v1.0.26 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.58 [INFO] [stderr] Compiling sourcefile v0.1.4 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling weedle v0.10.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.58 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.58 [INFO] [stderr] Compiling wasm-bindgen-webidl v0.2.58 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.58 [INFO] [stderr] Compiling web-sys v0.3.35 [INFO] [stderr] Checking js-sys v0.3.35 [INFO] [stderr] Checking blockery-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: could not compile `blockery-rs` [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | let global_block_production_enabled = true; [INFO] [stdout] | ^^^ expected item [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error: missing type for `const` item [INFO] [stdout] --> src/main.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const SAVE_INTERVAL = 60; [INFO] [stdout] | ^^^^^^^^^^^^^ help: provide a type for the item: `SAVE_INTERVAL: ` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `position` [INFO] [stdout] --> src/block.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 28 | Self { [INFO] [stdout] | ---- while parsing this struct [INFO] [stdout] 29 | fill: 0 [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | expected one of `,`, `.`, `?`, `}`, or an operator [INFO] [stdout] | help: try adding a comma: `,` [INFO] [stdout] 30 | position: [0.0, 0.0, 0.0], [INFO] [stdout] | ^^^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `{`, found keyword `while` [INFO] [stdout] --> src/block.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | while (delta > 0) { [INFO] [stdout] | ^^^^^ expected `{` [INFO] [stdout] | [INFO] [stdout] help: try placing this code inside a block [INFO] [stdout] | [INFO] [stdout] 62 | { while (delta > 0) { [INFO] [stdout] 63 | let spu = 1 / UPDATES_PER_SECOND; // seconds per update [INFO] [stdout] 64 | let time_slice = if delta < spu { delta } else { spu }; [INFO] [stdout] 65 | [INFO] [stdout] 66 | self.velocity[1] += GRAVITY * time_slice; [INFO] [stdout] 67 | self.position[1] += self.velocity[1] * time_slice; [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found `(` [INFO] [stdout] --> src/block.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 17 | impl Block { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] ... [INFO] [stdout] 83 | set_fill(val) { [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] ... [INFO] [stdout] 111 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `,`, or `}`, found `[` [INFO] [stdout] --> src/board.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | block_grid: [Option; ROWS][Option; COLUMNS], [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `.`, `::`, `?`, `]`, `{`, or an operator, found `;` [INFO] [stdout] --> src/board.rs:44:42 [INFO] [stdout] | [INFO] [stdout] 28 | Self { [INFO] [stdout] | ---- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 44 | block_grid: [None; ROWS][None; COLUMNS], [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `let` [INFO] [stdout] --> src/board.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | for (let i = 0; i < self.COLUMNS; i++) [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `@`, or `|`, found `i` [INFO] [stdout] --> src/board.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | for (let i = 0; i < self.COLUMNS; i++) [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/board.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | for (let i = 0; i < self.COLUMNS; i++) [INFO] [stdout] | ^ expected one of `)`, `,`, `@`, or `|` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing `in` in `for` loop [INFO] [stdout] --> src/board.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | for (let i = 0; i < self.COLUMNS; i++) [INFO] [stdout] | ^ help: try adding `in` here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `=` [INFO] [stdout] --> src/board.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | for (let i = 0; i < self.COLUMNS; i++) [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `{`, found keyword `self` [INFO] [stdout] --> src/board.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 62 | if (!global_block_production_enabled) [INFO] [stdout] | -- this `if` expression has a condition, but no block [INFO] [stdout] ... [INFO] [stdout] 65 | self.pending_fill_time += delta; [INFO] [stdout] | ^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | expected `{` [INFO] [stdout] | help: try placing this code inside a block: `{ self.pending_fill_time += delta; }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `let` [INFO] [stdout] --> src/board.rs:87:14 [INFO] [stdout] | [INFO] [stdout] 87 | for (let r = 0; r < self.ROWS; r++) [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `@`, or `|`, found `r` [INFO] [stdout] --> src/board.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | for (let r = 0; r < self.ROWS; r++) [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/board.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | for (let r = 0; r < self.ROWS; r++) [INFO] [stdout] | ^ expected one of `)`, `,`, `@`, or `|` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing `in` in `for` loop [INFO] [stdout] --> src/board.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | for (let r = 0; r < self.ROWS; r++) [INFO] [stdout] | ^ help: try adding `in` here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `=` [INFO] [stdout] --> src/board.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | for (let r = 0; r < self.ROWS; r++) [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/board.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | fn init (ctx_2d, board_code) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a `self` type, give it a parameter name [INFO] [stdout] | [INFO] [stdout] 103 | fn init (self: ctx_2d, board_code) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 103 | fn init (ctx_2d: TypeName, board_code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 103 | fn init (_: ctx_2d, board_code) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/board.rs:103:36 [INFO] [stdout] | [INFO] [stdout] 103 | fn init (ctx_2d, board_code) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 103 | fn init (ctx_2d, board_code: TypeName) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 103 | fn init (ctx_2d, _: board_code) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `let` [INFO] [stdout] --> src/board.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | for (let r = 0; r < self.ROWS; r++) { [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `@`, or `|`, found `r` [INFO] [stdout] --> src/board.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | for (let r = 0; r < self.ROWS; r++) { [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/board.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | for (let r = 0; r < self.ROWS; r++) { [INFO] [stdout] | ^ expected one of `)`, `,`, `@`, or `|` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing `in` in `for` loop [INFO] [stdout] --> src/board.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | for (let r = 0; r < self.ROWS; r++) { [INFO] [stdout] | ^ help: try adding `in` here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `=` [INFO] [stdout] --> src/board.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | for (let r = 0; r < self.ROWS; r++) { [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/board.rs:124:24 [INFO] [stdout] | [INFO] [stdout] 124 | fn logic (delta) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a `self` type, give it a parameter name [INFO] [stdout] | [INFO] [stdout] 124 | fn logic (self: delta) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 124 | fn logic (delta: TypeName) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 124 | fn logic (_: delta) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid comparison operator `!==` [INFO] [stdout] --> src/board.rs:126:35 [INFO] [stdout] | [INFO] [stdout] 126 | let isBlinkColor = blinkR !== 0 || blinkG !== 0 || blinkB !== 0; [INFO] [stdout] | ^^^ help: `!==` is not a valid comparison operator, use `!=` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid comparison operator `!==` [INFO] [stdout] --> src/board.rs:126:51 [INFO] [stdout] | [INFO] [stdout] 126 | let isBlinkColor = blinkR !== 0 || blinkG !== 0 || blinkB !== 0; [INFO] [stdout] | ^^^ help: `!==` is not a valid comparison operator, use `!=` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid comparison operator `!==` [INFO] [stdout] --> src/board.rs:126:67 [INFO] [stdout] | [INFO] [stdout] 126 | let isBlinkColor = blinkR !== 0 || blinkG !== 0 || blinkB !== 0; [INFO] [stdout] | ^^^ help: `!==` is not a valid comparison operator, use `!=` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid comparison operator `===` [INFO] [stdout] --> src/board.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | if (isBlinkColor && (blinkTime < blinkEnd || blinkEnd === 0)) [INFO] [stdout] | ^^^ help: `===` is not a valid comparison operator, use `==` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `{`, found `blinkTime` [INFO] [stdout] --> src/board.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 127 | if (isBlinkColor && (blinkTime < blinkEnd || blinkEnd === 0)) [INFO] [stdout] | -- this `if` expression has a condition, but no block [INFO] [stdout] 128 | blinkTime += delta * 10; [INFO] [stdout] | ^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | expected `{` [INFO] [stdout] | help: try placing this code inside a block: `{ blinkTime += delta * 10; }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/board.rs:191:22 [INFO] [stdout] | [INFO] [stdout] 191 | fn render (gl, programInfo, y_offset) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a `self` type, give it a parameter name [INFO] [stdout] | [INFO] [stdout] 191 | fn render (self: gl, programInfo, y_offset) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 191 | fn render (gl: TypeName, programInfo, y_offset) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 191 | fn render (_: gl, programInfo, y_offset) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/board.rs:191:35 [INFO] [stdout] | [INFO] [stdout] 191 | fn render (gl, programInfo, y_offset) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 191 | fn render (gl, programInfo: TypeName, y_offset) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 191 | fn render (gl, _: programInfo, y_offset) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/board.rs:191:45 [INFO] [stdout] | [INFO] [stdout] 191 | fn render (gl, programInfo, y_offset) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 191 | fn render (gl, programInfo, y_offset: TypeName) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 191 | fn render (gl, programInfo, _: y_offset) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/board.rs:198:27 [INFO] [stdout] | [INFO] [stdout] 198 | fn renderQueue (gl, programInfo, y_offset) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a `self` type, give it a parameter name [INFO] [stdout] | [INFO] [stdout] 198 | fn renderQueue (self: gl, programInfo, y_offset) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 198 | fn renderQueue (gl: TypeName, programInfo, y_offset) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 198 | fn renderQueue (_: gl, programInfo, y_offset) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/board.rs:198:40 [INFO] [stdout] | [INFO] [stdout] 198 | fn renderQueue (gl, programInfo, y_offset) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 198 | fn renderQueue (gl, programInfo: TypeName, y_offset) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 198 | fn renderQueue (gl, _: programInfo, y_offset) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/board.rs:198:50 [INFO] [stdout] | [INFO] [stdout] 198 | fn renderQueue (gl, programInfo, y_offset) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 198 | fn renderQueue (gl, programInfo, y_offset: TypeName) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 198 | fn renderQueue (gl, programInfo, _: y_offset) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `let` [INFO] [stdout] --> src/board.rs:200:14 [INFO] [stdout] | [INFO] [stdout] 200 | for (let i = 0; i < self.COLUMNS; i++) { [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `@`, or `|`, found `i` [INFO] [stdout] --> src/board.rs:200:18 [INFO] [stdout] | [INFO] [stdout] 200 | for (let i = 0; i < self.COLUMNS; i++) { [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/board.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | for (let i = 0; i < self.COLUMNS; i++) { [INFO] [stdout] | ^ expected one of `)`, `,`, `@`, or `|` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing `in` in `for` loop [INFO] [stdout] --> src/board.rs:200:19 [INFO] [stdout] | [INFO] [stdout] 200 | for (let i = 0; i < self.COLUMNS; i++) { [INFO] [stdout] | ^ help: try adding `in` here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `=` [INFO] [stdout] --> src/board.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | for (let i = 0; i < self.COLUMNS; i++) { [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/board.rs:206:26 [INFO] [stdout] | [INFO] [stdout] 206 | fn renderGrid (gl, programInfo, y_offset) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a `self` type, give it a parameter name [INFO] [stdout] | [INFO] [stdout] 206 | fn renderGrid (self: gl, programInfo, y_offset) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 206 | fn renderGrid (gl: TypeName, programInfo, y_offset) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 206 | fn renderGrid (_: gl, programInfo, y_offset) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/board.rs:206:39 [INFO] [stdout] | [INFO] [stdout] 206 | fn renderGrid (gl, programInfo, y_offset) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 206 | fn renderGrid (gl, programInfo: TypeName, y_offset) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 206 | fn renderGrid (gl, _: programInfo, y_offset) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/board.rs:206:49 [INFO] [stdout] | [INFO] [stdout] 206 | fn renderGrid (gl, programInfo, y_offset) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 206 | fn renderGrid (gl, programInfo, y_offset: TypeName) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 206 | fn renderGrid (gl, programInfo, _: y_offset) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `let` [INFO] [stdout] --> src/board.rs:207:14 [INFO] [stdout] | [INFO] [stdout] 207 | for (let r = 0; r < self.ROWS; r++) { [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `@`, or `|`, found `r` [INFO] [stdout] --> src/board.rs:207:18 [INFO] [stdout] | [INFO] [stdout] 207 | for (let r = 0; r < self.ROWS; r++) { [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/board.rs:207:20 [INFO] [stdout] | [INFO] [stdout] 207 | for (let r = 0; r < self.ROWS; r++) { [INFO] [stdout] | ^ expected one of `)`, `,`, `@`, or `|` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing `in` in `for` loop [INFO] [stdout] --> src/board.rs:207:19 [INFO] [stdout] | [INFO] [stdout] 207 | for (let r = 0; r < self.ROWS; r++) { [INFO] [stdout] | ^ help: try adding `in` here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `=` [INFO] [stdout] --> src/board.rs:207:20 [INFO] [stdout] | [INFO] [stdout] 207 | for (let r = 0; r < self.ROWS; r++) { [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/board.rs:215:32 [INFO] [stdout] | [INFO] [stdout] 215 | fn renderDumpBlocks (gl, programInfo, y_offset) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a `self` type, give it a parameter name [INFO] [stdout] | [INFO] [stdout] 215 | fn renderDumpBlocks (self: gl, programInfo, y_offset) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 215 | fn renderDumpBlocks (gl: TypeName, programInfo, y_offset) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 215 | fn renderDumpBlocks (_: gl, programInfo, y_offset) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/board.rs:215:45 [INFO] [stdout] | [INFO] [stdout] 215 | fn renderDumpBlocks (gl, programInfo, y_offset) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 215 | fn renderDumpBlocks (gl, programInfo: TypeName, y_offset) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 215 | fn renderDumpBlocks (gl, _: programInfo, y_offset) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/board.rs:215:55 [INFO] [stdout] | [INFO] [stdout] 215 | fn renderDumpBlocks (gl, programInfo, y_offset) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 215 | fn renderDumpBlocks (gl, programInfo, y_offset: TypeName) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 215 | fn renderDumpBlocks (gl, programInfo, _: y_offset) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `=>` [INFO] [stdout] --> src/board.rs:217:55 [INFO] [stdout] | [INFO] [stdout] 217 | self.dump_blocks.forEach((item, index, array) => { [INFO] [stdout] | ^^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing type for `const` item [INFO] [stdout] --> src/block.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const BOUNCE_FACTOR = 0.25; [INFO] [stdout] | ^^^^^^^^^^^^^ help: provide a type for the item: `BOUNCE_FACTOR: ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing type for `const` item [INFO] [stdout] --> src/block.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const GRAVITY = 1500; [INFO] [stdout] | ^^^^^^^ help: provide a type for the item: `GRAVITY: ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 54 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `position` [INFO] [stdout] --> src/block.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 28 | Self { [INFO] [stdout] | ---- while parsing this struct [INFO] [stdout] 29 | fill: 0 [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | expected one of `,`, `.`, `?`, `}`, or an operator [INFO] [stdout] | help: try adding a comma: `,` [INFO] [stdout] 30 | position: [0.0, 0.0, 0.0], [INFO] [stdout] | ^^^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `{`, found keyword `while` [INFO] [stdout] --> src/block.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | while (delta > 0) { [INFO] [stdout] | ^^^^^ expected `{` [INFO] [stdout] | [INFO] [stdout] help: try placing this code inside a block [INFO] [stdout] | [INFO] [stdout] 62 | { while (delta > 0) { [INFO] [stdout] 63 | let spu = 1 / UPDATES_PER_SECOND; // seconds per update [INFO] [stdout] 64 | let time_slice = if delta < spu { delta } else { spu }; [INFO] [stdout] 65 | [INFO] [stdout] 66 | self.velocity[1] += GRAVITY * time_slice; [INFO] [stdout] 67 | self.position[1] += self.velocity[1] * time_slice; [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found `(` [INFO] [stdout] --> src/block.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 17 | impl Block { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] ... [INFO] [stdout] 83 | set_fill(val) { [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] ... [INFO] [stdout] 111 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `,`, or `}`, found `[` [INFO] [stdout] --> src/board.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | block_grid: [Option; ROWS][Option; COLUMNS], [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `.`, `::`, `?`, `]`, `{`, or an operator, found `;` [INFO] [stdout] --> src/board.rs:44:42 [INFO] [stdout] | [INFO] [stdout] 28 | Self { [INFO] [stdout] | ---- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 44 | block_grid: [None; ROWS][None; COLUMNS], [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `let` [INFO] [stdout] --> src/board.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | for (let i = 0; i < self.COLUMNS; i++) [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `@`, or `|`, found `i` [INFO] [stdout] --> src/board.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | for (let i = 0; i < self.COLUMNS; i++) [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/board.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | for (let i = 0; i < self.COLUMNS; i++) [INFO] [stdout] | ^ expected one of `)`, `,`, `@`, or `|` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing `in` in `for` loop [INFO] [stdout] --> src/board.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | for (let i = 0; i < self.COLUMNS; i++) [INFO] [stdout] | ^ help: try adding `in` here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `=` [INFO] [stdout] --> src/board.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | for (let i = 0; i < self.COLUMNS; i++) [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `{`, found keyword `self` [INFO] [stdout] --> src/board.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 62 | if (!global_block_production_enabled) [INFO] [stdout] | -- this `if` expression has a condition, but no block [INFO] [stdout] ... [INFO] [stdout] 65 | self.pending_fill_time += delta; [INFO] [stdout] | ^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | expected `{` [INFO] [stdout] | help: try placing this code inside a block: `{ self.pending_fill_time += delta; }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `let` [INFO] [stdout] --> src/board.rs:87:14 [INFO] [stdout] | [INFO] [stdout] 87 | for (let r = 0; r < self.ROWS; r++) [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `@`, or `|`, found `r` [INFO] [stdout] --> src/board.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | for (let r = 0; r < self.ROWS; r++) [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/board.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | for (let r = 0; r < self.ROWS; r++) [INFO] [stdout] | ^ expected one of `)`, `,`, `@`, or `|` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing `in` in `for` loop [INFO] [stdout] --> src/board.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | for (let r = 0; r < self.ROWS; r++) [INFO] [stdout] | ^ help: try adding `in` here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `=` [INFO] [stdout] --> src/board.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | for (let r = 0; r < self.ROWS; r++) [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/board.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | fn init (ctx_2d, board_code) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a `self` type, give it a parameter name [INFO] [stdout] | [INFO] [stdout] 103 | fn init (self: ctx_2d, board_code) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 103 | fn init (ctx_2d: TypeName, board_code) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 103 | fn init (_: ctx_2d, board_code) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/board.rs:103:36 [INFO] [stdout] | [INFO] [stdout] 103 | fn init (ctx_2d, board_code) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 103 | fn init (ctx_2d, board_code: TypeName) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 103 | fn init (ctx_2d, _: board_code) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `let` [INFO] [stdout] --> src/board.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | for (let r = 0; r < self.ROWS; r++) { [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `@`, or `|`, found `r` [INFO] [stdout] --> src/board.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | for (let r = 0; r < self.ROWS; r++) { [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/board.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | for (let r = 0; r < self.ROWS; r++) { [INFO] [stdout] | ^ expected one of `)`, `,`, `@`, or `|` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing `in` in `for` loop [INFO] [stdout] --> src/board.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | for (let r = 0; r < self.ROWS; r++) { [INFO] [stdout] | ^ help: try adding `in` here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `=` [INFO] [stdout] --> src/board.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | for (let r = 0; r < self.ROWS; r++) { [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/board.rs:124:24 [INFO] [stdout] | [INFO] [stdout] 124 | fn logic (delta) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a `self` type, give it a parameter name [INFO] [stdout] | [INFO] [stdout] 124 | fn logic (self: delta) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 124 | fn logic (delta: TypeName) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 124 | fn logic (_: delta) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid comparison operator `!==` [INFO] [stdout] --> src/board.rs:126:35 [INFO] [stdout] | [INFO] [stdout] 126 | let isBlinkColor = blinkR !== 0 || blinkG !== 0 || blinkB !== 0; [INFO] [stdout] | ^^^ help: `!==` is not a valid comparison operator, use `!=` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid comparison operator `!==` [INFO] [stdout] --> src/board.rs:126:51 [INFO] [stdout] | [INFO] [stdout] 126 | let isBlinkColor = blinkR !== 0 || blinkG !== 0 || blinkB !== 0; [INFO] [stdout] | ^^^ help: `!==` is not a valid comparison operator, use `!=` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid comparison operator `!==` [INFO] [stdout] --> src/board.rs:126:67 [INFO] [stdout] | [INFO] [stdout] 126 | let isBlinkColor = blinkR !== 0 || blinkG !== 0 || blinkB !== 0; [INFO] [stdout] | ^^^ help: `!==` is not a valid comparison operator, use `!=` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid comparison operator `===` [INFO] [stdout] --> src/board.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | if (isBlinkColor && (blinkTime < blinkEnd || blinkEnd === 0)) [INFO] [stdout] | ^^^ help: `===` is not a valid comparison operator, use `==` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `{`, found `blinkTime` [INFO] [stdout] --> src/board.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 127 | if (isBlinkColor && (blinkTime < blinkEnd || blinkEnd === 0)) [INFO] [stdout] | -- this `if` expression has a condition, but no block [INFO] [stdout] 128 | blinkTime += delta * 10; [INFO] [stdout] | ^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | expected `{` [INFO] [stdout] | help: try placing this code inside a block: `{ blinkTime += delta * 10; }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/board.rs:191:22 [INFO] [stdout] | [INFO] [stdout] 191 | fn render (gl, programInfo, y_offset) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a `self` type, give it a parameter name [INFO] [stdout] | [INFO] [stdout] 191 | fn render (self: gl, programInfo, y_offset) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 191 | fn render (gl: TypeName, programInfo, y_offset) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 191 | fn render (_: gl, programInfo, y_offset) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/board.rs:191:35 [INFO] [stdout] | [INFO] [stdout] 191 | fn render (gl, programInfo, y_offset) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 191 | fn render (gl, programInfo: TypeName, y_offset) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 191 | fn render (gl, _: programInfo, y_offset) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/board.rs:191:45 [INFO] [stdout] | [INFO] [stdout] 191 | fn render (gl, programInfo, y_offset) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 191 | fn render (gl, programInfo, y_offset: TypeName) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 191 | fn render (gl, programInfo, _: y_offset) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/board.rs:198:27 [INFO] [stdout] | [INFO] [stdout] 198 | fn renderQueue (gl, programInfo, y_offset) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a `self` type, give it a parameter name [INFO] [stdout] | [INFO] [stdout] 198 | fn renderQueue (self: gl, programInfo, y_offset) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 198 | fn renderQueue (gl: TypeName, programInfo, y_offset) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 198 | fn renderQueue (_: gl, programInfo, y_offset) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/board.rs:198:40 [INFO] [stdout] | [INFO] [stdout] 198 | fn renderQueue (gl, programInfo, y_offset) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 198 | fn renderQueue (gl, programInfo: TypeName, y_offset) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 198 | fn renderQueue (gl, _: programInfo, y_offset) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/board.rs:198:50 [INFO] [stdout] | [INFO] [stdout] 198 | fn renderQueue (gl, programInfo, y_offset) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 198 | fn renderQueue (gl, programInfo, y_offset: TypeName) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 198 | fn renderQueue (gl, programInfo, _: y_offset) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `let` [INFO] [stdout] --> src/board.rs:200:14 [INFO] [stdout] | [INFO] [stdout] 200 | for (let i = 0; i < self.COLUMNS; i++) { [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `@`, or `|`, found `i` [INFO] [stdout] --> src/board.rs:200:18 [INFO] [stdout] | [INFO] [stdout] 200 | for (let i = 0; i < self.COLUMNS; i++) { [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/board.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | for (let i = 0; i < self.COLUMNS; i++) { [INFO] [stdout] | ^ expected one of `)`, `,`, `@`, or `|` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing `in` in `for` loop [INFO] [stdout] --> src/board.rs:200:19 [INFO] [stdout] | [INFO] [stdout] 200 | for (let i = 0; i < self.COLUMNS; i++) { [INFO] [stdout] | ^ help: try adding `in` here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `=` [INFO] [stdout] --> src/board.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | for (let i = 0; i < self.COLUMNS; i++) { [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/board.rs:206:26 [INFO] [stdout] | [INFO] [stdout] 206 | fn renderGrid (gl, programInfo, y_offset) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a `self` type, give it a parameter name [INFO] [stdout] | [INFO] [stdout] 206 | fn renderGrid (self: gl, programInfo, y_offset) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 206 | fn renderGrid (gl: TypeName, programInfo, y_offset) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 206 | fn renderGrid (_: gl, programInfo, y_offset) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/board.rs:206:39 [INFO] [stdout] | [INFO] [stdout] 206 | fn renderGrid (gl, programInfo, y_offset) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 206 | fn renderGrid (gl, programInfo: TypeName, y_offset) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 206 | fn renderGrid (gl, _: programInfo, y_offset) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/board.rs:206:49 [INFO] [stdout] | [INFO] [stdout] 206 | fn renderGrid (gl, programInfo, y_offset) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 206 | fn renderGrid (gl, programInfo, y_offset: TypeName) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 206 | fn renderGrid (gl, programInfo, _: y_offset) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `let` [INFO] [stdout] --> src/board.rs:207:14 [INFO] [stdout] | [INFO] [stdout] 207 | for (let r = 0; r < self.ROWS; r++) { [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `@`, or `|`, found `r` [INFO] [stdout] --> src/board.rs:207:18 [INFO] [stdout] | [INFO] [stdout] 207 | for (let r = 0; r < self.ROWS; r++) { [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/board.rs:207:20 [INFO] [stdout] | [INFO] [stdout] 207 | for (let r = 0; r < self.ROWS; r++) { [INFO] [stdout] | ^ expected one of `)`, `,`, `@`, or `|` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing `in` in `for` loop [INFO] [stdout] --> src/board.rs:207:19 [INFO] [stdout] | [INFO] [stdout] 207 | for (let r = 0; r < self.ROWS; r++) { [INFO] [stdout] | ^ help: try adding `in` here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `=` [INFO] [stdout] --> src/board.rs:207:20 [INFO] [stdout] | [INFO] [stdout] 207 | for (let r = 0; r < self.ROWS; r++) { [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/board.rs:215:32 [INFO] [stdout] | [INFO] [stdout] 215 | fn renderDumpBlocks (gl, programInfo, y_offset) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a `self` type, give it a parameter name [INFO] [stdout] | [INFO] [stdout] 215 | fn renderDumpBlocks (self: gl, programInfo, y_offset) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 215 | fn renderDumpBlocks (gl: TypeName, programInfo, y_offset) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 215 | fn renderDumpBlocks (_: gl, programInfo, y_offset) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/board.rs:215:45 [INFO] [stdout] | [INFO] [stdout] 215 | fn renderDumpBlocks (gl, programInfo, y_offset) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 215 | fn renderDumpBlocks (gl, programInfo: TypeName, y_offset) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 215 | fn renderDumpBlocks (gl, _: programInfo, y_offset) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/board.rs:215:55 [INFO] [stdout] | [INFO] [stdout] 215 | fn renderDumpBlocks (gl, programInfo, y_offset) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 215 | fn renderDumpBlocks (gl, programInfo, y_offset: TypeName) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 215 | fn renderDumpBlocks (gl, programInfo, _: y_offset) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `=>` [INFO] [stdout] --> src/board.rs:217:55 [INFO] [stdout] | [INFO] [stdout] 217 | self.dump_blocks.forEach((item, index, array) => { [INFO] [stdout] | ^^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing type for `const` item [INFO] [stdout] --> src/block.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const BOUNCE_FACTOR = 0.25; [INFO] [stdout] | ^^^^^^^^^^^^^ help: provide a type for the item: `BOUNCE_FACTOR: ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing type for `const` item [INFO] [stdout] --> src/block.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const GRAVITY = 1500; [INFO] [stdout] | ^^^^^^^ help: provide a type for the item: `GRAVITY: ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 54 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | let global_block_production_enabled = true; [INFO] [stdout] | ^^^ expected item [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing type for `const` item [INFO] [stdout] --> src/main.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const SAVE_INTERVAL = 60; [INFO] [stdout] | ^^^^^^^^^^^^^ help: provide a type for the item: `SAVE_INTERVAL: ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4d0467873d7682bb5da5087b16897382907e7827fa14a2283c24b53c365ab108", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d0467873d7682bb5da5087b16897382907e7827fa14a2283c24b53c365ab108", kill_on_drop: false }` [INFO] [stdout] 4d0467873d7682bb5da5087b16897382907e7827fa14a2283c24b53c365ab108