[INFO] updating cached repository https://github.com/rchaser53/rust_pack_man [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] cade69f34e8d64dac60a763eb3f37841bda743b4 [INFO] testing rchaser53/rust_pack_man against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frchaser53%2Frust_pack_man" "/workspace/builds/worker-9/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rchaser53/rust_pack_man on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/rchaser53/rust_pack_man [INFO] finished tweaking git repo https://github.com/rchaser53/rust_pack_man [INFO] tweaked toml for git repo https://github.com/rchaser53/rust_pack_man written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/rchaser53/rust_pack_man already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 041f634b631daef6b9c70aa4d6a1e2995e5f30db751a17da5d6ffde0fcb35882 [INFO] running `"docker" "start" "-a" "041f634b631daef6b9c70aa4d6a1e2995e5f30db751a17da5d6ffde0fcb35882"` [INFO] [stderr] Compiling libc v0.2.32 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling lazy_static v0.2.9 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling rand v0.3.17 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling num-complex v0.1.40 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling num-iter v0.1.34 [INFO] [stderr] Compiling regex v0.2.2 [INFO] [stderr] Compiling num-bigint v0.1.40 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling num-rational v0.1.39 [INFO] [stderr] Compiling num v0.1.40 [INFO] [stderr] Compiling sdl2 v0.31.0 [INFO] [stderr] Compiling rust_pack_man v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error_handling.rs:29:32 [INFO] [stderr] | [INFO] [stderr] 29 | fn cause(&self) -> Option<&Error> { None } [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [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/error_handling.rs:35:32 [INFO] [stderr] | [INFO] [stderr] 35 | fn cause(&self) -> Option<&Error>; [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/game_field/field_row.rs:37:100 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn get_cell_data(character: char, row_index: usize, cell_index: usize) -> (CellStatus, Box) { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn DrawMyself` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/game_field/field_cell.rs:9:22 [INFO] [stderr] | [INFO] [stderr] 9 | pub feature: Box [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn DrawMyself` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/game_field/field_cell.rs:13:49 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn new(status: CellStatus, feature: Box) -> FieldCell { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn DrawMyself` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/enemy/enemy.rs:14:20 [INFO] [stderr] | [INFO] [stderr] 14 | pub feature: Box [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn EnemyAction` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/enemy/enemy.rs:18:48 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn new(status: EnemyStatus, feature: Box) -> Enemy { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn EnemyAction` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/constants.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | / lazy_static! { [INFO] [stderr] 7 | | pub static ref FILE_PATHS: HashMap<&'static str, &'static str> = { [INFO] [stderr] 8 | | let mut map = HashMap::new(); [INFO] [stderr] 9 | | map.insert("HIT_EFFECT_PATH", "assets/musics/sine.wav"); [INFO] [stderr] ... | [INFO] [stderr] 17 | | }; [INFO] [stderr] 18 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/constants.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | / lazy_static! { [INFO] [stderr] 7 | | pub static ref FILE_PATHS: HashMap<&'static str, &'static str> = { [INFO] [stderr] 8 | | let mut map = HashMap::new(); [INFO] [stderr] 9 | | map.insert("HIT_EFFECT_PATH", "assets/musics/sine.wav"); [INFO] [stderr] ... | [INFO] [stderr] 17 | | }; [INFO] [stderr] 18 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> src/enemy/field_getter.rs:26:35 [INFO] [stderr] | [INFO] [stderr] 26 | for seed_index in seed_indexs.into_iter() { [INFO] [stderr] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] [INFO] [stderr] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stderr] --> src/enemy/field_getter.rs:49:35 [INFO] [stderr] | [INFO] [stderr] 49 | for seed_index in seed_indexs.into_iter() { [INFO] [stderr] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #66145 [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/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/rust_pack_man-895de11b68599cf4.rust_pack_man.3kl6mpg8-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/rust_pack_man-895de11b68599cf4.rust_pack_man.3kl6mpg8-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/rust_pack_man-895de11b68599cf4.rust_pack_man.3kl6mpg8-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/rust_pack_man-895de11b68599cf4.rust_pack_man.3kl6mpg8-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/rust_pack_man-895de11b68599cf4.rust_pack_man.3kl6mpg8-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/rust_pack_man-895de11b68599cf4.rust_pack_man.3kl6mpg8-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/rust_pack_man-895de11b68599cf4.rust_pack_man.3kl6mpg8-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/rust_pack_man-895de11b68599cf4.rust_pack_man.3kl6mpg8-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/rust_pack_man-895de11b68599cf4.rust_pack_man.3kl6mpg8-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/rust_pack_man-895de11b68599cf4.rust_pack_man.3kl6mpg8-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/rust_pack_man-895de11b68599cf4.rust_pack_man.3kl6mpg8-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/rust_pack_man-895de11b68599cf4.rust_pack_man.3kl6mpg8-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/rust_pack_man-895de11b68599cf4.rust_pack_man.3kl6mpg8-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/rust_pack_man-895de11b68599cf4.rust_pack_man.3kl6mpg8-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/rust_pack_man-895de11b68599cf4.rust_pack_man.3kl6mpg8-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/rust_pack_man-895de11b68599cf4.rust_pack_man.3kl6mpg8-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/rust_pack_man-895de11b68599cf4" "/opt/rustwide/target/debug/deps/rust_pack_man-895de11b68599cf4.2gn89qg6amqioy08.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl2-b34404a7e1f2d15e.rlib" "/opt/rustwide/target/debug/deps/libc_vec-ff4495349f4bcd62.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-d004d312c6fa752f.rlib" "/opt/rustwide/target/debug/deps/libbitflags-57cacbe4af8e84a6.rlib" "/opt/rustwide/target/debug/deps/libnum-f27b065f649a0b1a.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-b4685ca85625c96b.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-93d52f8f0a6b6671.rlib" "/opt/rustwide/target/debug/deps/librand-67572db544543f88.rlib" "/opt/rustwide/target/debug/deps/liblibc-7ec09e1ca4d79c73.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-4cdbed4269b2a8ff.rlib" "/opt/rustwide/target/debug/deps/librustc_serialize-bfce5498649dc14e.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-04ab7fe380586a29.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-3f425ca29ce77f87.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-d60c404b82e33991.rlib" "/opt/rustwide/target/debug/deps/libenum_primitive-e282642c5baf68b5.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-94cd633a582b5f9d.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-62f93208e14fa8f0.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-b2c4dbe979cef5e2.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8b9b66cb3e9f891d.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5998b08bf29f56ac.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-efd1670396ccb585.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-6435b9209e888961.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-866e5dfb603b34d2.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-75eac3089695b3b4.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-35744537b4825584.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-f7ee5081d96fb2cd.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-5b28479cb639d76c.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-f827473dd3b319fa.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-53f9c299c549c6a9.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-44132fbb3fcc18d3.rlib" "-Wl,-Bdynamic" "-lSDL2_ttf" "-lSDL2_image" "-lSDL2_mixer" "-lSDL2_gfx" "-lSDL2" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stderr] = note: /usr/bin/ld: cannot find -lSDL2_ttf [INFO] [stderr] /usr/bin/ld: cannot find -lSDL2_image [INFO] [stderr] /usr/bin/ld: cannot find -lSDL2_mixer [INFO] [stderr] /usr/bin/ld: cannot find -lSDL2_gfx [INFO] [stderr] collect2: error: ld returned 1 exit status [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 11 warnings emitted [INFO] [stderr] [INFO] [stderr] error: could not compile `rust_pack_man`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "041f634b631daef6b9c70aa4d6a1e2995e5f30db751a17da5d6ffde0fcb35882"` [INFO] running `"docker" "rm" "-f" "041f634b631daef6b9c70aa4d6a1e2995e5f30db751a17da5d6ffde0fcb35882"` [INFO] [stdout] 041f634b631daef6b9c70aa4d6a1e2995e5f30db751a17da5d6ffde0fcb35882