[INFO] cloning repository https://github.com/Pranz/Emperust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Pranz/Emperust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPranz%2FEmperust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPranz%2FEmperust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1806975ff194d06dfc840f0e43bdeb14d7cc9657 [INFO] checking Pranz/Emperust/1806975ff194d06dfc840f0e43bdeb14d7cc9657 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPranz%2FEmperust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Pranz/Emperust on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Pranz/Emperust [INFO] finished tweaking git repo https://github.com/Pranz/Emperust [INFO] tweaked toml for git repo https://github.com/Pranz/Emperust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Pranz/Emperust 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating git repository `https://github.com/tomassedovic/tcod-rs` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lazy_static v0.1.15 [INFO] [stderr] Downloaded advapi32-sys v0.1.2 [INFO] [stderr] Downloaded libc v0.2.2 [INFO] [stderr] Downloaded num v0.1.28 [INFO] [stderr] Downloaded rustc-serialize v0.3.16 [INFO] [stderr] Downloaded winapi v0.2.5 [INFO] [stderr] Downloaded bitflags v0.1.1 [INFO] [stderr] Downloaded rand v0.3.12 [INFO] [stderr] Downloaded itertools v0.4.3 [INFO] [stderr] Downloaded yaml-rust v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44295cbeeb3324a126e53d24aabf2aff6e9257401527d28e505855ca41c427f1 [INFO] running `Command { std: "docker" "start" "-a" "44295cbeeb3324a126e53d24aabf2aff6e9257401527d28e505855ca41c427f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44295cbeeb3324a126e53d24aabf2aff6e9257401527d28e505855ca41c427f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44295cbeeb3324a126e53d24aabf2aff6e9257401527d28e505855ca41c427f1", kill_on_drop: false }` [INFO] [stdout] 44295cbeeb3324a126e53d24aabf2aff6e9257401527d28e505855ca41c427f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c9946fccfa5fe10217ff2bb72cfeeb3c4b614ca9e76db6cd88316b12ecad70b [INFO] running `Command { std: "docker" "start" "-a" "4c9946fccfa5fe10217ff2bb72cfeeb3c4b614ca9e76db6cd88316b12ecad70b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling tcod-sys v3.0.1 (https://github.com/tomassedovic/tcod-rs#4114d2c4) [INFO] [stderr] Checking winapi v0.2.5 [INFO] [stderr] Checking libc v0.2.2 [INFO] [stderr] Checking libc v0.1.12 [INFO] [stderr] Checking lazy_static v0.1.15 [INFO] [stderr] Checking bitflags v0.1.1 [INFO] [stderr] Checking rustc-serialize v0.3.16 [INFO] [stderr] Checking itertools v0.4.3 [INFO] [stderr] Checking yaml-rust v0.2.2 [INFO] [stderr] Compiling advapi32-sys v0.1.2 [INFO] [stdout] error[E0642]: patterns aren't allowed in functions without bodies [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.16/src/serialize.rs:145:45 [INFO] [stdout] | [INFO] [stdout] 145 | ... &f_name: &str, [INFO] [stdout] | ^^^^^^^ pattern not allowed in function without body [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.16/src/serialize.rs:452:5 [INFO] [stdout] | [INFO] [stdout] 452 | fn decode(d: &mut D) -> Result, D::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/borrow.rs:179:30 [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 448 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T> [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand v0.3.12 [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0310, E0642. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: failed to run custom build command for `tcod-sys v3.0.1 (https://github.com/tomassedovic/tcod-rs#4114d2c4)` [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/tcod-sys-cc3f507d2d9ef14f/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] STDOUT: \rm -f /tmp/libtcod/release/bresenham_c.o /tmp/libtcod/release/bsp_c.o /tmp/libtcod/release/color_c.o /tmp/libtcod/release/console_c.o /tmp/libtcod/release/fov_c.o /tmp/libtcod/release/fov_circular_raycasting.o /tmp/libtcod/release/fov_diamond_raycasting.o /tmp/libtcod/release/fov_recursive_shadowcasting.o /tmp/libtcod/release/fov_permissive2.o /tmp/libtcod/release/fov_restrictive.o /tmp/libtcod/release/heightmap_c.o /tmp/libtcod/release/image_c.o /tmp/libtcod/release/lex_c.o /tmp/libtcod/release/list_c.o /tmp/libtcod/release/mersenne_c.o /tmp/libtcod/release/noise_c.o /tmp/libtcod/release/parser_c.o /tmp/libtcod/release/path_c.o /tmp/libtcod/release/sys_c.o /tmp/libtcod/release/sys_opengl_c.o /tmp/libtcod/release/sys_sdl_c.o /tmp/libtcod/release/sys_sdl_img_bmp.o /tmp/libtcod/release/sys_sdl_img_png.o /tmp/libtcod/release/tree_c.o /tmp/libtcod/release/txtfield_c.o /tmp/libtcod/release/wrappers.o /tmp/libtcod/release/zip_c.o /tmp/libtcod/release/namegen_c.o /tmp/libtcod/release/png/lodepng.o /tmp/libtcod/release/bresenham.o /tmp/libtcod/release/bsp.o /tmp/libtcod/release/color.o /tmp/libtcod/release/console.o /tmp/libtcod/release/fov.o /tmp/libtcod/release/heightmap.o /tmp/libtcod/release/image.o /tmp/libtcod/release/lex.o /tmp/libtcod/release/mersenne.o /tmp/libtcod/release/mouse.o /tmp/libtcod/release/noise.o /tmp/libtcod/release/parser.o /tmp/libtcod/release/path.o /tmp/libtcod/release/sys.o /tmp/libtcod/release/txtfield.o /tmp/libtcod/release/zip.o /tmp/libtcod/release/namegen.o /tmp/libtcod/release/gui/button.o /tmp/libtcod/release/gui/container.o /tmp/libtcod/release/gui/flatlist.o /tmp/libtcod/release/gui/hbox.o /tmp/libtcod/release/gui/image.o /tmp/libtcod/release/gui/label.o /tmp/libtcod/release/gui/radiobutton.o /tmp/libtcod/release/gui/slider.o /tmp/libtcod/release/gui/statusbar.o /tmp/libtcod/release/gui/textbox.o /tmp/libtcod/release/gui/togglebutton.o /tmp/libtcod/release/gui/toolbar.o /tmp/libtcod/release/gui/vbox.o /tmp/libtcod/release/gui/widget.o /tmp/libtcod/debug/bresenham_c.o /tmp/libtcod/debug/bsp_c.o /tmp/libtcod/debug/color_c.o /tmp/libtcod/debug/console_c.o /tmp/libtcod/debug/fov_c.o /tmp/libtcod/debug/fov_circular_raycasting.o /tmp/libtcod/debug/fov_diamond_raycasting.o /tmp/libtcod/debug/fov_recursive_shadowcasting.o /tmp/libtcod/debug/fov_permissive2.o /tmp/libtcod/debug/fov_restrictive.o /tmp/libtcod/debug/heightmap_c.o /tmp/libtcod/debug/image_c.o /tmp/libtcod/debug/lex_c.o /tmp/libtcod/debug/list_c.o /tmp/libtcod/debug/mersenne_c.o /tmp/libtcod/debug/noise_c.o /tmp/libtcod/debug/parser_c.o /tmp/libtcod/debug/path_c.o /tmp/libtcod/debug/sys_c.o /tmp/libtcod/debug/sys_opengl_c.o /tmp/libtcod/debug/sys_sdl_c.o /tmp/libtcod/debug/sys_sdl_img_bmp.o /tmp/libtcod/debug/sys_sdl_img_png.o /tmp/libtcod/debug/tree_c.o /tmp/libtcod/debug/txtfield_c.o /tmp/libtcod/debug/wrappers.o /tmp/libtcod/debug/zip_c.o /tmp/libtcod/debug/namegen_c.o /tmp/libtcod/debug/png/lodepng.o /tmp/libtcod/debug/bresenham.o /tmp/libtcod/debug/bsp.o /tmp/libtcod/debug/color.o /tmp/libtcod/debug/console.o /tmp/libtcod/debug/fov.o /tmp/libtcod/debug/heightmap.o /tmp/libtcod/debug/image.o /tmp/libtcod/debug/lex.o /tmp/libtcod/debug/mersenne.o /tmp/libtcod/debug/mouse.o /tmp/libtcod/debug/noise.o /tmp/libtcod/debug/parser.o /tmp/libtcod/debug/path.o /tmp/libtcod/debug/sys.o /tmp/libtcod/debug/txtfield.o /tmp/libtcod/debug/zip.o /tmp/libtcod/debug/namegen.o /tmp/libtcod/debug/gui/button.o /tmp/libtcod/debug/gui/container.o /tmp/libtcod/debug/gui/flatlist.o /tmp/libtcod/debug/gui/hbox.o /tmp/libtcod/debug/gui/image.o /tmp/libtcod/debug/gui/label.o /tmp/libtcod/debug/gui/radiobutton.o /tmp/libtcod/debug/gui/slider.o /tmp/libtcod/debug/gui/statusbar.o /tmp/libtcod/debug/gui/textbox.o /tmp/libtcod/debug/gui/togglebutton.o /tmp/libtcod/debug/gui/toolbar.o /tmp/libtcod/debug/gui/vbox.o /tmp/libtcod/debug/gui/widget.o libtcod.a libtcodxx.a libtcod.so libtcodxx.so libtcodgui.so libtcod_debug.so libtcodxx_debug.so libtcodgui_debug.so libtcodpy.pyc [INFO] [stderr] mkdir -p /tmp/libtcod/debug/png [INFO] [stderr] Compiling debug src/bresenham_c.c [INFO] [stderr] Compiling debug src/bsp_c.c [INFO] [stderr] Compiling debug src/color_c.c [INFO] [stderr] Compiling debug src/console_c.c [INFO] [stderr] Compiling debug src/fov_c.c [INFO] [stderr] Compiling debug src/fov_circular_raycasting.c [INFO] [stderr] Compiling debug src/fov_diamond_raycasting.c [INFO] [stderr] Compiling debug src/fov_recursive_shadowcasting.c [INFO] [stderr] Compiling debug src/fov_permissive2.c [INFO] [stderr] Compiling debug src/fov_restrictive.c [INFO] [stderr] Compiling debug src/heightmap_c.c [INFO] [stderr] Compiling debug src/image_c.c [INFO] [stderr] Compiling debug src/lex_c.c [INFO] [stderr] Compiling debug src/list_c.c [INFO] [stderr] Compiling debug src/mersenne_c.c [INFO] [stderr] Compiling debug src/noise_c.c [INFO] [stderr] Compiling debug src/parser_c.c [INFO] [stderr] Compiling debug src/path_c.c [INFO] [stderr] Compiling debug src/sys_c.c [INFO] [stderr] Compiling debug src/sys_opengl_c.c [INFO] [stderr] [INFO] [stderr] STDERR: /bin/sh: 1: sdl-config: not found [INFO] [stderr] /bin/sh: 1: sdl-config: not found [INFO] [stderr] /bin/sh: 1: sdl-config: not found [INFO] [stderr] /bin/sh: 1: sdl-config: not found [INFO] [stderr] src/console_c.c: In function 'TCOD_console_vsprint': [INFO] [stderr] src/console_c.c:524:27: warning: implicit declaration of function 'vsnprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] [INFO] [stderr] 524 | int len = vsnprintf(msg[curbuf],buflen[curbuf],fmt,ap); [INFO] [stderr] | ^~~~~~~~~ [INFO] [stderr] | vsprintf [INFO] [stderr] In file included from src/console_c.c:33: [INFO] [stderr] src/console_c.c: In function 'TCOD_console_vsprint_utf': [INFO] [stderr] include/libtcod.h:163:20: warning: implicit declaration of function 'vswprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] [INFO] [stderr] 163 | #define vsnwprintf vswprintf [INFO] [stderr] | ^~~~~~~~~ [INFO] [stderr] src/console_c.c:822:27: note: in expansion of macro 'vsnwprintf' [INFO] [stderr] 822 | int len = vsnwprintf(msg[curbuf],buflen[curbuf],fmt,ap); [INFO] [stderr] | ^~~~~~~~~~ [INFO] [stderr] /bin/sh: 1: sdl-config: not found [INFO] [stderr] /bin/sh: 1: sdl-config: not found [INFO] [stderr] /bin/sh: 1: sdl-config: not found [INFO] [stderr] /bin/sh: 1: sdl-config: not found [INFO] [stderr] /bin/sh: 1: sdl-config: not found [INFO] [stderr] /bin/sh: 1: sdl-config: not found [INFO] [stderr] /bin/sh: 1: sdl-config: not found [INFO] [stderr] /bin/sh: 1: sdl-config: not found [INFO] [stderr] /bin/sh: 1: sdl-config: not found [INFO] [stderr] src/lex_c.c: In function 'TCOD_lex_parse_until_token_type': [INFO] [stderr] src/lex_c.c:649:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] 649 | if ( token == tokenType ) [INFO] [stderr] | ^~ [INFO] [stderr] src/lex_c.c:651:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] 651 | token = TCOD_lex_parse(lex); [INFO] [stderr] | ^~~~~ [INFO] [stderr] src/lex_c.c: In function 'TCOD_lex_parse_until_token_value': [INFO] [stderr] src/lex_c.c:664:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] 664 | if ( strcmp( lex->tok, tokenValue ) == 0 [INFO] [stderr] | ^~ [INFO] [stderr] src/lex_c.c:667:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] 667 | token = TCOD_lex_parse(lex); [INFO] [stderr] | ^~~~~ [INFO] [stderr] /bin/sh: 1: sdl-config: not found [INFO] [stderr] /bin/sh: 1: sdl-config: not found [INFO] [stderr] /bin/sh: 1: sdl-config: not found [INFO] [stderr] /bin/sh: 1: sdl-config: not found [INFO] [stderr] src/parser_c.c: In function 'TCOD_parser_error': [INFO] [stderr] src/parser_c.c:89:45: warning: '%s' directive writing up to 2047 bytes into a region of size 2029 [-Wformat-overflow=] [INFO] [stderr] 89 | sprintf(buf2,"error in %s line %d : %s",lex->filename,lex->file_line,buf); [INFO] [stderr] | ^~ ~~~ [INFO] [stderr] src/parser_c.c:89:9: note: 'sprintf' output 20 or more bytes (assuming 2067) into a destination of size 2048 [INFO] [stderr] 89 | sprintf(buf2,"error in %s line %d : %s",lex->filename,lex->file_line,buf); [INFO] [stderr] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] src/parser_c.c: In function 'default_new_flag': [INFO] [stderr] src/parser_c.c:781:27: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] [INFO] [stderr] 781 | sprintf(tmp,"%s.%s",cur_prop_name,name); [INFO] [stderr] | ^ [INFO] [stderr] src/parser_c.c:781:9: note: 'sprintf' output 2 or more bytes (assuming 513) into a destination of size 512 [INFO] [stderr] 781 | sprintf(tmp,"%s.%s",cur_prop_name,name); [INFO] [stderr] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] src/parser_c.c: In function 'default_new_property': [INFO] [stderr] src/parser_c.c:792:27: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] [INFO] [stderr] 792 | sprintf(tmp,"%s.%s",cur_prop_name,propname); [INFO] [stderr] | ^ [INFO] [stderr] src/parser_c.c:792:9: note: 'sprintf' output 2 or more bytes (assuming 513) into a destination of size 512 [INFO] [stderr] 792 | sprintf(tmp,"%s.%s",cur_prop_name,propname); [INFO] [stderr] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] /bin/sh: 1: sdl-config: not found [INFO] [stderr] /bin/sh: 1: sdl-config: not found [INFO] [stderr] src/sys_c.c: In function 'TCOD_sys_get_directory_content': [INFO] [stderr] src/sys_c.c:159:53: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration] [INFO] [stderr] 159 | TCOD_list_push(list,strdup(dirent->d_name)); [INFO] [stderr] | ^~~~~~ [INFO] [stderr] | strcmp [INFO] [stderr] src/sys_c.c:159:53: warning: passing argument 2 of 'TCOD_list_push' makes pointer from integer without a cast [-Wint-conversion] [INFO] [stderr] 159 | TCOD_list_push(list,strdup(dirent->d_name)); [INFO] [stderr] | ^~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] | | [INFO] [stderr] | int [INFO] [stderr] In file included from include/libtcod.h:178, [INFO] [stderr] from src/sys_c.c:41: [INFO] [stderr] include/list.h:37:61: note: expected 'const void *' but argument is of type 'int' [INFO] [stderr] 37 | TCODLIB_API void TCOD_list_push(TCOD_list_t l, const void * elt); [INFO] [stderr] | ~~~~~~~~~~~~~^~~ [INFO] [stderr] src/sys_c.c: In function 'TCOD_sys_clipboard_get': [INFO] [stderr] src/sys_c.c:645:19: warning: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] [INFO] [stderr] 645 | char *ret=strdup(xbuf); [INFO] [stderr] | ^~~~~~ [INFO] [stderr] /bin/sh: 1: sdl-config: not found [INFO] [stderr] src/sys_opengl_c.c:35:10: fatal error: SDL/SDL.h: No such file or directory [INFO] [stderr] 35 | #include [INFO] [stderr] | ^~~~~~~~~~~ [INFO] [stderr] compilation terminated. [INFO] [stderr] make: *** [makefiles/makefile-linux:37: /tmp/libtcod/debug/sys_opengl_c.o] Error 1 [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] thread 'main' panicked at /opt/rustwide/cargo-home/git/checkouts/tcod-rs-c9d6a4d6f7c2177e/4114d2c/tcod_sys/build.rs:45:13: [INFO] [stderr] `make` returned: exit status: 2 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x5c8ad936688a - std::backtrace_rs::backtrace::libunwind::trace::h97abfd8a85887826 [INFO] [stderr] at /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stderr] 1: 0x5c8ad936688a - std::backtrace_rs::backtrace::trace_unsynchronized::h3fe33c3e2ffb6416 [INFO] [stderr] at /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x5c8ad936688a - std::sys::backtrace::_print_fmt::hdf29e1ca2ba4cbbc [INFO] [stderr] at /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x5c8ad936688a - ::fmt::h731c3e1b756ff019 [INFO] [stderr] at /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5c8ad938702b - core::fmt::rt::Argument::fmt::hdfecaf84742c5a76 [INFO] [stderr] at /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/fmt/rt.rs:177:76 [INFO] [stderr] 5: 0x5c8ad938702b - core::fmt::write::h9c97613a183100ea [INFO] [stderr] at /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/fmt/mod.rs:1186:21 [INFO] [stderr] 6: 0x5c8ad9363ae3 - std::io::Write::write_fmt::h7288d7c7dce2722e [INFO] [stderr] at /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/mod.rs:1823:15 [INFO] [stderr] 7: 0x5c8ad93666d2 - std::sys::backtrace::BacktraceLock::print::h2bc6f048c13121f8 [INFO] [stderr] at /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 8: 0x5c8ad9367997 - std::panicking::default_hook::{{closure}}::hde92e91975a101c0 [INFO] [stderr] at /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/panicking.rs:268:22 [INFO] [stderr] 9: 0x5c8ad93677c6 - std::panicking::default_hook::hd8d6e2273bfc5edc [INFO] [stderr] at /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/panicking.rs:295:9 [INFO] [stderr] 10: 0x5c8ad9367f97 - std::panicking::rust_panic_with_hook::hb332f821833efd3b [INFO] [stderr] at /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/panicking.rs:801:13 [INFO] [stderr] 11: 0x5c8ad9367e37 - std::panicking::begin_panic_handler::{{closure}}::h00065c7fd19dfc55 [INFO] [stderr] at /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/panicking.rs:674:13 [INFO] [stderr] 12: 0x5c8ad9366d69 - std::sys::backtrace::__rust_end_short_backtrace::h10e475bd14bb8cb7 [INFO] [stderr] at /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/sys/backtrace.rs:170:18 [INFO] [stderr] 13: 0x5c8ad9367ac4 - rust_begin_unwind [INFO] [stderr] at /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/panicking.rs:665:5 [INFO] [stderr] 14: 0x5c8ad9386293 - core::panicking::panic_fmt::h59e161f9c51d6f0e [INFO] [stderr] at /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/panicking.rs:74:14 [INFO] [stderr] 15: 0x5c8ad9341984 - build_script_build::main::hef9c98f5dc4ff90d [INFO] [stderr] 16: 0x5c8ad933ada3 - core::ops::function::FnOnce::call_once::h5e0fab6d6a135a4c [INFO] [stderr] 17: 0x5c8ad933a4f6 - std::sys::backtrace::__rust_begin_short_backtrace::h97e1aa817330f214 [INFO] [stderr] 18: 0x5c8ad933f2f9 - std::rt::lang_start::{{closure}}::h765ed11c4b21cb3a [INFO] [stderr] 19: 0x5c8ad9360c90 - core::ops::function::impls:: for &F>::call_once::h00708edcd5cb0bf9 [INFO] [stderr] at /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/ops/function.rs:284:13 [INFO] [stderr] 20: 0x5c8ad9360c90 - std::panicking::try::do_call::h3211acb5ef596e26 [INFO] [stderr] at /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/panicking.rs:557:40 [INFO] [stderr] 21: 0x5c8ad9360c90 - std::panicking::try::hfc77046d1a78b97f [INFO] [stderr] at /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/panicking.rs:520:19 [INFO] [stderr] 22: 0x5c8ad9360c90 - std::panic::catch_unwind::h8cc6f9c887e41bb5 [INFO] [stderr] at /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/panic.rs:348:14 [INFO] [stderr] 23: 0x5c8ad9360c90 - std::rt::lang_start_internal::{{closure}}::h1ae7a528cb090b94 [INFO] [stderr] at /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/rt.rs:143:48 [INFO] [stderr] 24: 0x5c8ad9360c90 - std::panicking::try::do_call::h7b341eaacca88c96 [INFO] [stderr] at /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/panicking.rs:557:40 [INFO] [stderr] 25: 0x5c8ad9360c90 - std::panicking::try::h2190145387d00b24 [INFO] [stderr] at /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/panicking.rs:520:19 [INFO] [stderr] 26: 0x5c8ad9360c90 - std::panic::catch_unwind::h39d0834a21ce2b28 [INFO] [stderr] at /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/panic.rs:348:14 [INFO] [stderr] 27: 0x5c8ad9360c90 - std::rt::lang_start_internal::hf1cb939424e8449c [INFO] [stderr] at /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/rt.rs:143:20 [INFO] [stderr] 28: 0x5c8ad933f2d7 - std::rt::lang_start::hfbd56535317882dd [INFO] [stderr] 29: 0x5c8ad9342775 - main [INFO] [stderr] 30: 0x7f4d65882d90 - [INFO] [stderr] 31: 0x7f4d65882e40 - __libc_start_main [INFO] [stderr] 32: 0x5c8ad9339a75 - _start [INFO] [stderr] 33: 0x0 - [INFO] running `Command { std: "docker" "inspect" "4c9946fccfa5fe10217ff2bb72cfeeb3c4b614ca9e76db6cd88316b12ecad70b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c9946fccfa5fe10217ff2bb72cfeeb3c4b614ca9e76db6cd88316b12ecad70b", kill_on_drop: false }` [INFO] [stdout] 4c9946fccfa5fe10217ff2bb72cfeeb3c4b614ca9e76db6cd88316b12ecad70b