[INFO] cloning repository https://github.com/mindriot101/ten-more-bullets-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mindriot101/ten-more-bullets-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmindriot101%2Ften-more-bullets-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmindriot101%2Ften-more-bullets-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa3263b96fd3683baaf930f64895bd8b33b17620 [INFO] testing mindriot101/ten-more-bullets-rust against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmindriot101%2Ften-more-bullets-rust" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mindriot101/ten-more-bullets-rust on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mindriot101/ten-more-bullets-rust [INFO] finished tweaking git repo https://github.com/mindriot101/ten-more-bullets-rust [INFO] tweaked toml for git repo https://github.com/mindriot101/ten-more-bullets-rust written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/mindriot101/ten-more-bullets-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6881d1c90abb6aeddf9e0a7c3df7548646268fb4e94f774a674506886496fda8 [INFO] running `Command { std: "docker" "start" "-a" "6881d1c90abb6aeddf9e0a7c3df7548646268fb4e94f774a674506886496fda8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6881d1c90abb6aeddf9e0a7c3df7548646268fb4e94f774a674506886496fda8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6881d1c90abb6aeddf9e0a7c3df7548646268fb4e94f774a674506886496fda8", kill_on_drop: false }` [INFO] [stdout] 6881d1c90abb6aeddf9e0a7c3df7548646268fb4e94f774a674506886496fda8 [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48ffddd0f4795bb88c977799c959a89e69ded29db55551cb73642edef1841b39 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "48ffddd0f4795bb88c977799c959a89e69ded29db55551cb73642edef1841b39", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.33 [INFO] [stderr] Compiling sdl2-sys v0.30.0 [INFO] [stderr] Compiling serde v1.0.17 [INFO] [stderr] Compiling lazy_static v0.2.9 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling num v0.1.40 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling rand v0.3.17 [INFO] [stderr] Compiling time v0.1.38 [INFO] [stderr] Compiling sdl2 v0.30.0 [INFO] [stderr] Compiling serde_derive_internals v0.16.0 [INFO] [stderr] Compiling serde_derive v1.0.17 [INFO] [stderr] Compiling toml v0.4.5 [INFO] [stderr] Compiling sdl2testing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | enemies: Vec>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Enemy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/globals.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | pub static ref TTF_CONTEXT: ::sdl2::ttf::Sdl2TtfContext = ::sdl2::ttf::init().unwrap(); [INFO] [stdout] 5 | | pub static ref DEVEL_MODE: Mutex = Mutex::new(true); [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/globals.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | pub static ref TTF_CONTEXT: ::sdl2::ttf::Sdl2TtfContext = ::sdl2::ttf::init().unwrap(); [INFO] [stdout] 5 | | pub static ref DEVEL_MODE: Mutex = Mutex::new(true); [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/globals.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | pub static ref TTF_CONTEXT: ::sdl2::ttf::Sdl2TtfContext = ::sdl2::ttf::init().unwrap(); [INFO] [stdout] 5 | | pub static ref DEVEL_MODE: Mutex = Mutex::new(true); [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/globals.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lazy_static! { [INFO] [stdout] 4 | | pub static ref TTF_CONTEXT: ::sdl2::ttf::Sdl2TtfContext = ::sdl2::ttf::init().unwrap(); [INFO] [stdout] 5 | | pub static ref DEVEL_MODE: Mutex = Mutex::new(true); [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gun.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let mut devel_mode = DEVEL_MODE.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gun.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | for (i, mut bullet) in self.bullets.iter_mut().enumerate() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/sdl2testing-35b01745492abfdc.sdl2testing.20c1c88a-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-35b01745492abfdc.sdl2testing.20c1c88a-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-35b01745492abfdc.sdl2testing.20c1c88a-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-35b01745492abfdc.sdl2testing.20c1c88a-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-35b01745492abfdc.sdl2testing.20c1c88a-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-35b01745492abfdc.sdl2testing.20c1c88a-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-35b01745492abfdc.sdl2testing.20c1c88a-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-35b01745492abfdc.sdl2testing.20c1c88a-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-35b01745492abfdc.sdl2testing.20c1c88a-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-35b01745492abfdc.sdl2testing.20c1c88a-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-35b01745492abfdc.sdl2testing.20c1c88a-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-35b01745492abfdc.sdl2testing.20c1c88a-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-35b01745492abfdc.sdl2testing.20c1c88a-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-35b01745492abfdc.sdl2testing.20c1c88a-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-35b01745492abfdc.sdl2testing.20c1c88a-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-35b01745492abfdc.sdl2testing.20c1c88a-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-35b01745492abfdc.1ozxivvb35o248y1.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libtoml-42d89f6e6515891a.rlib" "/opt/rustwide/target/debug/deps/libserde-371bc5ab6f08957f.rlib" "/opt/rustwide/target/debug/deps/libtime-3d0c4817b778c68d.rlib" "/opt/rustwide/target/debug/deps/libsdl2-6cd93b37f8a9f7a3.rlib" "/opt/rustwide/target/debug/deps/librand-ebdb3c1a1ea8830d.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-a04a1700431dd5b3.rlib" "/opt/rustwide/target/debug/deps/libbitflags-e0f7dbb2934afe82.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-0cb4d7a706d44930.rlib" "/opt/rustwide/target/debug/deps/liblibc-e445f3aa891a8bd2.rlib" "/opt/rustwide/target/debug/deps/libnum-6a56c3ab5f01fb93.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-9bbdbc14583c8d01.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-9b35b5bd4655c19c.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-a81fd1802ea2c4ac.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-29e5e596e889a0aa.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1b145d9fcdc08832.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-5b037ee6b77e2ff0.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-9635a64fca0ebd28.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-a7574eb9bb7a8fc5.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-f5fa1dc334dcaeeb.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-6ee570a898e75ef0.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-afb62f29a0815772.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-a632746535fd9988.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-25acc307bcb1d7b6.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-377721a625f6ace7.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-43c01431c8a4ee6f.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-5f74725679453254.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-2b35d8999819161d.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a81f2980c3f58cf2.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-57b4679830289815.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2a6a2797f7a73818.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-13b419dfbcf9c1f8.rlib" "-Wl,-Bdynamic" "-lSDL2_ttf" "-lSDL2_image" "-lSDL2_mixer" "-lSDL2" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/sdl2testing-35b01745492abfdc" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lSDL2_ttf [INFO] [stdout] /usr/bin/ld: cannot find -lSDL2_image [INFO] [stdout] /usr/bin/ld: cannot find -lSDL2_mixer [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sdl2testing` due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "48ffddd0f4795bb88c977799c959a89e69ded29db55551cb73642edef1841b39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48ffddd0f4795bb88c977799c959a89e69ded29db55551cb73642edef1841b39", kill_on_drop: false }` [INFO] [stdout] 48ffddd0f4795bb88c977799c959a89e69ded29db55551cb73642edef1841b39