[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 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmindriot101%2Ften-more-bullets-rust" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mindriot101/ten-more-bullets-rust on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-14/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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fuchsia-zircon v0.2.1 [INFO] [stderr] Downloaded fuchsia-zircon-sys v0.2.0 [INFO] [stderr] Downloaded num-iter v0.1.34 [INFO] [stderr] Downloaded num-integer v0.1.35 [INFO] [stderr] Downloaded rand v0.3.17 [INFO] [stderr] Downloaded num v0.1.40 [INFO] [stderr] Downloaded sdl2-sys v0.30.0 [INFO] [stderr] Downloaded sdl2 v0.30.0 [INFO] [stderr] Downloaded serde_derive v1.0.17 [INFO] [stderr] Downloaded libc v0.2.33 [INFO] [stderr] Downloaded serde v1.0.17 [INFO] [stderr] Downloaded serde_derive_internals v0.16.0 [INFO] [stderr] Downloaded num-traits v0.1.40 [INFO] [stderr] Downloaded lazy_static v0.2.9 [INFO] [stderr] Downloaded toml v0.4.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 616d1e7a2b632ef0f5f4d8a68d99fce4108811551105c7838ac9748e6c392858 [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" "616d1e7a2b632ef0f5f4d8a68d99fce4108811551105c7838ac9748e6c392858", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "616d1e7a2b632ef0f5f4d8a68d99fce4108811551105c7838ac9748e6c392858", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "616d1e7a2b632ef0f5f4d8a68d99fce4108811551105c7838ac9748e6c392858", kill_on_drop: false }` [INFO] [stdout] 616d1e7a2b632ef0f5f4d8a68d99fce4108811551105c7838ac9748e6c392858 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41aa551643661e2ee867490facb9a7a2fded6aaf7c9993c45c73e5afd3aa5623 [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" "41aa551643661e2ee867490facb9a7a2fded6aaf7c9993c45c73e5afd3aa5623", kill_on_drop: false }` [INFO] [stderr] Compiling sdl2-sys v0.30.0 [INFO] [stderr] Compiling lazy_static v0.2.9 [INFO] [stderr] Compiling serde v1.0.17 [INFO] [stderr] Compiling rand v0.3.17 [INFO] [stderr] Compiling serde_derive_internals v0.16.0 [INFO] [stderr] Compiling sdl2 v0.30.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: 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | enemies: Vec>, [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 - enemies: Vec>, [INFO] [stdout] 31 + enemies: Vec>, [INFO] [stdout] | [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-f30d45bc9371cc1f.sdl2testing.ef6743a5-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-f30d45bc9371cc1f.sdl2testing.ef6743a5-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-f30d45bc9371cc1f.sdl2testing.ef6743a5-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-f30d45bc9371cc1f.sdl2testing.ef6743a5-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-f30d45bc9371cc1f.sdl2testing.ef6743a5-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-f30d45bc9371cc1f.sdl2testing.ef6743a5-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-f30d45bc9371cc1f.sdl2testing.ef6743a5-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-f30d45bc9371cc1f.sdl2testing.ef6743a5-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-f30d45bc9371cc1f.sdl2testing.ef6743a5-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-f30d45bc9371cc1f.sdl2testing.ef6743a5-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-f30d45bc9371cc1f.sdl2testing.ef6743a5-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-f30d45bc9371cc1f.sdl2testing.ef6743a5-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-f30d45bc9371cc1f.sdl2testing.ef6743a5-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-f30d45bc9371cc1f.sdl2testing.ef6743a5-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-f30d45bc9371cc1f.sdl2testing.ef6743a5-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-f30d45bc9371cc1f.sdl2testing.ef6743a5-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2testing-f30d45bc9371cc1f.4lm9c3kwhavv8dl2.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libtoml-62de4c1fb91d73f9.rlib" "/opt/rustwide/target/debug/deps/libserde-a325d3dc0667d968.rlib" "/opt/rustwide/target/debug/deps/libtime-58f39226609fd7d9.rlib" "/opt/rustwide/target/debug/deps/libsdl2-eb498cfbf7141c71.rlib" "/opt/rustwide/target/debug/deps/librand-80ece7dc94ae7f58.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-1060becb44b18087.rlib" "/opt/rustwide/target/debug/deps/libbitflags-a90aa1b00e6334cb.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-7a1592c8eb89f065.rlib" "/opt/rustwide/target/debug/deps/liblibc-fd6f84e8f8939a8a.rlib" "/opt/rustwide/target/debug/deps/libnum-0e5590c10d527055.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-9fec1f5b2e48598b.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-78b0e5bd88d0ae68.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-09c7c7a0099faa9c.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a46a068050a12a4b.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1df56095db9453cb.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-9062de483386e50b.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-b988ab269ff13602.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-1bc822d886d4f7bd.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-963eca8df4c224a6.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d805b480c9102e58.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-06dfdbc22b935051.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-d7523a4d118e6572.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-5d7898c7fac3a07d.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8c2bdbab4845bf3d.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-d578639df0547b30.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-58bbb7b1efa3a5e2.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-4c9b082d197c16f8.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-70f9ed6d8e7a5ce6.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-8c0a241d0360fa53.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-bad7ed93fdd31371.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-98b4d121af2b7335.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-1d9f7e5920635d15.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/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/sdl2testing-f30d45bc9371cc1f" "-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" "41aa551643661e2ee867490facb9a7a2fded6aaf7c9993c45c73e5afd3aa5623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41aa551643661e2ee867490facb9a7a2fded6aaf7c9993c45c73e5afd3aa5623", kill_on_drop: false }` [INFO] [stdout] 41aa551643661e2ee867490facb9a7a2fded6aaf7c9993c45c73e5afd3aa5623