[INFO] updating cached repository tamato/curses_and_sdl [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/tamato/curses_and_sdl [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/tamato/curses_and_sdl" "work/ex/beta-1.38-1/sources/1.37.0/gh/tamato/curses_and_sdl"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/tamato/curses_and_sdl'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/tamato/curses_and_sdl" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/tamato/curses_and_sdl"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/tamato/curses_and_sdl'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 5ce8d8197ad96e8db48f04412a29c5fb58e5bec1 [INFO] sha for GitHub repo tamato/curses_and_sdl: 5ce8d8197ad96e8db48f04412a29c5fb58e5bec1 [INFO] validating manifest of tamato/curses_and_sdl on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of tamato/curses_and_sdl on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing tamato/curses_and_sdl [INFO] finished frobbing tamato/curses_and_sdl [INFO] frobbed toml for tamato/curses_and_sdl written to work/ex/beta-1.38-1/sources/1.37.0/gh/tamato/curses_and_sdl/Cargo.toml [INFO] started frobbing tamato/curses_and_sdl [INFO] finished frobbing tamato/curses_and_sdl [INFO] frobbed toml for tamato/curses_and_sdl written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/tamato/curses_and_sdl/Cargo.toml [INFO] crate tamato/curses_and_sdl already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing tamato/curses_and_sdl against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/tamato/curses_and_sdl:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 7121d2edcbee77e45f161627e2deb564bd8782151371c5e3f811829a6444075e [INFO] running `"docker" "start" "-a" "7121d2edcbee77e45f161627e2deb564bd8782151371c5e3f811829a6444075e"` [INFO] [stderr] Compiling curses_and_sdl v0.1.0 (/opt/crater/workdir) [INFO] [stderr] Compiling ncurses v5.91.0 [INFO] [stderr] Compiling sdl2 v0.31.0 [INFO] [stderr] Compiling pancurses v0.14.0 [INFO] [stderr] Compiling easycurses v0.9.0 [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/map_gen/tcod_tutorial.rs:14:40 [INFO] [stderr] | [INFO] [stderr] 14 | data: vec![MapTileType::Empty; (width * height)], [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_parens)] on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:10:20 [INFO] [stderr] | [INFO] [stderr] 10 | impl Clone for Box { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Command` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:49:19 [INFO] [stderr] | [INFO] [stderr] 49 | cmds: Vec>, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Command` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:59:33 [INFO] [stderr] | [INFO] [stderr] 59 | fn add(&mut self, data: Box) { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Command` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:67:32 [INFO] [stderr] | [INFO] [stderr] 67 | fn cmd_clone(&self) -> Box; [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Command` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:94:32 [INFO] [stderr] | [INFO] [stderr] 94 | fn cmd_clone(&self) -> Box { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Command` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Command` [INFO] [stderr] --> src/context/context_sdl.rs:13:28 [INFO] [stderr] | [INFO] [stderr] 13 | use {World, CommandMoveTo, Command, ResourceCollection, CommandCollection}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `world` [INFO] [stderr] --> src/context/context_sdl.rs:68:17 [INFO] [stderr] | [INFO] [stderr] 68 | let mut world = World::new(); [INFO] [stderr] | ^^^^^ help: consider prefixing with an underscore: `_world` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/context/context_sdl.rs:68:13 [INFO] [stderr] | [INFO] [stderr] 68 | let mut world = World::new(); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] warning: field is never used: `entities` [INFO] [stderr] --> src/lib.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | entities: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:31:26 [INFO] [stderr] | [INFO] [stderr] 31 | let console_ctx: Box; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn ConsoleContext` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] error: linking with `cc` failed: exit code: 1 [INFO] [stderr] | [INFO] [stderr] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/curses_and_sdl-41c897374886a94c.curses_and_sdl.qs8tnyso-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/curses_and_sdl-41c897374886a94c.curses_and_sdl.qs8tnyso-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/curses_and_sdl-41c897374886a94c.curses_and_sdl.qs8tnyso-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/curses_and_sdl-41c897374886a94c.curses_and_sdl.qs8tnyso-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/curses_and_sdl-41c897374886a94c.curses_and_sdl.qs8tnyso-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/curses_and_sdl-41c897374886a94c.curses_and_sdl.qs8tnyso-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/curses_and_sdl-41c897374886a94c.curses_and_sdl.qs8tnyso-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/curses_and_sdl-41c897374886a94c.curses_and_sdl.qs8tnyso-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/curses_and_sdl-41c897374886a94c.curses_and_sdl.qs8tnyso-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/curses_and_sdl-41c897374886a94c.curses_and_sdl.qs8tnyso-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/curses_and_sdl-41c897374886a94c.curses_and_sdl.qs8tnyso-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/curses_and_sdl-41c897374886a94c.curses_and_sdl.qs8tnyso-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/curses_and_sdl-41c897374886a94c.curses_and_sdl.qs8tnyso-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/curses_and_sdl-41c897374886a94c.curses_and_sdl.qs8tnyso-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/curses_and_sdl-41c897374886a94c.curses_and_sdl.qs8tnyso-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/curses_and_sdl-41c897374886a94c.curses_and_sdl.qs8tnyso-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/curses_and_sdl-41c897374886a94c" "/opt/crater/target/debug/deps/curses_and_sdl-41c897374886a94c.1lv83nw0k82qrssf.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/crater/target/debug/deps/libcurses_and_sdl-2615b4222b3ef309.rlib" "/opt/crater/target/debug/deps/libsdl2-a1130abb915ebccc.rlib" "/opt/crater/target/debug/deps/librand-db4e082dffde9eea.rlib" "/opt/crater/target/debug/deps/librand-cad40722c21bfa82.rlib" "/opt/crater/target/debug/deps/libsdl2_sys-a3f5cf7805507dd4.rlib" "/opt/crater/target/debug/deps/libbitflags-05fa20c47058c1db.rlib" "/opt/crater/target/debug/deps/liblazy_static-0c9d1899e9eae559.rlib" "/opt/crater/target/debug/deps/libnum-4d431f8e91d059f7.rlib" "/opt/crater/target/debug/deps/libnum_iter-c87089fba5818a00.rlib" "/opt/crater/target/debug/deps/libnum_integer-3c24b16bb7a3a66b.rlib" "/opt/crater/target/debug/deps/libnum_traits-6d6368756cd55c9d.rlib" "/opt/crater/target/debug/deps/libeasycurses-763b0a6fde36e27e.rlib" "/opt/crater/target/debug/deps/libpancurses-23c7f86b066629da.rlib" "/opt/crater/target/debug/deps/libncurses-02ba4751c6154041.rlib" "/opt/crater/target/debug/deps/liblibc-4f0db0a939a1bba9.rlib" "/opt/crater/target/debug/deps/liblog-e203744bef71d14e.rlib" "/opt/crater/target/debug/deps/liblog-9a4573bfd4d75161.rlib" "/opt/crater/target/debug/deps/libcfg_if-f0641b5a9a5cde64.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-4a76ff35a356aedf.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e11c7b3b3225afe2.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-13217ede3d276f16.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-621a9ee22da6caa1.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-546c844e8071bbeb.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-be9569e4d599746f.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-47d8845cef2a3bc5.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-017511bce73a530c.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-be7979c57a08057b.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-d6459c4f0817c67c.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-580035dd98451925.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-aee5c24fff305dea.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-8a55a4098920125a.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9fc4b5be2ba5cc19.rlib" "-Wl,-Bdynamic" "-lSDL2_image" "-lSDL2" "-lncurses" "-ltinfo" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" [INFO] [stderr] = note: /usr/bin/ld: cannot find -lSDL2_image [INFO] [stderr] collect2: error: ld returned 1 exit status [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `curses_and_sdl`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "7121d2edcbee77e45f161627e2deb564bd8782151371c5e3f811829a6444075e"` [INFO] running `"docker" "rm" "-f" "7121d2edcbee77e45f161627e2deb564bd8782151371c5e3f811829a6444075e"` [INFO] [stdout] 7121d2edcbee77e45f161627e2deb564bd8782151371c5e3f811829a6444075e