[INFO] cloning repository https://github.com/dtrebilco/TestLoad [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dtrebilco/TestLoad" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdtrebilco%2FTestLoad", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdtrebilco%2FTestLoad'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1919cf27b61114e3efeb0c4c626ed12cd13a65e8 [INFO] checking dtrebilco/TestLoad against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdtrebilco%2FTestLoad" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dtrebilco/TestLoad [INFO] finished tweaking git repo https://github.com/dtrebilco/TestLoad [INFO] tweaked toml for git repo https://github.com/dtrebilco/TestLoad written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dtrebilco/TestLoad on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dtrebilco/TestLoad already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-targets v0.42.1 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.42.1 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.42.1 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.42.1 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.42.1 [INFO] [stderr] Downloaded windows_i686_gnu v0.42.1 [INFO] [stderr] Downloaded windows_i686_msvc v0.42.1 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.42.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bdb9aee68b12ce96894e0b3e3ffeb7fa7ab39f3664a8654fcebc123521d4d8f9 [INFO] running `Command { std: "docker" "start" "-a" "bdb9aee68b12ce96894e0b3e3ffeb7fa7ab39f3664a8654fcebc123521d4d8f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bdb9aee68b12ce96894e0b3e3ffeb7fa7ab39f3664a8654fcebc123521d4d8f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdb9aee68b12ce96894e0b3e3ffeb7fa7ab39f3664a8654fcebc123521d4d8f9", kill_on_drop: false }` [INFO] [stdout] bdb9aee68b12ce96894e0b3e3ffeb7fa7ab39f3664a8654fcebc123521d4d8f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f54a6471e262ae3d82ed8f498c97cfe1da077aebcc51ffe603df7958e0b91795 [INFO] running `Command { std: "docker" "start" "-a" "f54a6471e262ae3d82ed8f498c97cfe1da077aebcc51ffe603df7958e0b91795", kill_on_drop: false }` [INFO] [stderr] Checking windows-targets v0.42.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking windows-sys v0.45.0 [INFO] [stderr] Checking TestLoad v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `gl_target` [INFO] [stdout] --> src/sgfx.rs:2575:12 [INFO] [stdout] | [INFO] [stdout] 2575 | GLenum gl_target = _sg_gl_buffer_target(buf.cmn.type_val); [INFO] [stdout] | ^^^^^^^^^ expected one of 8 possible tokens [INFO] [stdout] | [INFO] [stdout] help: there is a keyword `enum` with a similar name [INFO] [stdout] | [INFO] [stdout] 2575 - GLenum gl_target = _sg_gl_buffer_target(buf.cmn.type_val); [INFO] [stdout] 2575 + enum gl_target = _sg_gl_buffer_target(buf.cmn.type_val); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `gl_target` [INFO] [stdout] --> src/sgfx.rs:2575:12 [INFO] [stdout] | [INFO] [stdout] 2575 | GLenum gl_target = _sg_gl_buffer_target(buf.cmn.type_val); [INFO] [stdout] | ^^^^^^^^^ expected one of 8 possible tokens [INFO] [stdout] | [INFO] [stdout] help: there is a keyword `enum` with a similar name [INFO] [stdout] | [INFO] [stdout] 2575 - GLenum gl_target = _sg_gl_buffer_target(buf.cmn.type_val); [INFO] [stdout] 2575 + enum gl_target = _sg_gl_buffer_target(buf.cmn.type_val); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::static_assert` [INFO] [stdout] --> src/sapp.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::static_assert; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/sgfx.rs:2574:26 [INFO] [stdout] | [INFO] [stdout] 2574 | buf.gl.ext_buffers = (0 != desc.gl_buffers[0]); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2574 - buf.gl.ext_buffers = (0 != desc.gl_buffers[0]); [INFO] [stdout] 2574 + buf.gl.ext_buffers = 0 != desc.gl_buffers[0]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::static_assert` [INFO] [stdout] --> src/sapp.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::static_assert; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/sgfx.rs:2574:26 [INFO] [stdout] | [INFO] [stdout] 2574 | buf.gl.ext_buffers = (0 != desc.gl_buffers[0]); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2574 - buf.gl.ext_buffers = (0 != desc.gl_buffers[0]); [INFO] [stdout] 2574 + buf.gl.ext_buffers = 0 != desc.gl_buffers[0]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `_sg_buffer_common_init` in this scope [INFO] [stdout] --> src/sgfx.rs:2573:5 [INFO] [stdout] | [INFO] [stdout] 2573 | _sg_buffer_common_init(&buf.cmn, desc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sg_buffer_desc_defaults` in this scope [INFO] [stdout] --> src/sgfx.rs:2645:20 [INFO] [stdout] | [INFO] [stdout] 2645 | let desc_def = sg_buffer_desc_defaults(desc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/base_app.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | let a = data.char_code; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/base_app.rs:217:28 [INFO] [stdout] | [INFO] [stdout] 217 | fn shutdown(&mut self, data: &mut SAppData) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `win_style` is never read [INFO] [stdout] --> src/sapp.rs:1354:13 [INFO] [stdout] | [INFO] [stdout] 1354 | let mut win_style = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `con_valid` is assigned to, but never used [INFO] [stdout] --> src/sapp.rs:1860:17 [INFO] [stdout] | [INFO] [stdout] 1860 | let mut con_valid = FALSE; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_con_valid` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `con_valid` is never read [INFO] [stdout] --> src/sapp.rs:1862:13 [INFO] [stdout] | [INFO] [stdout] 1862 | con_valid = AllocConsole(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `con_valid` is never read [INFO] [stdout] --> src/sapp.rs:1864:13 [INFO] [stdout] | [INFO] [stdout] 1864 | con_valid = AttachConsole(ATTACH_PARENT_PROCESS); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `p.buffers` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/sgfx.rs:2554:10 [INFO] [stdout] | [INFO] [stdout] 2554 | &mut p.buffers[slot_index as usize] [INFO] [stdout] | ^^^^^^^^^ `p` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 2550 | fn sg_buffer_at(p: &mut sg_pools_t, buf_id: u32) -> &mut sg_buffer_t { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:409:9 [INFO] [stdout] | [INFO] [stdout] 409 | let mut title: String = "Test window title 😀".to_string(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `TestLoad` (bin "TestLoad" test) due to 4 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function `_sg_buffer_common_init` in this scope [INFO] [stdout] --> src/sgfx.rs:2573:5 [INFO] [stdout] | [INFO] [stdout] 2573 | _sg_buffer_common_init(&buf.cmn, desc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sg_buffer_desc_defaults` in this scope [INFO] [stdout] --> src/sgfx.rs:2645:20 [INFO] [stdout] | [INFO] [stdout] 2645 | let desc_def = sg_buffer_desc_defaults(desc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/base_app.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | let a = data.char_code; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/base_app.rs:217:28 [INFO] [stdout] | [INFO] [stdout] 217 | fn shutdown(&mut self, data: &mut SAppData) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `win_style` is never read [INFO] [stdout] --> src/sapp.rs:1354:13 [INFO] [stdout] | [INFO] [stdout] 1354 | let mut win_style = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `con_valid` is assigned to, but never used [INFO] [stdout] --> src/sapp.rs:1860:17 [INFO] [stdout] | [INFO] [stdout] 1860 | let mut con_valid = FALSE; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_con_valid` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `con_valid` is never read [INFO] [stdout] --> src/sapp.rs:1862:13 [INFO] [stdout] | [INFO] [stdout] 1862 | con_valid = AllocConsole(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `con_valid` is never read [INFO] [stdout] --> src/sapp.rs:1864:13 [INFO] [stdout] | [INFO] [stdout] 1864 | con_valid = AttachConsole(ATTACH_PARENT_PROCESS); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `p.buffers` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/sgfx.rs:2554:10 [INFO] [stdout] | [INFO] [stdout] 2554 | &mut p.buffers[slot_index as usize] [INFO] [stdout] | ^^^^^^^^^ `p` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 2550 | fn sg_buffer_at(p: &mut sg_pools_t, buf_id: u32) -> &mut sg_buffer_t { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:409:9 [INFO] [stdout] | [INFO] [stdout] 409 | let mut title: String = "Test window title 😀".to_string(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `TestLoad` (bin "TestLoad") due to 4 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f54a6471e262ae3d82ed8f498c97cfe1da077aebcc51ffe603df7958e0b91795", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f54a6471e262ae3d82ed8f498c97cfe1da077aebcc51ffe603df7958e0b91795", kill_on_drop: false }` [INFO] [stdout] f54a6471e262ae3d82ed8f498c97cfe1da077aebcc51ffe603df7958e0b91795