[INFO] fetching crate oxid 0.1.0... [INFO] checking oxid-0.1.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate oxid 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate oxid 0.1.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config [INFO] started tweaking crates.io crate oxid 0.1.0 [INFO] finished tweaking crates.io crate oxid 0.1.0 [INFO] tweaked toml for crates.io crate oxid 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate oxid 0.1.0 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glam v0.10.2 [INFO] [stderr] Downloaded quad-rand v0.1.1 [INFO] [stderr] Downloaded rwasm v0.0.1 [INFO] [stderr] Downloaded rwasm_macro v0.1.0 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 813c26de889b7b66a3588fdaa2f5315920b7bd8828ff23de407e622806d82ef0 [INFO] running `Command { std: "docker" "start" "-a" "813c26de889b7b66a3588fdaa2f5315920b7bd8828ff23de407e622806d82ef0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "813c26de889b7b66a3588fdaa2f5315920b7bd8828ff23de407e622806d82ef0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "813c26de889b7b66a3588fdaa2f5315920b7bd8828ff23de407e622806d82ef0", kill_on_drop: false }` [INFO] [stdout] 813c26de889b7b66a3588fdaa2f5315920b7bd8828ff23de407e622806d82ef0 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48462892478a7c6a46e905cd03b3c470c337e0999937ff3e38ea40b5afcc7bef [INFO] running `Command { std: "docker" "start" "-a" "48462892478a7c6a46e905cd03b3c470c337e0999937ff3e38ea40b5afcc7bef", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking gimli v0.26.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Compiling rwasm_macro v0.1.0 [INFO] [stderr] Checking ttf-parser v0.8.3 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Compiling glam v0.8.7 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Checking quad-rand v0.1.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling glam v0.10.2 [INFO] [stderr] Checking object v0.29.0 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Checking fontdue v0.4.0 [INFO] [stderr] Checking image v0.22.5 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking rwasm v0.0.1 [INFO] [stderr] Checking oxid v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Color`, `DrawMode`, `FilterMode`, `Image`, `Texture2D`, and `colors::*` [INFO] [stdout] --> src/framework/drawing.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | pub use crate::framework::quad_gl::{colors::*, Color, DrawMode, FilterMode, Image, Texture2D}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `glam` found [INFO] [stdout] --> src/framework/drawing.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use glam::Mat4; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libglam-427ae9984c8b8ac7.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-3dd59c2ae212a022.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `glam` found [INFO] [stdout] --> src/framework/shapes.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use glam::{vec2, Vec2}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libglam-427ae9984c8b8ac7.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-3dd59c2ae212a022.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `glam` found [INFO] [stdout] --> src/framework/camera.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use glam::{vec2, vec3, Mat4, Vec2, Vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libglam-427ae9984c8b8ac7.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-3dd59c2ae212a022.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `glam` found [INFO] [stdout] --> src/framework/math.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use glam::*; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libglam-427ae9984c8b8ac7.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-3dd59c2ae212a022.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `glam` found [INFO] [stdout] --> src/framework/models.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use glam::{vec2, vec3, Vec2, Vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libglam-427ae9984c8b8ac7.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-3dd59c2ae212a022.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `glam` found [INFO] [stdout] --> src/framework/text.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use glam::vec2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libglam-427ae9984c8b8ac7.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-3dd59c2ae212a022.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `glam` found [INFO] [stdout] --> src/framework/texture.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use glam::{vec2, Vec2}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libglam-427ae9984c8b8ac7.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-3dd59c2ae212a022.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `glam` found [INFO] [stdout] --> src/framework/mod.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | use glam::{vec2, Vec2}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libglam-427ae9984c8b8ac7.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-3dd59c2ae212a022.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `glam` found [INFO] [stdout] --> src/framework/prelude.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use glam; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libglam-427ae9984c8b8ac7.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-3dd59c2ae212a022.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::framework::math::Rect`, `crate::framework::math::Rect`, `crate::framework::math::Rect` [INFO] [stdout] --> src/framework/camera.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | math::Rect, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/framework/text.rs:4:51 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::framework::{color::Color, get_context, math::Rect}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/framework/texture.rs:4:54 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::framework::{file::load_file, get_context, math::Rect}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/wasm/mod.rs:311:1 [INFO] [stdout] | [INFO] [stdout] 311 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 312 | / extern "C" { [INFO] [stdout] 313 | | pub fn init_opengl(); [INFO] [stdout] 314 | | pub fn canvas_width() -> i32; [INFO] [stdout] 315 | | pub fn canvas_height() -> i32; [INFO] [stdout] ... | [INFO] [stdout] 331 | | pub fn oxid_is_elapsed_timer_supported() -> bool; [INFO] [stdout] 332 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `glam` found [INFO] [stdout] --> src/framework/drawing.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | glam::Mat4::orthographic_rh_gl(0., width, height, 0., -1., 1.) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libglam-427ae9984c8b8ac7.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-3dd59c2ae212a022.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `glam` found [INFO] [stdout] --> src/framework/quad_gl.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn to_vec(&self) -> glam::Vec4 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libglam-427ae9984c8b8ac7.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-3dd59c2ae212a022.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `glam` found [INFO] [stdout] --> src/framework/quad_gl.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | glam::Vec4::new(self.r, self.g, self.b, self.a) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libglam-427ae9984c8b8ac7.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-3dd59c2ae212a022.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `glam` found [INFO] [stdout] --> src/framework/quad_gl.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn from_vec(vec: glam::Vec4) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libglam-427ae9984c8b8ac7.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-3dd59c2ae212a022.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `glam` found [INFO] [stdout] --> src/framework/quad_gl.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | model: glam::Mat4, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libglam-427ae9984c8b8ac7.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-3dd59c2ae212a022.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `glam` found [INFO] [stdout] --> src/framework/quad_gl.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | projection: glam::Mat4, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libglam-427ae9984c8b8ac7.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-3dd59c2ae212a022.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `glam` found [INFO] [stdout] --> src/framework/quad_gl.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 212 | projection: glam::Mat4, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libglam-427ae9984c8b8ac7.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-3dd59c2ae212a022.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `glam` found [INFO] [stdout] --> src/framework/quad_gl.rs:213:16 [INFO] [stdout] | [INFO] [stdout] 213 | model: glam::Mat4, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libglam-427ae9984c8b8ac7.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-3dd59c2ae212a022.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `glam` found [INFO] [stdout] --> src/framework/quad_gl.rs:395:17 [INFO] [stdout] | [INFO] [stdout] 395 | projection: glam::Mat4, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libglam-427ae9984c8b8ac7.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-3dd59c2ae212a022.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `glam` found [INFO] [stdout] --> src/framework/quad_gl.rs:396:22 [INFO] [stdout] | [INFO] [stdout] 396 | model_stack: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libglam-427ae9984c8b8ac7.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-3dd59c2ae212a022.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `glam` found [INFO] [stdout] --> src/framework/quad_gl.rs:406:24 [INFO] [stdout] | [INFO] [stdout] 406 | fn model(&self) -> glam::Mat4 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libglam-427ae9984c8b8ac7.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-3dd59c2ae212a022.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `glam` found [INFO] [stdout] --> src/framework/quad_gl.rs:612:29 [INFO] [stdout] | [INFO] [stdout] 612 | projection: glam::Mat4::identity(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libglam-427ae9984c8b8ac7.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-3dd59c2ae212a022.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `glam` found [INFO] [stdout] --> src/framework/quad_gl.rs:613:35 [INFO] [stdout] | [INFO] [stdout] 613 | model_stack: vec![glam::Mat4::identity()], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libglam-427ae9984c8b8ac7.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-3dd59c2ae212a022.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `glam` found [INFO] [stdout] --> src/framework/quad_gl.rs:663:33 [INFO] [stdout] | [INFO] [stdout] 663 | self.state.projection = glam::Mat4::identity(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libglam-427ae9984c8b8ac7.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-3dd59c2ae212a022.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `glam` found [INFO] [stdout] --> src/framework/quad_gl.rs:664:39 [INFO] [stdout] | [INFO] [stdout] 664 | self.state.model_stack = vec![glam::Mat4::identity()]; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libglam-427ae9984c8b8ac7.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-3dd59c2ae212a022.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `glam` found [INFO] [stdout] --> src/framework/quad_gl.rs:693:20 [INFO] [stdout] | [INFO] [stdout] 693 | let time = glam::vec4(time, time.sin(), time.cos(), 0.); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libglam-427ae9984c8b8ac7.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-3dd59c2ae212a022.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `glam` found [INFO] [stdout] --> src/framework/quad_gl.rs:753:44 [INFO] [stdout] | [INFO] [stdout] 753 | pub fn get_projection_matrix(&self) -> glam::Mat4 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libglam-427ae9984c8b8ac7.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-3dd59c2ae212a022.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `glam` found [INFO] [stdout] --> src/framework/quad_gl.rs:777:53 [INFO] [stdout] | [INFO] [stdout] 777 | pub fn set_projection_matrix(&mut self, matrix: glam::Mat4) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libglam-427ae9984c8b8ac7.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-3dd59c2ae212a022.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `glam` found [INFO] [stdout] --> src/framework/quad_gl.rs:781:49 [INFO] [stdout] | [INFO] [stdout] 781 | pub fn push_model_matrix(&mut self, matrix: glam::Mat4) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libglam-427ae9984c8b8ac7.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-3dd59c2ae212a022.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `glam` found [INFO] [stdout] --> src/framework/quad_gl.rs:1174:25 [INFO] [stdout] | [INFO] [stdout] 1174 | pub projection: glam::Mat4, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libglam-427ae9984c8b8ac7.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-3dd59c2ae212a022.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `glam` found [INFO] [stdout] --> src/framework/quad_gl.rs:1175:20 [INFO] [stdout] | [INFO] [stdout] 1175 | pub model: glam::Mat4, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libglam-427ae9984c8b8ac7.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-3dd59c2ae212a022.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rmeta` dependency `glam` found [INFO] [stdout] --> src/framework/quad_gl.rs:1176:19 [INFO] [stdout] | [INFO] [stdout] 1176 | pub time: glam::Vec4, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libglam-427ae9984c8b8ac7.rmeta [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-3dd59c2ae212a022.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/framework/math.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn point(&self) -> Vec2 { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/framework/math.rs:45:44 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn move_to(&mut self, destination: Vec2) { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/framework/math.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn contains(&self, point: Vec2) -> bool { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/framework/math.rs:75:52 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn polar_to_cartesian(rho: f32, theta: f32) -> Vec2 { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/framework/math.rs:80:38 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn cartesian_to_polar(cartesian: Vec2) -> Vec2 { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/framework/math.rs:80:47 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn cartesian_to_polar(cartesian: Vec2) -> Vec2 { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/vec/mod.rs:397:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color`, `DrawMode`, `FilterMode`, `Image`, `Texture2D`, and `colors::*` [INFO] [stdout] --> src/framework/drawing.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | pub use crate::framework::quad_gl::{colors::*, Color, DrawMode, FilterMode, Image, Texture2D}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/wasm/mod.rs:311:1 [INFO] [stdout] | [INFO] [stdout] 311 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 312 | / extern "C" { [INFO] [stdout] 313 | | pub fn init_opengl(); [INFO] [stdout] 314 | | pub fn canvas_width() -> i32; [INFO] [stdout] 315 | | pub fn canvas_height() -> i32; [INFO] [stdout] ... | [INFO] [stdout] 331 | | pub fn oxid_is_elapsed_timer_supported() -> bool; [INFO] [stdout] 332 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/graphics/mod.rs:1456:17 [INFO] [stdout] | [INFO] [stdout] 1456 | let mut cache = buffer_cache [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/graphics/mod.rs:1487:17 [INFO] [stdout] | [INFO] [stdout] 1487 | let mut buffer_data = &mut buffer_cache [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/graphics/mod.rs:1548:13 [INFO] [stdout] | [INFO] [stdout] 1548 | let mut pipeline = &mut ctx.pipelines[self.0]; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope [INFO] [stdout] --> src/framework/math.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | vec2(self.x, self.y) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope [INFO] [stdout] --> src/framework/math.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | vec2(rho * theta.cos(), rho * theta.sin()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `vec2` in this scope [INFO] [stdout] --> src/framework/math.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | vec2( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/framework/telemetry.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut query = self.queries.get_mut(&name).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `offset` and `size` are never read [INFO] [stdout] --> src/core/graphics/mod.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 313 | pub struct ShaderUniform { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 314 | gl_loc: UniformLocation, [INFO] [stdout] 315 | offset: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 316 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShaderUniform` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Uniforms` is never constructed [INFO] [stdout] --> src/framework/quad_gl.rs:282:16 [INFO] [stdout] | [INFO] [stdout] 282 | pub struct Uniforms {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Uniforms` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/core/mod.rs:246:86 [INFO] [stdout] | [INFO] [stdout] 246 | let title = CString::new(conf.window_title.as_bytes()).unwrap_or_else(|e| panic!(e)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 246 | let title = CString::new(conf.window_title.as_bytes()).unwrap_or_else(|e| panic!("{}", e)); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 246 | let title = CString::new(conf.window_title.as_bytes()).unwrap_or_else(|e| std::panic::panic_any(e)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/core/graphics/mod.rs:8:62 [INFO] [stdout] | [INFO] [stdout] 8 | let cname = CString::new(name).unwrap_or_else(|e| panic!(e)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 8 | let cname = CString::new(name).unwrap_or_else(|e| panic!("{}", e)); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 8 | let cname = CString::new(name).unwrap_or_else(|e| std::panic::panic_any(e)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/core/graphics/mod.rs:1492:71 [INFO] [stdout] | [INFO] [stdout] 1492 | let cname = CString::new(*name).unwrap_or_else(|e| panic!(e)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1492 | let cname = CString::new(*name).unwrap_or_else(|e| panic!("{}", e)); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1492 | let cname = CString::new(*name).unwrap_or_else(|e| std::panic::panic_any(e)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/core/graphics/mod.rs:1525:25 [INFO] [stdout] | [INFO] [stdout] 1525 | / format!( [INFO] [stdout] 1526 | | "attribute: {} outside of allocated attributes array len: {}", [INFO] [stdout] 1527 | | name, [INFO] [stdout] 1528 | | vertex_layout.len() [INFO] [stdout] 1529 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 1525 ~ [INFO] [stdout] 1526 | "attribute: {} outside of allocated attributes array len: {}", [INFO] [stdout] 1527 | name, [INFO] [stdout] 1528 | vertex_layout.len() [INFO] [stdout] 1529 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/graphics/mod.rs:1456:17 [INFO] [stdout] | [INFO] [stdout] 1456 | let mut cache = buffer_cache [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/graphics/mod.rs:1487:17 [INFO] [stdout] | [INFO] [stdout] 1487 | let mut buffer_data = &mut buffer_cache [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/graphics/mod.rs:1548:13 [INFO] [stdout] | [INFO] [stdout] 1548 | let mut pipeline = &mut ctx.pipelines[self.0]; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/framework/telemetry.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut query = self.queries.get_mut(&name).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 41 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0464. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oxid` (lib test) due to 42 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "48462892478a7c6a46e905cd03b3c470c337e0999937ff3e38ea40b5afcc7bef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48462892478a7c6a46e905cd03b3c470c337e0999937ff3e38ea40b5afcc7bef", kill_on_drop: false }` [INFO] [stdout] 48462892478a7c6a46e905cd03b3c470c337e0999937ff3e38ea40b5afcc7bef