[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrde%2Fgame-rs" "/workspace/builds/worker-103/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-103/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chrde/game-rs on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-103/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-103/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 123c2a67e2d14778d6488b4dd38a663177f0a7d600f0633ebd2abbac95aa4f67 [INFO] running `Command { std: "docker" "start" "-a" "123c2a67e2d14778d6488b4dd38a663177f0a7d600f0633ebd2abbac95aa4f67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "123c2a67e2d14778d6488b4dd38a663177f0a7d600f0633ebd2abbac95aa4f67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "123c2a67e2d14778d6488b4dd38a663177f0a7d600f0633ebd2abbac95aa4f67", kill_on_drop: false }` [INFO] [stdout] 123c2a67e2d14778d6488b4dd38a663177f0a7d600f0633ebd2abbac95aa4f67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df297d1395df46a36b52e9d4a46d456276393388c1d0dd1a6049ad18a063553e [INFO] running `Command { std: "docker" "start" "-a" "df297d1395df46a36b52e9d4a46d456276393388c1d0dd1a6049ad18a063553e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.24 [INFO] [stderr] Compiling adler v0.2.3 [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 version-compare v0.0.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Compiling libloading v0.6.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling game v0.1.0 (/opt/rustwide/workdir/game) [INFO] [stderr] Compiling miniz_oxide v0.4.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling walkdir v2.3.1 [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: `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] = note: `#[warn(unused_variables)]` 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] [INFO] [stdout] warning: field is never read: `flags` [INFO] [stdout] --> game/src/entity.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 354 | flags: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `HitPoint` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> game/src/entity.rs:352:16 [INFO] [stdout] | [INFO] [stdout] 352 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `filled` [INFO] [stdout] --> game/src/entity.rs:355:5 [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] --> game/src/entity.rs:352:16 [INFO] [stdout] | [INFO] [stdout] 352 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `idx` [INFO] [stdout] --> game/src/world.rs:77:5 [INFO] [stdout] | [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] --> game/src/world.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = note: trait objects have no C equivalent [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 cmake v0.1.44 [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling filetime v0.2.12 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling flate2 v1.0.17 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling inotify v0.8.3 [INFO] [stderr] Compiling tar v0.4.30 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling unidiff v0.3.3 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling notify v5.0.0-pre.3 [INFO] [stderr] Compiling sdl2-sys v0.34.3 [INFO] [stderr] error: failed to run custom build command for `sdl2-sys v0.34.3` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/sdl2-sys-21873293aafbaec8/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/github.com-1ecc6299db9ec823/sdl2-sys-0.34.3/build.rs:53:17 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x5557b14e7c1d - std::backtrace_rs::backtrace::libunwind::trace::hee598835bc88d35b [INFO] [stderr] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stderr] 1: 0x5557b14e7c1d - std::backtrace_rs::backtrace::trace_unsynchronized::h9cdc730ba5cf5d72 [INFO] [stderr] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x5557b14e7c1d - std::sys_common::backtrace::_print_fmt::h75aeaf7ed30e43fa [INFO] [stderr] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stderr] 3: 0x5557b14e7c1d - ::fmt::h606862f787600875 [INFO] [stderr] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stderr] 4: 0x5557b150b0dc - core::fmt::write::he803f0f418caf762 [INFO] [stderr] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17 [INFO] [stderr] 5: 0x5557b14e3168 - std::io::Write::write_fmt::h70bc45872f37e7bb [INFO] [stderr] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15 [INFO] [stderr] 6: 0x5557b14e9e17 - std::sys_common::backtrace::_print::h64d038cf8ac3e13e [INFO] [stderr] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stderr] 7: 0x5557b14e9e17 - std::sys_common::backtrace::print::h359300b4a7fccf65 [INFO] [stderr] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stderr] 8: 0x5557b14e9e17 - std::panicking::default_hook::{{closure}}::hf51be35e2f510149 [INFO] [stderr] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22 [INFO] [stderr] 9: 0x5557b14e9ae0 - std::panicking::default_hook::h03ca0f22e1d2d25e [INFO] [stderr] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:314:9 [INFO] [stderr] 10: 0x5557b14ea569 - std::panicking::rust_panic_with_hook::h3b7380e99b825b63 [INFO] [stderr] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17 [INFO] [stderr] 11: 0x5557b14ea257 - std::panicking::begin_panic_handler::{{closure}}::h8e849d0710154ce0 [INFO] [stderr] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:588:13 [INFO] [stderr] 12: 0x5557b14e80e4 - std::sys_common::backtrace::__rust_end_short_backtrace::hedcdaddbd4c46cc5 [INFO] [stderr] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stderr] 13: 0x5557b14e9f69 - rust_begin_unwind [INFO] [stderr] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 [INFO] [stderr] 14: 0x5557b1249973 - core::panicking::panic_fmt::he1bbc7336d49a357 [INFO] [stderr] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 [INFO] [stderr] 15: 0x5557b124c5c0 - build_script_build::run_command::h6f832f4b94552058 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sdl2-sys-0.34.3/build.rs:53:17 [INFO] [stderr] 16: 0x5557b124c66c - build_script_build::download_to::h06709603e526d6e2 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sdl2-sys-0.34.3/build.rs:74:9 [INFO] [stderr] 17: 0x5557b124cb93 - build_script_build::download_sdl2::hc7ae59456a60c706 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sdl2-sys-0.34.3/build.rs:134:9 [INFO] [stderr] 18: 0x5557b12506b4 - build_script_build::main::hc7cc7f75aab70ca2 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sdl2-sys-0.34.3/build.rs:513:32 [INFO] [stderr] 19: 0x5557b125b87b - core::ops::function::FnOnce::call_once::h6aabdb0f4fa0694f [INFO] [stderr] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stderr] 20: 0x5557b125f04e - std::sys_common::backtrace::__rust_begin_short_backtrace::hb19d0baef9c46e1f [INFO] [stderr] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stderr] 21: 0x5557b125e621 - std::rt::lang_start::{{closure}}::h890bc4d5f582d640 [INFO] [stderr] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/rt.rs:145:18 [INFO] [stderr] 22: 0x5557b14e7301 - core::ops::function::impls:: for &F>::call_once::hb7014f43484a8b4e [INFO] [stderr] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:259:13 [INFO] [stderr] 23: 0x5557b14e7301 - std::panicking::try::do_call::h7bc9dc436daeb8c7 [INFO] [stderr] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stderr] 24: 0x5557b14e7301 - std::panicking::try::h653d68a27ff5f175 [INFO] [stderr] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stderr] 25: 0x5557b14e7301 - std::panic::catch_unwind::h9d739f9f59895e68 [INFO] [stderr] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stderr] 26: 0x5557b14e7301 - std::rt::lang_start_internal::{{closure}}::hf006f2bc7ce22bbe [INFO] [stderr] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/rt.rs:128:48 [INFO] [stderr] 27: 0x5557b14e7301 - std::panicking::try::do_call::hfb39d6df61a2e69f [INFO] [stderr] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stderr] 28: 0x5557b14e7301 - std::panicking::try::h13e2d225134958ac [INFO] [stderr] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stderr] 29: 0x5557b14e7301 - std::panic::catch_unwind::h3bd49b5a5dfb1a50 [INFO] [stderr] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stderr] 30: 0x5557b14e7301 - std::rt::lang_start_internal::h2ba92edce36c035e [INFO] [stderr] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/rt.rs:128:20 [INFO] [stderr] 31: 0x5557b125e5f0 - std::rt::lang_start::hb417e23bbb55fd68 [INFO] [stderr] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/rt.rs:144:17 [INFO] [stderr] 32: 0x5557b1250f1c - main [INFO] [stderr] 33: 0x7f247e6ff0b3 - __libc_start_main [INFO] [stderr] 34: 0x5557b124a19e - _start [INFO] [stderr] 35: 0x0 - [INFO] running `Command { std: "docker" "inspect" "df297d1395df46a36b52e9d4a46d456276393388c1d0dd1a6049ad18a063553e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df297d1395df46a36b52e9d4a46d456276393388c1d0dd1a6049ad18a063553e", kill_on_drop: false }` [INFO] [stdout] df297d1395df46a36b52e9d4a46d456276393388c1d0dd1a6049ad18a063553e