[INFO] fetching crate oxid 0.1.0... [INFO] testing oxid-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate oxid 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] removed /workspace/builds/worker-7-tc2/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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate oxid 0.1.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ef72577a345190a597501d2fe9aefe522017ff1f4dcc8faa387101863fbbb28 [INFO] running `Command { std: "docker" "start" "-a" "1ef72577a345190a597501d2fe9aefe522017ff1f4dcc8faa387101863fbbb28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ef72577a345190a597501d2fe9aefe522017ff1f4dcc8faa387101863fbbb28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ef72577a345190a597501d2fe9aefe522017ff1f4dcc8faa387101863fbbb28", kill_on_drop: false }` [INFO] [stdout] 1ef72577a345190a597501d2fe9aefe522017ff1f4dcc8faa387101863fbbb28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4fb27b2aaf104311b80515cb4c83fb04362b1ba64a0d89ad0b51586a97b6308 [INFO] running `Command { std: "docker" "start" "-a" "a4fb27b2aaf104311b80515cb4c83fb04362b1ba64a0d89ad0b51586a97b6308", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling glam v0.10.2 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling ttf-parser v0.8.3 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling rwasm_macro v0.1.0 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling quad-rand v0.1.1 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling fontdue v0.4.0 [INFO] [stderr] Compiling image v0.22.5 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling rwasm v0.0.1 [INFO] [stderr] Compiling 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] 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] 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] [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| panic!(e)); [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| panic!(e)); [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| panic!(e)); [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: creating a mutable reference to mutable static [INFO] [stdout] --> src/wasm/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | / OXID_CONTEXT [INFO] [stdout] 23 | | .as_mut() [INFO] [stdout] | |_____________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wasm/mod.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | OXID_CONTEXT.as_mut().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/framework/mod.rs:170:14 [INFO] [stdout] | [INFO] [stdout] 170 | unsafe { CONTEXT.as_mut().unwrap_or_else(|| panic!()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/framework/mod.rs:239:44 [INFO] [stdout] | [INFO] [stdout] 239 | if let Some(future) = unsafe { MAIN_FUTURE.as_mut() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/framework/collections/storage.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | if STORAGE.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/framework/collections/storage.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / STORAGE [INFO] [stdout] 37 | | .as_mut() [INFO] [stdout] | |_____________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/framework/collections/storage.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | if STORAGE.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/framework/collections/storage.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | STORAGE.as_mut().unwrap().get(&TypeId::of::()).as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/framework/collections/storage.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | if STORAGE.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/framework/collections/storage.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | STORAGE.as_mut().unwrap().get(&TypeId::of::()).as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/framework/telemetry.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | / PROFILER.get_or_insert_with(|| Profiler { [INFO] [stdout] 9 | | frame: Frame::new(), [INFO] [stdout] 10 | | queries: HashMap::new(), [INFO] [stdout] 11 | | active_query: None, [INFO] [stdout] ... | [INFO] [stdout] 14 | | enable_request: None, [INFO] [stdout] 15 | | }) [INFO] [stdout] | |__________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.04s [INFO] running `Command { std: "docker" "inspect" "a4fb27b2aaf104311b80515cb4c83fb04362b1ba64a0d89ad0b51586a97b6308", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4fb27b2aaf104311b80515cb4c83fb04362b1ba64a0d89ad0b51586a97b6308", kill_on_drop: false }` [INFO] [stdout] a4fb27b2aaf104311b80515cb4c83fb04362b1ba64a0d89ad0b51586a97b6308 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 360f1d5832f46d0fbd0f7dc2de66597de80e7f3ab6b109f438b64758e9f408b3 [INFO] running `Command { std: "docker" "start" "-a" "360f1d5832f46d0fbd0f7dc2de66597de80e7f3ab6b109f438b64758e9f408b3", kill_on_drop: false }` [INFO] [stderr] Compiling glam v0.8.7 [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] 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] [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| panic!(e)); [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| panic!(e)); [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| panic!(e)); [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: creating a mutable reference to mutable static [INFO] [stdout] --> src/wasm/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | / OXID_CONTEXT [INFO] [stdout] 23 | | .as_mut() [INFO] [stdout] | |_____________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wasm/mod.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | OXID_CONTEXT.as_mut().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/framework/mod.rs:170:14 [INFO] [stdout] | [INFO] [stdout] 170 | unsafe { CONTEXT.as_mut().unwrap_or_else(|| panic!()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/framework/mod.rs:239:44 [INFO] [stdout] | [INFO] [stdout] 239 | if let Some(future) = unsafe { MAIN_FUTURE.as_mut() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/framework/collections/storage.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | if STORAGE.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/framework/collections/storage.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / STORAGE [INFO] [stdout] 37 | | .as_mut() [INFO] [stdout] | |_____________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/framework/collections/storage.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | if STORAGE.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/framework/collections/storage.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | STORAGE.as_mut().unwrap().get(&TypeId::of::()).as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/framework/collections/storage.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | if STORAGE.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/framework/collections/storage.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | STORAGE.as_mut().unwrap().get(&TypeId::of::()).as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/framework/telemetry.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | / PROFILER.get_or_insert_with(|| Profiler { [INFO] [stdout] 9 | | frame: Frame::new(), [INFO] [stdout] 10 | | queries: HashMap::new(), [INFO] [stdout] 11 | | active_query: None, [INFO] [stdout] ... | [INFO] [stdout] 14 | | enable_request: None, [INFO] [stdout] 15 | | }) [INFO] [stdout] | |__________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling oxid v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0464]: multiple candidates for `rlib` 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-1ade978c2d6febe8.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-998f6150014159b9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rlib` 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-1ade978c2d6febe8.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-998f6150014159b9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rlib` 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-1ade978c2d6febe8.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-998f6150014159b9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rlib` 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-1ade978c2d6febe8.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-998f6150014159b9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rlib` 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-1ade978c2d6febe8.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-998f6150014159b9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rlib` 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-1ade978c2d6febe8.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-998f6150014159b9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rlib` 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-1ade978c2d6febe8.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-998f6150014159b9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rlib` 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-1ade978c2d6febe8.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-998f6150014159b9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rlib` 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-1ade978c2d6febe8.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-998f6150014159b9.rlib [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] error[E0464]: multiple candidates for `rlib` 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-1ade978c2d6febe8.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-998f6150014159b9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rlib` 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-1ade978c2d6febe8.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-998f6150014159b9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rlib` 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-1ade978c2d6febe8.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-998f6150014159b9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rlib` 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-1ade978c2d6febe8.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-998f6150014159b9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rlib` 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-1ade978c2d6febe8.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-998f6150014159b9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rlib` 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-1ade978c2d6febe8.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-998f6150014159b9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rlib` 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-1ade978c2d6febe8.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-998f6150014159b9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rlib` 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-1ade978c2d6febe8.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-998f6150014159b9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rlib` 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-1ade978c2d6febe8.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-998f6150014159b9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rlib` 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-1ade978c2d6febe8.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-998f6150014159b9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rlib` 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-1ade978c2d6febe8.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-998f6150014159b9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rlib` 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-1ade978c2d6febe8.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-998f6150014159b9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rlib` 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-1ade978c2d6febe8.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-998f6150014159b9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rlib` 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-1ade978c2d6febe8.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-998f6150014159b9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rlib` 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-1ade978c2d6febe8.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-998f6150014159b9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rlib` 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-1ade978c2d6febe8.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-998f6150014159b9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rlib` 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-1ade978c2d6febe8.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-998f6150014159b9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rlib` 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-1ade978c2d6febe8.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-998f6150014159b9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rlib` 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-1ade978c2d6febe8.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-998f6150014159b9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rlib` 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-1ade978c2d6febe8.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-998f6150014159b9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rlib` 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-1ade978c2d6febe8.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-998f6150014159b9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0464]: multiple candidates for `rlib` 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-1ade978c2d6febe8.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libglam-998f6150014159b9.rlib [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/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/vec/mod.rs:434: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/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/vec/mod.rs:434: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/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/vec/mod.rs:434: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/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/vec/mod.rs:434: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/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/vec/mod.rs:434: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/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/vec/mod.rs:434:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `Vec` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustc1OyeOn/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{liboxid-56bf36c3ab7ce91b,libfontdue-5c903e7c7e4a0966,libttf_parser-27880ac02ddeaca4,libhashbrown-89ad53921f5f6b12,libahash-fb26872b61c1eb02,libimage-7686314f868e0b5e,libpng-61cd959053a2f984,libdeflate-7fdcc7a7f89b3782,libinflate-c69cb21a6df21e8b,libadler32-884c7c82211a01d9,libcrc32fast-6bd2f9a022460d01,libbitflags-e2b4db6c651223da,libnum_rational-3c29d91f551e5818,libnum_iter-7d609eca46be6739,libnum_integer-2007e1a71e3cc632,libnum_traits-13175fd345195611,libbyteorder-379f547b04d51d02,libquad_rand-a5478cc492801bd5,libglam-1ade978c2d6febe8,librwasm-b81792765f054e76,libbacktrace-4998318553eb3df6,libminiz_oxide-8483c9dc36b23d7e,libadler-f4caa73e14204bdd,libobject-fe5ca33c72058cc2,libmemchr-4db6d1834aa19479,liblibc-f5ca323bc60be918,libaddr2line-80c902d98185bedc,libgimli-991155cd8bee0d9d,libcfg_if-33ef6c02a07f9fec,librustc_demangle-75d535d2d5742005,libonce_cell-f44eb74a989470dd}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lc" "-lm" "-lrt" "-lpthread" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustc1OyeOn/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/basic_shapes-63ad752c0383d0ce" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: glPixelStorei [INFO] [stdout] >>> referenced by texture.rs:278 (src/core/graphics/texture.rs:278) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.04.rcgu.o:(oxid::core::graphics::texture::Texture::update_texture_part::hd7388c06559a97c2) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] >>> referenced by texture.rs:153 (src/core/graphics/texture.rs:153) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.04.rcgu.o:(oxid::core::graphics::texture::Texture::new::h694b8323562453a7) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: glTexSubImage2D [INFO] [stdout] >>> referenced by texture.rs:279 (src/core/graphics/texture.rs:279) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.04.rcgu.o:(oxid::core::graphics::texture::Texture::update_texture_part::hd7388c06559a97c2) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: glGenTextures [INFO] [stdout] >>> referenced by texture.rs:151 (src/core/graphics/texture.rs:151) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.04.rcgu.o:(oxid::core::graphics::texture::Texture::new::h694b8323562453a7) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: glTexImage2D [INFO] [stdout] >>> referenced by texture.rs:154 (src/core/graphics/texture.rs:154) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.04.rcgu.o:(oxid::core::graphics::texture::Texture::new::h694b8323562453a7) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: glTexParameteri [INFO] [stdout] >>> referenced by texture.rs:169 (src/core/graphics/texture.rs:169) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.04.rcgu.o:(oxid::core::graphics::texture::Texture::new::h694b8323562453a7) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] >>> referenced by texture.rs:170 (src/core/graphics/texture.rs:170) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.04.rcgu.o:(oxid::core::graphics::texture::Texture::new::h694b8323562453a7) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] >>> referenced by texture.rs:171 (src/core/graphics/texture.rs:171) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.04.rcgu.o:(oxid::core::graphics::texture::Texture::new::h694b8323562453a7) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] >>> referenced 1 more times [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: glCreateProgram [INFO] [stdout] >>> referenced by mod.rs:1104 (src/core/graphics/mod.rs:1104) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.03.rcgu.o:(oxid::core::graphics::load_shader_internal::h0a934e32e6aead2f) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: glAttachShader [INFO] [stdout] >>> referenced by mod.rs:1105 (src/core/graphics/mod.rs:1105) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.03.rcgu.o:(oxid::core::graphics::load_shader_internal::h0a934e32e6aead2f) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] >>> referenced by mod.rs:1106 (src/core/graphics/mod.rs:1106) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.03.rcgu.o:(oxid::core::graphics::load_shader_internal::h0a934e32e6aead2f) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: glLinkProgram [INFO] [stdout] >>> referenced by mod.rs:1107 (src/core/graphics/mod.rs:1107) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.03.rcgu.o:(oxid::core::graphics::load_shader_internal::h0a934e32e6aead2f) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: glGetProgramiv [INFO] [stdout] >>> referenced by mod.rs:1110 (src/core/graphics/mod.rs:1110) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.03.rcgu.o:(oxid::core::graphics::load_shader_internal::h0a934e32e6aead2f) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] >>> referenced by mod.rs:1113 (src/core/graphics/mod.rs:1113) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.03.rcgu.o:(oxid::core::graphics::load_shader_internal::h0a934e32e6aead2f) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: glUseProgram [INFO] [stdout] >>> referenced by mod.rs:1128 (src/core/graphics/mod.rs:1128) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.03.rcgu.o:(oxid::core::graphics::load_shader_internal::h0a934e32e6aead2f) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] >>> referenced by mod.rs:686 (src/core/graphics/mod.rs:686) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.03.rcgu.o:(oxid::core::graphics::Context::apply_pipeline::h989059d6cf26fb53) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: glGetProgramInfoLog [INFO] [stdout] >>> referenced by mod.rs:1116 (src/core/graphics/mod.rs:1116) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.03.rcgu.o:(oxid::core::graphics::load_shader_internal::h0a934e32e6aead2f) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: glDisable [INFO] [stdout] >>> referenced by mod.rs:731 (src/core/graphics/mod.rs:731) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.03.rcgu.o:(oxid::core::graphics::Context::set_cull_face::h0bca4ffcc313b43e) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] >>> referenced by mod.rs:840 (src/core/graphics/mod.rs:840) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.03.rcgu.o:(oxid::core::graphics::Context::set_stencil::h48f6a0c5beff6a93) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] >>> referenced by mod.rs:792 (src/core/graphics/mod.rs:792) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.03.rcgu.o:(oxid::core::graphics::Context::set_blend::h9e5b0a2e91106d50) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] >>> referenced 1 more times [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: glEnable [INFO] [stdout] >>> referenced by mod.rs:734 (src/core/graphics/mod.rs:734) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.03.rcgu.o:(oxid::core::graphics::Context::set_cull_face::h0bca4ffcc313b43e) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] >>> referenced by mod.rs:738 (src/core/graphics/mod.rs:738) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.03.rcgu.o:(oxid::core::graphics::Context::set_cull_face::h0bca4ffcc313b43e) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] >>> referenced by mod.rs:807 (src/core/graphics/mod.rs:807) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.03.rcgu.o:(oxid::core::graphics::Context::set_stencil::h48f6a0c5beff6a93) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] >>> referenced 3 more times [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: glCullFace [INFO] [stdout] >>> referenced by mod.rs:735 (src/core/graphics/mod.rs:735) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.03.rcgu.o:(oxid::core::graphics::Context::set_cull_face::h0bca4ffcc313b43e) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] >>> referenced by mod.rs:739 (src/core/graphics/mod.rs:739) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.03.rcgu.o:(oxid::core::graphics::Context::set_cull_face::h0bca4ffcc313b43e) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: glGetUniformLocation [INFO] [stdout] >>> referenced by mod.rs:9 (src/core/graphics/mod.rs:9) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.03.rcgu.o:(oxid::core::graphics::get_uniform_location::hd10cbd0dddb44c13) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: glGenQueries [INFO] [stdout] >>> referenced by mod.rs:1789 (src/core/graphics/mod.rs:1789) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.03.rcgu.o:(oxid::core::graphics::ElapsedQuery::begin_query::h114a447023dc2c38) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: glBeginQuery [INFO] [stdout] >>> referenced by mod.rs:1791 (src/core/graphics/mod.rs:1791) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.03.rcgu.o:(oxid::core::graphics::ElapsedQuery::begin_query::h114a447023dc2c38) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: glScissor [INFO] [stdout] >>> referenced by mod.rs:859 (src/core/graphics/mod.rs:859) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.03.rcgu.o:(oxid::core::graphics::Context::apply_scissor_rect::hef6c7de65be9410d) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] >>> referenced by mod.rs:1042 (src/core/graphics/mod.rs:1042) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.03.rcgu.o:(oxid::core::graphics::Context::begin_pass::hb9152139c8ca76c1) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] >>> referenced by mod.rs:1042 (src/core/graphics/mod.rs:1042) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.03.rcgu.o:(oxid::core::graphics::Context::begin_pass::he6153f2b71541c44) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: glBindFramebuffer [INFO] [stdout] >>> referenced by mod.rs:1040 (src/core/graphics/mod.rs:1040) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.03.rcgu.o:(oxid::core::graphics::Context::begin_pass::hb9152139c8ca76c1) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] >>> referenced by mod.rs:1040 (src/core/graphics/mod.rs:1040) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.03.rcgu.o:(oxid::core::graphics::Context::begin_pass::he6153f2b71541c44) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] >>> referenced by mod.rs:566 (src/core/graphics/mod.rs:566) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.03.rcgu.o:(oxid::core::graphics::RenderPass::new::h6a3240ddc9569272) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] >>> referenced 2 more times [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: glViewport [INFO] [stdout] >>> referenced by mod.rs:1041 (src/core/graphics/mod.rs:1041) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.03.rcgu.o:(oxid::core::graphics::Context::begin_pass::hb9152139c8ca76c1) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] >>> referenced by mod.rs:1041 (src/core/graphics/mod.rs:1041) [INFO] [stdout] >>> oxid-56bf36c3ab7ce91b.oxid.b626f9f9cb68eb1b-cgu.03.rcgu.o:(oxid::core::graphics::Context::begin_pass::he6153f2b71541c44) in archive /opt/rustwide/target/debug/deps/liboxid-56bf36c3ab7ce91b.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors) [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [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] [stderr] error: could not compile `oxid` (example "basic_shapes") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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[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/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: 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] Some errors have detailed explanations: E0412, E0425, E0432, E0464. [INFO] [stdout] [INFO] [stderr] error: could not compile `oxid` (lib test) due to 41 previous errors; 6 warnings emitted [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "360f1d5832f46d0fbd0f7dc2de66597de80e7f3ab6b109f438b64758e9f408b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "360f1d5832f46d0fbd0f7dc2de66597de80e7f3ab6b109f438b64758e9f408b3", kill_on_drop: false }` [INFO] [stdout] 360f1d5832f46d0fbd0f7dc2de66597de80e7f3ab6b109f438b64758e9f408b3