[INFO] cloning repository https://github.com/xxrlzzz/RustNESEmulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xxrlzzz/RustNESEmulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxxrlzzz%2FRustNESEmulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxxrlzzz%2FRustNESEmulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 622e3164c5176305cb4886ed3720e90981e334b6 [INFO] checking xxrlzzz/RustNESEmulator against try#dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e for pr-153721 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxxrlzzz%2FRustNESEmulator" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xxrlzzz/RustNESEmulator [INFO] finished tweaking git repo https://github.com/xxrlzzz/RustNESEmulator [INFO] tweaked toml for git repo https://github.com/xxrlzzz/RustNESEmulator written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xxrlzzz/RustNESEmulator on toolchain dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 157 packages to latest compatible versions [INFO] [stderr] Adding android_logger v0.11.3 (available: v0.15.1) [INFO] [stderr] Adding clap v3.2.25 (available: v4.6.1) [INFO] [stderr] Adding getrandom v0.2.17 (available: v0.4.3) [INFO] [stderr] Adding glfw v0.42.0 (available: v0.62.0) [INFO] [stderr] Adding image v0.23.14 (available: v0.25.10) [INFO] [stderr] Adding jni v0.19.0 (available: v0.22.4) [INFO] [stderr] Adding num_enum v0.5.11 (available: v0.7.6) [INFO] [stderr] Adding portaudio v0.7.1 (available: v0.8.0) [INFO] [stderr] Adding rand v0.8.6 (available: v0.10.1) [INFO] [stderr] Adding sdl2 v0.35.2 (available: v0.38.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] b50b03eb490e1c936c8bebd4e1da0fca71eccdccb624747202f07ff1c719f815 [INFO] running `Command { std: "docker" "start" "b50b03eb490e1c936c8bebd4e1da0fca71eccdccb624747202f07ff1c719f815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b50b03eb490e1c936c8bebd4e1da0fca71eccdccb624747202f07ff1c719f815" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b50b03eb490e1c936c8bebd4e1da0fca71eccdccb624747202f07ff1c719f815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b50b03eb490e1c936c8bebd4e1da0fca71eccdccb624747202f07ff1c719f815" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling autocfg v1.5.1 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zerocopy v0.8.52 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling shlex v2.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling cc v1.2.64 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.17.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling syn v2.0.118 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling log v0.4.32 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling xml-rs v0.8.28 [INFO] [stderr] Checking either v1.16.0 [INFO] [stderr] Compiling glfw-sys v3.3.5 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking rayon v1.12.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking weezl v0.1.12 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Compiling rust_nes v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> src/build.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(target_os = "android")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(misleading_cfg_in_build_script)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stdout] warning: unused variable: `library_name` [INFO] [stdout] --> src/build.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | let library_name = "SDL2"; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_library_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/build.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | let root = PathBuf::from(env::var_os("CARGO_MANIFEST_DIR").unwrap()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_nes` (build script) due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b50b03eb490e1c936c8bebd4e1da0fca71eccdccb624747202f07ff1c719f815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b50b03eb490e1c936c8bebd4e1da0fca71eccdccb624747202f07ff1c719f815", kill_on_drop: false }` [INFO] [stdout] b50b03eb490e1c936c8bebd4e1da0fca71eccdccb624747202f07ff1c719f815