[INFO] cloning repository https://github.com/RPG59/RPGFginRs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RPG59/RPGFginRs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRPG59%2FRPGFginRs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRPG59%2FRPGFginRs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 25d1c35b0bbb3b5628b53c08ce2fc1c17566bb96 [INFO] testing RPG59/RPGFginRs against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRPG59%2FRPGFginRs" "/workspace/builds/worker-78/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-78/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RPG59/RPGFginRs on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RPG59/RPGFginRs [INFO] finished tweaking git repo https://github.com/RPG59/RPGFginRs [INFO] tweaked toml for git repo https://github.com/RPG59/RPGFginRs written to /workspace/builds/worker-78/source/Cargo.toml [INFO] crate git repo https://github.com/RPG59/RPGFginRs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4ccabbb999f4c2ad4dbc6f1eddf19f0098dda5a0294897f9a5da9cb9dab28cf [INFO] running `Command { std: "docker" "start" "-a" "f4ccabbb999f4c2ad4dbc6f1eddf19f0098dda5a0294897f9a5da9cb9dab28cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4ccabbb999f4c2ad4dbc6f1eddf19f0098dda5a0294897f9a5da9cb9dab28cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4ccabbb999f4c2ad4dbc6f1eddf19f0098dda5a0294897f9a5da9cb9dab28cf", kill_on_drop: false }` [INFO] [stdout] f4ccabbb999f4c2ad4dbc6f1eddf19f0098dda5a0294897f9a5da9cb9dab28cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8681e04476f97b32d53798276a10a4845f43f4396bd1d89ac9784a1e626ba4ca [INFO] running `Command { std: "docker" "start" "-a" "8681e04476f97b32d53798276a10a4845f43f4396bd1d89ac9784a1e626ba4ca", kill_on_drop: false }` [INFO] [stderr] warning: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.76 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bumpalo v3.7.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling wasm-bindgen v0.2.76 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.76 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.76 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.76 [INFO] [stderr] Compiling js-sys v0.3.53 [INFO] [stderr] Compiling console_error_panic_hook v0.1.6 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.26 [INFO] [stderr] Compiling web-sys v0.3.53 [INFO] [stderr] Compiling hello_world v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/core/EventBus.rs:61:66 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn subscribe(&mut self, eventType: EventType, subscriber: &T) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ObjLoader::LoaderMesh` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ObjLoader::LoaderMesh; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::Document` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use web_sys::Document; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RequestInit`, `RequestMode`, `Request` [INFO] [stdout] --> src/lib.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use web_sys::{console, Request, RequestInit, RequestMode, Response}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WebGlProgram`, `WebGlShader`, `WebGlUniformLocation` [INFO] [stdout] --> src/lib.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | use web_sys::{HtmlCanvasElement, WebGlProgram, WebGlShader, WebGlUniformLocation}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `net::Incoming` [INFO] [stdout] --> src/ObjLoader.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{net::Incoming, str::SplitWhitespace}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/core/EngineCore.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebGlUniformLocation` [INFO] [stdout] --> src/core/Shader.rs:4:66 [INFO] [stdout] | [INFO] [stdout] 4 | use web_sys::{WebGl2RenderingContext, WebGlProgram, WebGlShader, WebGlUniformLocation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/core/Shader.rs:22:52 [INFO] [stdout] | [INFO] [stdout] 22 | let data = fs::read_to_string(path).expect(("ERROR: [get_shader_source]: ")); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - let data = fs::read_to_string(path).expect(("ERROR: [get_shader_source]: ")); [INFO] [stdout] 22 + let data = fs::read_to_string(path).expect("ERROR: [get_shader_source]: "); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `float4x4` should have an upper camel case name [INFO] [stdout] --> src/core/Types.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub type float4x4 = Matrix4; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Float4x4` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `float3x3` should have an upper camel case name [INFO] [stdout] --> src/core/Types.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type float3x3 = Matrix3; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Float3x3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `float4` should have an upper camel case name [INFO] [stdout] --> src/core/Types.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type float4 = Vector4; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Float4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `float3` should have an upper camel case name [INFO] [stdout] --> src/core/Types.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type float3 = Vector3; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Float3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `qut` should have an upper camel case name [INFO] [stdout] --> src/core/Types.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type qut = Quaternion; [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Qut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::EngineCore::EngineCore` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::core::EngineCore::EngineCore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Canvas_size` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | struct Canvas_size { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CanvasSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `foo_bar` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 221 | struct foo_bar { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `FooBar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/lib.rs:318:8 [INFO] [stdout] | [INFO] [stdout] 318 | Ok((JsValue::from_str(data))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 318 - Ok((JsValue::from_str(data))) [INFO] [stdout] 318 + Ok(JsValue::from_str(data)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/EventBus.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn publish(&self, event: &Event) { [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 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 - pub fn publish(&self, event: &Event) { [INFO] [stdout] 69 + pub fn publish(&self, event: &dyn Event) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn ISubscriber + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/core/EventBus.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | subscribers: std::collections::HashMap> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn ISubscriber + 'static)` [INFO] [stdout] note: required by a bound in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello_world` due to 3 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8681e04476f97b32d53798276a10a4845f43f4396bd1d89ac9784a1e626ba4ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8681e04476f97b32d53798276a10a4845f43f4396bd1d89ac9784a1e626ba4ca", kill_on_drop: false }` [INFO] [stdout] 8681e04476f97b32d53798276a10a4845f43f4396bd1d89ac9784a1e626ba4ca