[INFO] cloning repository https://github.com/fj0lverkr/UrsusEngine_RS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fj0lverkr/UrsusEngine_RS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffj0lverkr%2FUrsusEngine_RS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffj0lverkr%2FUrsusEngine_RS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 63e6c3f55617eb0ab3f5556e0d043ef18e2b895d [INFO] testing fj0lverkr/UrsusEngine_RS against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffj0lverkr%2FUrsusEngine_RS" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fj0lverkr/UrsusEngine_RS [INFO] finished tweaking git repo https://github.com/fj0lverkr/UrsusEngine_RS [INFO] tweaked toml for git repo https://github.com/fj0lverkr/UrsusEngine_RS written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fj0lverkr/UrsusEngine_RS on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fj0lverkr/UrsusEngine_RS 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl2 v0.37.0 [INFO] [stderr] Downloaded sdl2-sys v0.37.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08ffeeac866e229d2e8634aa41ad42cc77f54f2dac47a75857b7f554b40c0e9e [INFO] running `Command { std: "docker" "start" "-a" "08ffeeac866e229d2e8634aa41ad42cc77f54f2dac47a75857b7f554b40c0e9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08ffeeac866e229d2e8634aa41ad42cc77f54f2dac47a75857b7f554b40c0e9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08ffeeac866e229d2e8634aa41ad42cc77f54f2dac47a75857b7f554b40c0e9e", kill_on_drop: false }` [INFO] [stdout] 08ffeeac866e229d2e8634aa41ad42cc77f54f2dac47a75857b7f554b40c0e9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b2ab9c808d0cae35ae693b752e031cd4feba81463603590dd3b848511a70654 [INFO] running `Command { std: "docker" "start" "-a" "0b2ab9c808d0cae35ae693b752e031cd4feba81463603590dd3b848511a70654", kill_on_drop: false }` [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling sdl2 v0.37.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sdl2-sys v0.37.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling UrsusEngineRS v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `EntityLabel` [INFO] [stdout] --> src/game.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::ecs::manager::{EntityLabel, Manager}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `viewfinder` is never read [INFO] [stdout] --> src/camera_2d.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Camera2D { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 6 | viewfinder: Rect, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `viewfinder` and `follow` are never used [INFO] [stdout] --> src/camera_2d.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Camera2D { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn viewfinder(self) -> Rect { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn follow(&mut self, position: &Vector2D, window_height: f32, window_width: f32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ComponentBehavior` is never used [INFO] [stdout] --> src/ecs/component.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait ComponentBehavior { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `KeyboardController` and `Sprite` are never constructed [INFO] [stdout] --> src/ecs/component.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Component { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 15 | KeyboardController(KeyboardController), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | Transform(TransformComponent), [INFO] [stdout] 17 | Sprite(KeyboardController), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update`, `draw`, `add_label`, and `has_label` are never used [INFO] [stdout] --> src/ecs/entity.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Entity { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn draw(&self) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | [INFO] [stdout] 29 | pub fn add_label(&mut self, label: EntityLabel) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn has_label(&self, label: &EntityLabel) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAXGROUPS` is never used [INFO] [stdout] --> src/ecs/manager.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const MAXGROUPS: usize = 32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Player` is never constructed [INFO] [stdout] --> src/ecs/manager.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum EntityLabel { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 7 | Player, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update`, `draw`, `refresh`, `add_label`, and `add_entity` are never used [INFO] [stdout] --> src/ecs/manager.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Manager { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn draw(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn refresh(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn add_label(&mut self, entity: &Entity, label: EntityLabel) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn add_entity(&mut self) -> &Entity { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_pos` is never used [INFO] [stdout] --> src/ecs/transform_component.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl TransformComponent { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn new_with_pos(x: i32, y: i32) -> TransformComponent { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_debug` and `camera` are never read [INFO] [stdout] --> src/game.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 13 | manager: Manager, [INFO] [stdout] 14 | is_debug: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | camera: Camera2D, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `window` and `ttf_context` are never read [INFO] [stdout] --> src/renderer.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Renderer { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 10 | pub window: Window, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | pub canvas: WindowCanvas, [INFO] [stdout] 12 | ttf_context: Sdl2TtfContext, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Zero` is never used [INFO] [stdout] --> src/vector_2d.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Zero { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcoIEE0P/symbols.o" "<4 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libsdl2-efa18435b3114693.rlib,libsdl2_sys-5e2171b89cd71aac.rlib,libbitflags-ed512472f018a953.rlib,liblazy_static-5f41077b1fb4f2c7.rlib,liblibc-4e941f3c786d1baf.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,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/rustcoIEE0P/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/UrsusEngineRS-b834d2e125d23104" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-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 `UrsusEngineRS` (bin "UrsusEngineRS") due to 1 previous error; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0b2ab9c808d0cae35ae693b752e031cd4feba81463603590dd3b848511a70654", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b2ab9c808d0cae35ae693b752e031cd4feba81463603590dd3b848511a70654", kill_on_drop: false }` [INFO] [stdout] 0b2ab9c808d0cae35ae693b752e031cd4feba81463603590dd3b848511a70654