[INFO] cloning repository https://github.com/breitnw/square_game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/breitnw/square_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbreitnw%2Fsquare_game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbreitnw%2Fsquare_game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bee3f09f4e19e2f8f2f71ae236c8a80f3e5904dd [INFO] testing breitnw/square_game against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbreitnw%2Fsquare_game" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/breitnw/square_game [INFO] finished tweaking git repo https://github.com/breitnw/square_game [INFO] tweaked toml for git repo https://github.com/breitnw/square_game written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/breitnw/square_game on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/breitnw/square_game 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded args v2.2.0 [INFO] [stderr] Downloaded rust-embed-utils v8.0.0 [INFO] [stderr] Downloaded rust-embed-impl v8.0.0 [INFO] [stderr] Downloaded getopts v0.2.21 [INFO] [stderr] Downloaded syn v2.0.38 [INFO] [stderr] Downloaded libc v0.2.149 [INFO] [stderr] Downloaded rust-embed v8.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a75754056f194a51ff80a31f51eba817bbb30f29653a63897be94c46b2498f0 [INFO] running `Command { std: "docker" "start" "-a" "8a75754056f194a51ff80a31f51eba817bbb30f29653a63897be94c46b2498f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a75754056f194a51ff80a31f51eba817bbb30f29653a63897be94c46b2498f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a75754056f194a51ff80a31f51eba817bbb30f29653a63897be94c46b2498f0", kill_on_drop: false }` [INFO] [stdout] 8a75754056f194a51ff80a31f51eba817bbb30f29653a63897be94c46b2498f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a528e0701c7abd61b87704255e7fd31aeae93b2a2a8ac19bb638da60afe51a36 [INFO] running `Command { std: "docker" "start" "-a" "a528e0701c7abd61b87704255e7fd31aeae93b2a2a8ac19bb638da60afe51a36", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling args v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling rust-embed-utils v8.0.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rust-embed-impl v8.0.0 [INFO] [stderr] Compiling rust-embed v8.0.0 [INFO] [stderr] Compiling square-game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:276:65 [INFO] [stdout] | [INFO] [stdout] 276 | args.parse(env::args().collect::>()).unwrap_or_else(|a| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcpO2iqr/symbols.o" "<9 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libsdl2-4e9dfb4ca4ae26d1,libsdl2_sys-47b8af1bfaf00c54,libbitflags-e2b4db6c651223da,liblazy_static-2bb390fee0230a38,librust_embed-663840f0b53aa7ee,librust_embed_utils-2e13893db7dd048c,libwalkdir-6e24de5acb5124aa,libsame_file-1ceb7b6153588b15,libsha2-6779f79ac130de41,libcpufeatures-77532a8d776daa73,libdigest-3c2d891685d4b89e,libblock_buffer-8cfc6f57c23bdc22,libcrypto_common-66e2e31812479249,libgeneric_array-f5f3e90d36d8aab9,libtypenum-66c155be53855aa0,librand-1a8fbce1b4af68a5,librand_chacha-162c5c82d3208a17,libppv_lite86-4250c766b4729968,librand_core-2c804138755f9592,libgetrandom-b04db0926352d2d8,liblibc-c738d06113e9e3d8,libcfg_if-33ef6c02a07f9fec,libargs-bbbad5be9f40fe47,libgetopts-5db2bd35c3f5d381,libunicode_width-ff8848b4c91bc42d,liblog-062448fef1760a61}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_image" "-lSDL2_ttf" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcpO2iqr/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/square_game-7c815c3b71e95611" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lSDL2_image [INFO] [stdout] rust-lld: error: unable to find library -lSDL2_ttf [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `square-game` (bin "square-game") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a528e0701c7abd61b87704255e7fd31aeae93b2a2a8ac19bb638da60afe51a36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a528e0701c7abd61b87704255e7fd31aeae93b2a2a8ac19bb638da60afe51a36", kill_on_drop: false }` [INFO] [stdout] a528e0701c7abd61b87704255e7fd31aeae93b2a2a8ac19bb638da60afe51a36