[INFO] cloning repository https://github.com/eatasaur/rust-sdl-project [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eatasaur/rust-sdl-project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Featasaur%2Frust-sdl-project", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Featasaur%2Frust-sdl-project'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5ddb90a11ed6f4cf8fed582c13e88df3f3aa74ca [INFO] testing eatasaur/rust-sdl-project against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Featasaur%2Frust-sdl-project" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/eatasaur/rust-sdl-project [INFO] finished tweaking git repo https://github.com/eatasaur/rust-sdl-project [INFO] tweaked toml for git repo https://github.com/eatasaur/rust-sdl-project written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/eatasaur/rust-sdl-project on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/eatasaur/rust-sdl-project 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nougat v0.2.4 [INFO] [stderr] Downloaded tuple_utils v0.4.0 [INFO] [stderr] Downloaded nougat-proc_macros v0.2.4 [INFO] [stderr] Downloaded shred v0.15.0 [INFO] [stderr] Downloaded specs v0.20.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f4af9ddd4481566f950eb1d7bbfa13f6b5b42b8b83d23115daeb7be28d87448 [INFO] running `Command { std: "docker" "start" "-a" "2f4af9ddd4481566f950eb1d7bbfa13f6b5b42b8b83d23115daeb7be28d87448", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f4af9ddd4481566f950eb1d7bbfa13f6b5b42b8b83d23115daeb7be28d87448", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f4af9ddd4481566f950eb1d7bbfa13f6b5b42b8b83d23115daeb7be28d87448", kill_on_drop: false }` [INFO] [stdout] 2f4af9ddd4481566f950eb1d7bbfa13f6b5b42b8b83d23115daeb7be28d87448 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5db57e74ff9a9fa6f335d08a53e97a483b9c294fc94ceda3d47111f73ddec963 [INFO] running `Command { std: "docker" "start" "-a" "5db57e74ff9a9fa6f335d08a53e97a483b9c294fc94ceda3d47111f73ddec963", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling sdl2-sys v0.36.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.1.3 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling atomic_refcell v0.1.13 [INFO] [stderr] Compiling sdl2 v0.36.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling shrev v1.1.3 [INFO] [stderr] Compiling tuple_utils v0.4.0 [INFO] [stderr] Compiling macro_rules_attribute v0.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling tynm v0.1.10 [INFO] [stderr] Compiling nougat-proc_macros v0.2.4 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Compiling hibitset v0.6.4 [INFO] [stderr] Compiling shred v0.15.0 [INFO] [stderr] Compiling nougat v0.2.4 [INFO] [stderr] Compiling specs v0.20.0 [INFO] [stderr] Compiling rust_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `frame`, `total_frames`, and `rot` are never read [INFO] [stdout] --> src/components.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Renderable { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub frame: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | // Max frame offset before [INFO] [stdout] 27 | pub total_frames: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | // Rotation of imagae to display [INFO] [stdout] 29 | pub rot: f64 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/utils/texture_manager.rs:59:45 [INFO] [stdout] | [INFO] [stdout] 59 | fn load(&'l self, path: &str) -> Result { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'l` [INFO] [stdout] | [INFO] [stdout] 59 | fn load(&'l self, path: &str) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcB6RPqt/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libspecs-19e54deea5205a99,liblog-a3845e017a80cb8a,libnougat-3f378a163aa43bdc,libmacro_rules_attribute-1090cb50ee93c738,libcrossbeam_queue-e1b4ec2d4aad86f2,libtuple_utils-f7083f93943f1e3f,libshrev-ba2d5f454b2647d7,libshred-f6a2cf7717ed500c,libtynm-57ad57f844bec717,libnom-399a75991b574ba3,libmemchr-7e9ddcc3522c55af,libarrayvec-f942e8c771b56381,libsmallvec-8045c56aeb050430,libahash-b0503fc01fd1183e,libgetrandom-185694f2d7190f46,libcfg_if-33ef6c02a07f9fec,libonce_cell-5a4465f1df8bb25f,libatomic_refcell-ef391933bba883f4,libhibitset-df61d7db174da337,librayon-4c51e0162cfd9839,librayon_core-936d6cd684097949,libcrossbeam_deque-1677f27c8a0deac5,libcrossbeam_epoch-3554ccb4a3bc7b51,libcrossbeam_utils-eb4587c77878a9d5,libeither-6c291e36102ca5de,libsdl2-c0943f44ff0f0faf,libsdl2_sys-00e556c913051e42,libbitflags-e2b4db6c651223da,liblazy_static-2bb390fee0230a38,liblibc-87ba8c2d9747b2c7}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_image" "-lSDL2_ttf" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcB6RPqt/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rust_game-db069ce220d891b0" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lSDL2_image [INFO] [stdout] rust-lld: error: unable to find library -lSDL2_ttf [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_game` (bin "rust_game") due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5db57e74ff9a9fa6f335d08a53e97a483b9c294fc94ceda3d47111f73ddec963", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5db57e74ff9a9fa6f335d08a53e97a483b9c294fc94ceda3d47111f73ddec963", kill_on_drop: false }` [INFO] [stdout] 5db57e74ff9a9fa6f335d08a53e97a483b9c294fc94ceda3d47111f73ddec963