[INFO] cloning repository https://github.com/chrde/game-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chrde/game-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrde%2Fgame-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrde%2Fgame-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c5f8e04a217e06991798aacb87d16a7c571e6211
[INFO] testing chrde/game-rs against beta-2023-04-20 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrde%2Fgame-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/chrde/game-rs on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain
[INFO] started tweaking git repo https://github.com/chrde/game-rs
[INFO] finished tweaking git repo https://github.com/chrde/game-rs
[INFO] tweaked toml for git repo https://github.com/chrde/game-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/chrde/game-rs 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" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded notify v5.0.0-pre.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6c8e61d12097120a15b4e87632f337966cae008c4b59b5af622fb116fc8143c0
[INFO] running `Command { std: "docker" "start" "-a" "6c8e61d12097120a15b4e87632f337966cae008c4b59b5af622fb116fc8143c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6c8e61d12097120a15b4e87632f337966cae008c4b59b5af622fb116fc8143c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6c8e61d12097120a15b4e87632f337966cae008c4b59b5af622fb116fc8143c0", kill_on_drop: false }`
[INFO] [stdout] 6c8e61d12097120a15b4e87632f337966cae008c4b59b5af622fb116fc8143c0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dac85e84b4b9a5d102fe2f1a0cd520194fc9227700797eff1187c1d0d7b589ae
[INFO] running `Command { std: "docker" "start" "-a" "dac85e84b4b9a5d102fe2f1a0cd520194fc9227700797eff1187c1d0d7b589ae", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling encoding_rs v0.8.24
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling adler v0.2.3
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling regex-syntax v0.6.18
[INFO] [stderr]    Compiling cc v1.0.60
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling miniz_oxide v0.4.2
[INFO] [stderr]    Compiling aho-corasick v0.7.13
[INFO] [stderr]    Compiling cmake v0.1.44
[INFO] [stderr]    Compiling version-compare v0.0.10
[INFO] [stderr]    Compiling filetime v0.2.12
[INFO] [stderr]    Compiling xattr v0.2.2
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling tar v0.4.30
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling flate2 v1.0.17
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling net2 v0.2.35
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling inotify-sys v0.1.3
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling regex v1.3.9
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling libloading v0.6.3
[INFO] [stderr]    Compiling sdl2 v0.34.3
[INFO] [stderr]    Compiling crossbeam-channel v0.4.4
[INFO] [stderr]    Compiling walkdir v2.3.1
[INFO] [stderr]    Compiling mio-extras v2.0.6
[INFO] [stderr]    Compiling inotify v0.8.3
[INFO] [stderr]    Compiling anymap v0.12.1
[INFO] [stderr]    Compiling notify v5.0.0-pre.3
[INFO] [stderr]    Compiling unidiff v0.3.3
[INFO] [stderr]    Compiling game v0.1.0 (/opt/rustwide/workdir/game)
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> game/src/entity.rs:317:13
[INFO] [stdout]     |
[INFO] [stdout] 316 |             panic!("already here");
[INFO] [stdout]     |             ---------------------- any code following this expression is unreachable
[INFO] [stdout] 317 |             entity.clone()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entity`
[INFO] [stdout]    --> game/src/entity.rs:315:34
[INFO] [stdout]     |
[INFO] [stdout] 315 |         let result = if let Some(entity) = self.entities.get(&idx) {
[INFO] [stdout]     |                                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `center`
[INFO] [stdout]    --> game/src/lib.rs:266:29
[INFO] [stdout]     |
[INFO] [stdout] 266 |                         let center = entity_ground + meters_to_pixels * piece.offset;
[INFO] [stdout]     |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `flags` and `filled` are never read
[INFO] [stdout]    --> game/src/entity.rs:354:5
[INFO] [stdout]     |
[INFO] [stdout] 353 | pub struct HitPoint {
[INFO] [stdout]     |            -------- fields in this struct
[INFO] [stdout] 354 |     flags: u8,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 355 |     filled: u8,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `HitPoint` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `idx` is never read
[INFO] [stdout]   --> game/src/world.rs:77:5
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub struct Chunk {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 77 |     idx: ChunkIdx,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Chunk` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `dyn host_api::HostApi`, which is not FFI-safe
[INFO] [stdout]   --> game/src/lib.rs:17:39
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub extern "C" fn game_init(host_api: &dyn HostApi) -> *mut GameState {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = note: trait objects have no C equivalent
[INFO] [stdout]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `dyn host_api::HostApi`, which is not FFI-safe
[INFO] [stdout]   --> game/src/lib.rs:55:53
[INFO] [stdout]    |
[INFO] [stdout] 55 |     state: &mut GameState, input: &Input, host_api: &mut dyn HostApi,
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = note: trait objects have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling sdl2-sys v0.34.3
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: failed to run custom build command for `sdl2-sys v0.34.3`
[INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/sdl2-sys-1fadbdb6d9bd6804/build-script-build` (exit status: 101)
[INFO] [stderr]   --- stderr
[INFO] [stderr]   thread 'main' panicked at 'Command 'curl' failed:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
[INFO] [stderr]                                    Dload  Upload   Total   Spent    Left  Speed
[INFO] [stderr]   
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: libsdl.org
[INFO] [stderr]   ', /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sdl2-sys-0.34.3/build.rs:53:17
[INFO] [stderr]   stack backtrace:
[INFO] [stderr]      0:     0x55fc522bd01a - std::backtrace_rs::backtrace::libunwind::trace::h2f05d0192276a8f6
[INFO] [stderr]                                  at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
[INFO] [stderr]      1:     0x55fc522bd01a - std::backtrace_rs::backtrace::trace_unsynchronized::hedc23dff7a1af150
[INFO] [stderr]                                  at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stderr]      2:     0x55fc522bd01a - std::sys_common::backtrace::_print_fmt::h17541ef7592f3ce2
[INFO] [stderr]                                  at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/sys_common/backtrace.rs:65:5
[INFO] [stderr]      3:     0x55fc522bd01a - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h20f75df5ab0c0792
[INFO] [stderr]                                  at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stderr]      4:     0x55fc522de76f - core::fmt::write::h78109e6f466b3af6
[INFO] [stderr]                                  at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/core/src/fmt/mod.rs:1254:17
[INFO] [stderr]      5:     0x55fc522b9cc5 - std::io::Write::write_fmt::hc59e1b02dd273c8a
[INFO] [stderr]                                  at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/io/mod.rs:1698:15
[INFO] [stderr]      6:     0x55fc522bcde5 - std::sys_common::backtrace::_print::h8dac57a9f8fbf9a5
[INFO] [stderr]                                  at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stderr]      7:     0x55fc522bcde5 - std::sys_common::backtrace::print::hf9ecbf41d1aa712f
[INFO] [stderr]                                  at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stderr]      8:     0x55fc522be58e - std::panicking::default_hook::{{closure}}::h04c07acfc84ca028
[INFO] [stderr]                                  at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panicking.rs:269:22
[INFO] [stderr]      9:     0x55fc522be335 - std::panicking::default_hook::h01f6bb23e1eceb2c
[INFO] [stderr]                                  at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panicking.rs:288:9
[INFO] [stderr]     10:     0x55fc522beaee - std::panicking::rust_panic_with_hook::h2bb3722bbaf2f6df
[INFO] [stderr]                                  at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panicking.rs:691:13
[INFO] [stderr]     11:     0x55fc522be9e9 - std::panicking::begin_panic_handler::{{closure}}::h91bc7f36a4be011b
[INFO] [stderr]                                  at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panicking.rs:582:13
[INFO] [stderr]     12:     0x55fc522bd486 - std::sys_common::backtrace::__rust_end_short_backtrace::h8b3d3717114f9e59
[INFO] [stderr]                                  at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/sys_common/backtrace.rs:150:18
[INFO] [stderr]     13:     0x55fc522be742 - rust_begin_unwind
[INFO] [stderr]                                  at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panicking.rs:578:5
[INFO] [stderr]     14:     0x55fc520ad3a3 - core::panicking::panic_fmt::hfd368e3fbdabea26
[INFO] [stderr]                                  at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/core/src/panicking.rs:67:14
[INFO] [stderr]     15:     0x55fc520af9f6 - build_script_build::run_command::h439b6e087a6f8d8a
[INFO] [stderr]     16:     0x55fc520afaae - build_script_build::download_to::h10a7515c63542e47
[INFO] [stderr]     17:     0x55fc520b0187 - build_script_build::download_sdl2::h33769124f4763766
[INFO] [stderr]     18:     0x55fc520b413b - build_script_build::main::hc1705b2b46314e7f
[INFO] [stderr]     19:     0x55fc520b7f43 - core::ops::function::FnOnce::call_once::h5b8ffd049886f4d6
[INFO] [stderr]     20:     0x55fc520bfb76 - std::sys_common::backtrace::__rust_begin_short_backtrace::h14edf515cde0dddd
[INFO] [stderr]     21:     0x55fc520bfbc9 - std::rt::lang_start::{{closure}}::h30a271a4f402b614
[INFO] [stderr]     22:     0x55fc522b5c9e - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h2eb19b8ce4148df4
[INFO] [stderr]                                  at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/core/src/ops/function.rs:287:13
[INFO] [stderr]     23:     0x55fc522b5c9e - std::panicking::try::do_call::h2e900feff5d504c5
[INFO] [stderr]                                  at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panicking.rs:485:40
[INFO] [stderr]     24:     0x55fc522b5c9e - std::panicking::try::h8854836cb85aa9f2
[INFO] [stderr]                                  at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panicking.rs:449:19
[INFO] [stderr]     25:     0x55fc522b5c9e - std::panic::catch_unwind::h706025dd4c48f64b
[INFO] [stderr]                                  at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panic.rs:140:14
[INFO] [stderr]     26:     0x55fc522b5c9e - std::rt::lang_start_internal::{{closure}}::h7be5b97f4a07a91a
[INFO] [stderr]                                  at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/rt.rs:148:48
[INFO] [stderr]     27:     0x55fc522b5c9e - std::panicking::try::do_call::h59847e9d0a176965
[INFO] [stderr]                                  at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panicking.rs:485:40
[INFO] [stderr]     28:     0x55fc522b5c9e - std::panicking::try::h399a918ba8522823
[INFO] [stderr]                                  at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panicking.rs:449:19
[INFO] [stderr]     29:     0x55fc522b5c9e - std::panic::catch_unwind::hca7ca6c55b2a2e26
[INFO] [stderr]                                  at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/panic.rs:140:14
[INFO] [stderr]     30:     0x55fc522b5c9e - std::rt::lang_start_internal::h2c807a81560459eb
[INFO] [stderr]                                  at /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/std/src/rt.rs:148:20
[INFO] [stderr]     31:     0x55fc520bfba7 - std::rt::lang_start::h46285acbdfa926dc
[INFO] [stderr]     32:     0x55fc520b5265 - main
[INFO] [stderr]     33:     0x7f215011fd90 - <unknown>
[INFO] [stderr]     34:     0x7f215011fe40 - __libc_start_main
[INFO] [stderr]     35:     0x55fc520adac5 - _start
[INFO] [stderr]     36:                0x0 - <unknown>
[INFO] running `Command { std: "docker" "inspect" "dac85e84b4b9a5d102fe2f1a0cd520194fc9227700797eff1187c1d0d7b589ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dac85e84b4b9a5d102fe2f1a0cd520194fc9227700797eff1187c1d0d7b589ae", kill_on_drop: false }`
[INFO] [stdout] dac85e84b4b9a5d102fe2f1a0cd520194fc9227700797eff1187c1d0d7b589ae
