[INFO] cloning repository https://github.com/shesho22/SimuladorDepredadorPresa [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shesho22/SimuladorDepredadorPresa" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshesho22%2FSimuladorDepredadorPresa", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshesho22%2FSimuladorDepredadorPresa'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d4b1d59057476c7513bb4cfd36c8507dee2c6116 [INFO] building shesho22/SimuladorDepredadorPresa against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshesho22%2FSimuladorDepredadorPresa" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/shesho22/SimuladorDepredadorPresa [INFO] finished tweaking git repo https://github.com/shesho22/SimuladorDepredadorPresa [INFO] tweaked toml for git repo https://github.com/shesho22/SimuladorDepredadorPresa written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shesho22/SimuladorDepredadorPresa on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/shesho22/SimuladorDepredadorPresa 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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1a3d456f88b6bfe29480059989c3f9634ed33278215d04fb50d0ccbb136b58e [INFO] running `Command { std: "docker" "start" "-a" "c1a3d456f88b6bfe29480059989c3f9634ed33278215d04fb50d0ccbb136b58e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1a3d456f88b6bfe29480059989c3f9634ed33278215d04fb50d0ccbb136b58e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1a3d456f88b6bfe29480059989c3f9634ed33278215d04fb50d0ccbb136b58e", kill_on_drop: false }` [INFO] [stdout] c1a3d456f88b6bfe29480059989c3f9634ed33278215d04fb50d0ccbb136b58e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 8c62fc2c55c24074b5fa1d010cb14cc69c5b464e45c73994545d178773d0188d [INFO] running `Command { std: "docker" "start" "-a" "8c62fc2c55c24074b5fa1d010cb14cc69c5b464e45c73994545d178773d0188d", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling wasi v0.11.1+wasi-snapshot-preview1 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling macroquad v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling ejmacroquad v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/sistemas/reproduccion.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | if (presas[i].sexo() == presas[j].sexo()) { continue; } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 19 - if (presas[i].sexo() == presas[j].sexo()) { continue; } [INFO] [stdout] 19 + if presas[i].sexo() == presas[j].sexo() { continue; } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/entidades/presa.rs:117:57 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn crear_cria(x: f32, y: f32, especie: Especie, rng: &mut impl Rng) -> Presa { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `especies` [INFO] [stdout] --> src/sistemas/reproduccion.rs:7:46 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn reproduccion(presas: &mut Vec, especies: &[Especie], reproducciones_diarias: &mut u32) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_especies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `especie` is never used [INFO] [stdout] --> src/entidades/organismo.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Organismo { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 9 | fn especie(&self) -> Especie; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_dias_enfermo` is never used [INFO] [stdout] --> src/entidades/presa.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Presa { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn set_dias_enfermo(&mut self, d: u32){self.dias_enfermo = d;} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_dias_enfermo` is never used [INFO] [stdout] --> src/entidades/depredador.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Depredador { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn set_dias_enfermo(&mut self, d: u32){self.dias_enfermo = d;} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nombre` is never used [INFO] [stdout] --> src/entidades/especie.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Sexo { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 12 | pub fn nombre(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nombre` is never used [INFO] [stdout] --> src/entidades/especie.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Especie { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn nombre(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__main_void" "--export" "CONTEXT" "--export" "allocate_vec_u8" "--export" "crate_version" "--export" "file_loaded" "--export" "focus" "--export" "frame" "--export" "key_down" "--export" "key_press" "--export" "key_up" "--export" "mouse_down" "--export" "mouse_move" "--export" "mouse_up" "--export" "mouse_wheel" "--export" "on_clipboard_paste" "--export" "on_file_dropped" "--export" "on_files_dropped_finish" "--export" "on_files_dropped_start" "--export" "raw_mouse_move" "--export" "resize" "--export" "touch" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<5 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libcsv-a0a66abba409752e,libryu-bcb26aa50f65bbc8,libitoa-c00a5eb83387cdca,libcsv_core-a56e25deb2ebd5c9,libmemchr-82d6c4455c752777,libserde-3da260acd4ce8f21,libserde_core-81eeb70c4b2e6be4,libmacroquad-71d73f366ba45756,libfontdue-979c1f2127db35f0,libhashbrown-1c629eb99450a059,libfoldhash-6e98285c7e677e53,libequivalent-e75e9a7d273f0189,liballocator_api2-8e8748a307852ab5,libttf_parser-f7891d02a2dd8704,libimage-acb0db58d31eb769,libbytemuck-40e1368c304b85a9,libcolor_quant-8e07a515e6ff48c0,libbyteorder-529cc76400af54b3,libpng-148ec56dd79f174b,libbitflags-15e3d67e03629ffa,libflate2-1ed7451fa99b5da3,libminiz_oxide-add2caca990dcbb8,libfdeflate-1973eda695894699,libsimd_adler32-f60c9d1329d503cc,libcrc32fast-9ee53671ffbc9f44,libnum_traits-3a8e83649fd78d15,libquad_rand-c335779a0f85c006,libglam-1547a7719eb4aa0f,libminiquad-ee8216464762dde6,librand-8c4e0a870b35bf49,librand_chacha-e5f7e1b7681afe4e,libppv_lite86-192d02c173a8dbe7,libzerocopy-be50dee542865eaf,librand_core-cfdd844a6ab41e29,libgetrandom-1722fa58f773c756,libwasi-1720e192b4055643,libcfg_if-dbbbee20ad045a35}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/ejmacroquad-98c2b6800dfb5c6d.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/ejmacroquad-98c2b6800dfb5c6d.ejmacroquad.724512bbd7456143-cgu.2.rcgu.o: undefined symbol: init_webgl [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/ejmacroquad-98c2b6800dfb5c6d.ejmacroquad.724512bbd7456143-cgu.2.rcgu.o: undefined symbol: setup_canvas_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/ejmacroquad-98c2b6800dfb5c6d.ejmacroquad.724512bbd7456143-cgu.2.rcgu.o: undefined symbol: canvas_width [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/ejmacroquad-98c2b6800dfb5c6d.ejmacroquad.724512bbd7456143-cgu.2.rcgu.o: undefined symbol: canvas_height [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/ejmacroquad-98c2b6800dfb5c6d.ejmacroquad.724512bbd7456143-cgu.2.rcgu.o: undefined symbol: dpi_scale [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/ejmacroquad-98c2b6800dfb5c6d.ejmacroquad.724512bbd7456143-cgu.2.rcgu.o: undefined symbol: run_animation_loop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/ejmacroquad-98c2b6800dfb5c6d.ejmacroquad.724512bbd7456143-cgu.2.rcgu.o: undefined symbol: console_log [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-71d73f366ba45756.rlib(macroquad-71d73f366ba45756.macroquad.5c82689269c91d8a-cgu.11.rcgu.o): undefined symbol: glFlush [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-71d73f366ba45756.rlib(macroquad-71d73f366ba45756.macroquad.5c82689269c91d8a-cgu.11.rcgu.o): undefined symbol: glFinish [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-71d73f366ba45756.rlib(macroquad-71d73f366ba45756.macroquad.5c82689269c91d8a-cgu.12.rcgu.o): undefined symbol: glBindTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-71d73f366ba45756.rlib(macroquad-71d73f366ba45756.macroquad.5c82689269c91d8a-cgu.12.rcgu.o): undefined symbol: glCopyTexImage2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-ee8216464762dde6.rlib(miniquad-ee8216464762dde6.miniquad.a46dca1772deceb0-cgu.3.rcgu.o): undefined symbol: glBindBuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-ee8216464762dde6.rlib(miniquad-ee8216464762dde6.miniquad.a46dca1772deceb0-cgu.3.rcgu.o): undefined symbol: glBindBuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-ee8216464762dde6.rlib(miniquad-ee8216464762dde6.miniquad.a46dca1772deceb0-cgu.3.rcgu.o): undefined symbol: glActiveTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-ee8216464762dde6.rlib(miniquad-ee8216464762dde6.miniquad.a46dca1772deceb0-cgu.3.rcgu.o): undefined symbol: glBindTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-ee8216464762dde6.rlib(miniquad-ee8216464762dde6.miniquad.a46dca1772deceb0-cgu.3.rcgu.o): undefined symbol: glDisableVertexAttribArray [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-ee8216464762dde6.rlib(miniquad-ee8216464762dde6.miniquad.a46dca1772deceb0-cgu.3.rcgu.o): undefined symbol: console_error [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-ee8216464762dde6.rlib(miniquad-ee8216464762dde6.miniquad.a46dca1772deceb0-cgu.3.rcgu.o): undefined symbol: console_warn [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-ee8216464762dde6.rlib(miniquad-ee8216464762dde6.miniquad.a46dca1772deceb0-cgu.3.rcgu.o): undefined symbol: console_info [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-ee8216464762dde6.rlib(miniquad-ee8216464762dde6.miniquad.a46dca1772deceb0-cgu.3.rcgu.o): undefined symbol: console_debug [INFO] [stdout] rust-lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ejmacroquad` (bin "ejmacroquad") due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8c62fc2c55c24074b5fa1d010cb14cc69c5b464e45c73994545d178773d0188d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c62fc2c55c24074b5fa1d010cb14cc69c5b464e45c73994545d178773d0188d", kill_on_drop: false }` [INFO] [stdout] 8c62fc2c55c24074b5fa1d010cb14cc69c5b464e45c73994545d178773d0188d