[INFO] cloning repository https://github.com/kimgh06/wasm_tutorial_code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kimgh06/wasm_tutorial_code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkimgh06%2Fwasm_tutorial_code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkimgh06%2Fwasm_tutorial_code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cc2165e03e70c3fefbda7764ea0ba112781e1db1 [INFO] checking kimgh06/wasm_tutorial_code/cc2165e03e70c3fefbda7764ea0ba112781e1db1 against master#e0e204f3e97ad5f79524b9c259dc38df606ed82c for pr-149218 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkimgh06%2Fwasm_tutorial_code" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kimgh06/wasm_tutorial_code [INFO] finished tweaking git repo https://github.com/kimgh06/wasm_tutorial_code [INFO] tweaked toml for git repo https://github.com/kimgh06/wasm_tutorial_code written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kimgh06/wasm_tutorial_code on toolchain e0e204f3e97ad5f79524b9c259dc38df606ed82c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e0e204f3e97ad5f79524b9c259dc38df606ed82c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kimgh06/wasm_tutorial_code 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" "+e0e204f3e97ad5f79524b9c259dc38df606ed82c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gltf-derive v0.16.0 [INFO] [stderr] Downloaded tobj v3.2.5 [INFO] [stderr] Downloaded wayland-cursor v0.31.3 [INFO] [stderr] Downloaded ab_glyph v0.2.27 [INFO] [stderr] Downloaded wayland-sys v0.31.2 [INFO] [stderr] Downloaded gltf-json v0.16.0 [INFO] [stderr] Downloaded gltf v0.16.0 [INFO] [stderr] Downloaded wayland-client v0.31.3 [INFO] [stderr] Downloaded owned_ttf_parser v0.21.0 [INFO] [stderr] Downloaded wayland-backend v0.3.4 [INFO] [stderr] Downloaded wayland-scanner v0.31.2 [INFO] [stderr] Downloaded wgpu-hal v0.19.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e0e204f3e97ad5f79524b9c259dc38df606ed82c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99fa34fd4d2ff21b4581abde3121954272a4580e21f1ff048e26ce958549a0d0 [INFO] running `Command { std: "docker" "start" "-a" "99fa34fd4d2ff21b4581abde3121954272a4580e21f1ff048e26ce958549a0d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99fa34fd4d2ff21b4581abde3121954272a4580e21f1ff048e26ce958549a0d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99fa34fd4d2ff21b4581abde3121954272a4580e21f1ff048e26ce958549a0d0", kill_on_drop: false }` [INFO] [stdout] 99fa34fd4d2ff21b4581abde3121954272a4580e21f1ff048e26ce958549a0d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e0e204f3e97ad5f79524b9c259dc38df606ed82c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffea9a46aaceabef829a813c65ffa784fa6adf5b9a5c4103e834ecba8b422725 [INFO] running `Command { std: "docker" "start" "-a" "ffea9a46aaceabef829a813c65ffa784fa6adf5b9a5c4103e834ecba8b422725", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking libloading v0.8.4 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling wayland-client v0.31.3 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling wgpu-hal v0.19.4 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Checking owned_ttf_parser v0.21.0 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking ab_glyph v0.2.27 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling wasm_tutorial v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling wayland-sys v0.31.2 [INFO] [stderr] Compiling wayland-scanner v0.31.2 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking tobj v3.2.5 [INFO] [stderr] Checking cgmath v0.18.0 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Compiling wayland-backend v0.3.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Compiling gltf-derive v0.16.0 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking naga v0.19.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking polling v3.7.2 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking js-sys v0.3.70 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking wayland-cursor v0.31.3 [INFO] [stderr] Checking web-sys v0.3.70 [INFO] [stderr] Checking gltf-json v0.16.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking gltf v0.16.0 [INFO] [stderr] Checking smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking sctk-adwaita v0.8.3 [INFO] [stderr] Checking wgpu-core v0.19.4 [INFO] [stderr] Checking winit v0.29.15 [INFO] [stderr] Checking wgpu v0.19.4 [INFO] [stdout] error[E0255]: the name `Instance` is defined multiple times [INFO] [stdout] --> src/lib.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 7 | use instance::Instance; [INFO] [stdout] | ------------------ previous import of the type `Instance` here [INFO] [stdout] ... [INFO] [stdout] 74 | struct Instance { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `Instance` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Instance` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 7 | use instance::Instance as OtherInstance; [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0255]: the name `Instance` is defined multiple times [INFO] [stdout] --> src/lib.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 7 | use instance::Instance; [INFO] [stdout] | ------------------ previous import of the type `Instance` here [INFO] [stdout] ... [INFO] [stdout] 74 | struct Instance { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `Instance` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Instance` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 7 | use instance::Instance as OtherInstance; [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasm_bindgen` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use wasm_bindgen::JsValue; [INFO] [stdout] | ^^^^^^^^^^^^ help: a similar path exists: `web_sys::wasm_bindgen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/lib.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(feature = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Quaternion` and `Vector3` [INFO] [stdout] --> src/lib.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use cgmath::{prelude::*, Quaternion, Vector3}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instance::Instance` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use instance::Instance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gltf::camera` [INFO] [stdout] --> src/camera.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use gltf::camera; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/camera.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::wasm_bindgen::JsValue` [INFO] [stdout] --> src/camera.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use web_sys::wasm_bindgen::JsValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/lib.rs:192:11 [INFO] [stdout] | [INFO] [stdout] 192 | #[cfg(feature = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/lib.rs:636:15 [INFO] [stdout] | [INFO] [stdout] 636 | #[cfg(feature = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/lib.rs:673:19 [INFO] [stdout] | [INFO] [stdout] 673 | #[cfg(feature = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/lib.rs:933:15 [INFO] [stdout] | [INFO] [stdout] 933 | #[cfg(feature = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasm_bindgen` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use wasm_bindgen::JsValue; [INFO] [stdout] | ^^^^^^^^^^^^ help: a similar path exists: `web_sys::wasm_bindgen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/lib.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(feature = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Quaternion` and `Vector3` [INFO] [stdout] --> src/lib.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use cgmath::{prelude::*, Quaternion, Vector3}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instance::Instance` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use instance::Instance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gltf::camera` [INFO] [stdout] --> src/camera.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use gltf::camera; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/camera.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::wasm_bindgen::JsValue` [INFO] [stdout] --> src/camera.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use web_sys::wasm_bindgen::JsValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/lib.rs:192:11 [INFO] [stdout] | [INFO] [stdout] 192 | #[cfg(feature = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/lib.rs:636:15 [INFO] [stdout] | [INFO] [stdout] 636 | #[cfg(feature = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/lib.rs:673:19 [INFO] [stdout] | [INFO] [stdout] 673 | #[cfg(feature = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `debug` [INFO] [stdout] --> src/lib.rs:933:15 [INFO] [stdout] | [INFO] [stdout] 933 | #[cfg(feature = "debug")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `debug` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `rotate` in initializer of `State<'a>` [INFO] [stdout] --> src/lib.rs:639:12 [INFO] [stdout] | [INFO] [stdout] 639 | Ok(Self { [INFO] [stdout] | ^^^^ missing `rotate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `rotate` in initializer of `State<'a>` [INFO] [stdout] --> src/lib.rs:639:12 [INFO] [stdout] | [INFO] [stdout] 639 | Ok(Self { [INFO] [stdout] | ^^^^ missing `rotate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:823:13 [INFO] [stdout] | [INFO] [stdout] 819 | self.camera_controller.update_camera( [INFO] [stdout] | ------------- arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 823 | &self.instances, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `instance::Instance`, found `Instance` [INFO] [stdout] | [INFO] [stdout] = note: `Instance` and `instance::Instance` have similar names, but are actually distinct types [INFO] [stdout] note: `Instance` is defined in module `crate` of the current crate [INFO] [stdout] --> src/lib.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | struct Instance { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `instance::Instance` is defined in module `crate::instance` of the current crate [INFO] [stdout] --> src/instance.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Instance { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/camera.rs:301:12 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn update_camera( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | instances: &Vec, [INFO] [stdout] | ------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:823:13 [INFO] [stdout] | [INFO] [stdout] 819 | self.camera_controller.update_camera( [INFO] [stdout] | ------------- arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 823 | &self.instances, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `instance::Instance`, found `Instance` [INFO] [stdout] | [INFO] [stdout] = note: `Instance` and `instance::Instance` have similar names, but are actually distinct types [INFO] [stdout] note: `Instance` is defined in module `crate` of the current crate [INFO] [stdout] --> src/lib.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | struct Instance { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `instance::Instance` is defined in module `crate::instance` of the current crate [INFO] [stdout] --> src/instance.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Instance { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/camera.rs:301:12 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn update_camera( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | instances: &Vec, [INFO] [stdout] | ------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_delta_rotation` [INFO] [stdout] --> src/instance.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let y_delta_rotation = Quaternion::from_axis_angle( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_delta_rotation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_delta_rotation` [INFO] [stdout] --> src/instance.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let y_delta_rotation = Quaternion::from_axis_angle( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_delta_rotation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0255, E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0255, E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm_tutorial` (lib) due to 4 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wasm_tutorial` (lib test) due to 4 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ffea9a46aaceabef829a813c65ffa784fa6adf5b9a5c4103e834ecba8b422725", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffea9a46aaceabef829a813c65ffa784fa6adf5b9a5c4103e834ecba8b422725", kill_on_drop: false }` [INFO] [stdout] ffea9a46aaceabef829a813c65ffa784fa6adf5b9a5c4103e834ecba8b422725