[INFO] fetching crate niko 0.1.8... [INFO] building niko-0.1.8 against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] extracting crate niko 0.1.8 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate niko 0.1.8 on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate niko 0.1.8 [INFO] finished tweaking crates.io crate niko 0.1.8 [INFO] tweaked toml for crates.io crate niko 0.1.8 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b509049a2bc5384691ea38f80387754b11cdf74f0eeba7d07b8f1807c33c7438 [INFO] running `Command { std: "docker" "start" "-a" "b509049a2bc5384691ea38f80387754b11cdf74f0eeba7d07b8f1807c33c7438", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b509049a2bc5384691ea38f80387754b11cdf74f0eeba7d07b8f1807c33c7438", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b509049a2bc5384691ea38f80387754b11cdf74f0eeba7d07b8f1807c33c7438", kill_on_drop: false }` [INFO] [stdout] b509049a2bc5384691ea38f80387754b11cdf74f0eeba7d07b8f1807c33c7438 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb38ab8f4f41307bbc3f1707d9eef676320aab2600a3c58382cd25c15663deb0 [INFO] running `Command { std: "docker" "start" "-a" "eb38ab8f4f41307bbc3f1707d9eef676320aab2600a3c58382cd25c15663deb0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.80 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.10.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.80 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling glow v0.5.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.80 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.80 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.80 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling js-sys v0.3.57 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling web-sys v0.3.57 [INFO] [stderr] Compiling niko v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `check_error` [INFO] [stdout] --> src/graphics/shader.rs:1:55 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Error, NikoError, graphics::{ShaderError, check_error, ShaderId, ProgramId}}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebGl2RenderingContext` [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | WebGl2RenderingContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glow::Context as GlowContext` [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use glow::Context as GlowContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glow::HasContext` [INFO] [stdout] --> src/images.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use glow::HasContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canvas` [INFO] [stdout] --> src/lib.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | fn create_context(canvas: web_sys::HtmlCanvasElement) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_canvas` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/images.rs:89:45 [INFO] [stdout] | [INFO] [stdout] 89 | pub(crate) fn finish_loading(&mut self, id: u32, gl: &glow::Context) -> Result<(), Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gl` [INFO] [stdout] --> src/images.rs:89:54 [INFO] [stdout] | [INFO] [stdout] 89 | pub(crate) fn finish_loading(&mut self, id: u32, gl: &glow::Context) -> Result<(), Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidEnum` [INFO] [stdout] --> src/graphics/check_error.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | InvalidEnum, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `WebGLError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/graphics/check_error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidValue` [INFO] [stdout] --> src/graphics/check_error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | InvalidValue, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WebGLError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/graphics/check_error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidOperation` [INFO] [stdout] --> src/graphics/check_error.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | InvalidOperation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WebGLError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/graphics/check_error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidFramebufferOperation` [INFO] [stdout] --> src/graphics/check_error.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | InvalidFramebufferOperation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WebGLError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/graphics/check_error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OutOfMemory` [INFO] [stdout] --> src/graphics/check_error.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | OutOfMemory, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WebGLError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/graphics/check_error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ContextLost` [INFO] [stdout] --> src/graphics/check_error.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | ContextLost, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WebGLError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/graphics/check_error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unknown` [INFO] [stdout] --> src/graphics/check_error.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WebGLError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/graphics/check_error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_error` [INFO] [stdout] --> src/graphics/check_error.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn check_error(gl: &Context) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.31s [INFO] running `Command { std: "docker" "inspect" "eb38ab8f4f41307bbc3f1707d9eef676320aab2600a3c58382cd25c15663deb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb38ab8f4f41307bbc3f1707d9eef676320aab2600a3c58382cd25c15663deb0", kill_on_drop: false }` [INFO] [stdout] eb38ab8f4f41307bbc3f1707d9eef676320aab2600a3c58382cd25c15663deb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d782066aef5efbe3bff8dc7248a604ed493efb45f9fb24189dd4394407c2f600 [INFO] running `Command { std: "docker" "start" "-a" "d782066aef5efbe3bff8dc7248a604ed493efb45f9fb24189dd4394407c2f600", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: unused import: `check_error` [INFO] [stdout] --> src/graphics/shader.rs:1:55 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Error, NikoError, graphics::{ShaderError, check_error, ShaderId, ProgramId}}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebGl2RenderingContext` [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | WebGl2RenderingContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glow::Context as GlowContext` [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use glow::Context as GlowContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glow::HasContext` [INFO] [stdout] --> src/images.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use glow::HasContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canvas` [INFO] [stdout] --> src/lib.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | fn create_context(canvas: web_sys::HtmlCanvasElement) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_canvas` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/images.rs:89:45 [INFO] [stdout] | [INFO] [stdout] 89 | pub(crate) fn finish_loading(&mut self, id: u32, gl: &glow::Context) -> Result<(), Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gl` [INFO] [stdout] --> src/images.rs:89:54 [INFO] [stdout] | [INFO] [stdout] 89 | pub(crate) fn finish_loading(&mut self, id: u32, gl: &glow::Context) -> Result<(), Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidEnum` [INFO] [stdout] --> src/graphics/check_error.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | InvalidEnum, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `WebGLError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/graphics/check_error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidValue` [INFO] [stdout] --> src/graphics/check_error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | InvalidValue, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WebGLError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/graphics/check_error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidOperation` [INFO] [stdout] --> src/graphics/check_error.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | InvalidOperation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WebGLError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/graphics/check_error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidFramebufferOperation` [INFO] [stdout] --> src/graphics/check_error.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | InvalidFramebufferOperation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WebGLError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/graphics/check_error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OutOfMemory` [INFO] [stdout] --> src/graphics/check_error.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | OutOfMemory, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WebGLError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/graphics/check_error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ContextLost` [INFO] [stdout] --> src/graphics/check_error.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | ContextLost, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WebGLError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/graphics/check_error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unknown` [INFO] [stdout] --> src/graphics/check_error.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WebGLError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/graphics/check_error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_error` [INFO] [stdout] --> src/graphics/check_error.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn check_error(gl: &Context) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling niko v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `check_error` [INFO] [stdout] --> src/graphics/shader.rs:1:55 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Error, NikoError, graphics::{ShaderError, check_error, ShaderId, ProgramId}}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebGl2RenderingContext` [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | WebGl2RenderingContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glow::Context as GlowContext` [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use glow::Context as GlowContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glow::HasContext` [INFO] [stdout] --> src/images.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use glow::HasContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canvas` [INFO] [stdout] --> src/lib.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | fn create_context(canvas: web_sys::HtmlCanvasElement) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_canvas` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/images.rs:89:45 [INFO] [stdout] | [INFO] [stdout] 89 | pub(crate) fn finish_loading(&mut self, id: u32, gl: &glow::Context) -> Result<(), Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gl` [INFO] [stdout] --> src/images.rs:89:54 [INFO] [stdout] | [INFO] [stdout] 89 | pub(crate) fn finish_loading(&mut self, id: u32, gl: &glow::Context) -> Result<(), Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidEnum` [INFO] [stdout] --> src/graphics/check_error.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | InvalidEnum, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `WebGLError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/graphics/check_error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidValue` [INFO] [stdout] --> src/graphics/check_error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | InvalidValue, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WebGLError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/graphics/check_error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidOperation` [INFO] [stdout] --> src/graphics/check_error.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | InvalidOperation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WebGLError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/graphics/check_error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidFramebufferOperation` [INFO] [stdout] --> src/graphics/check_error.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | InvalidFramebufferOperation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WebGLError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/graphics/check_error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OutOfMemory` [INFO] [stdout] --> src/graphics/check_error.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | OutOfMemory, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WebGLError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/graphics/check_error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ContextLost` [INFO] [stdout] --> src/graphics/check_error.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | ContextLost, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WebGLError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/graphics/check_error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unknown` [INFO] [stdout] --> src/graphics/check_error.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WebGLError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/graphics/check_error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_error` [INFO] [stdout] --> src/graphics/check_error.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn check_error(gl: &Context) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.87s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/niko-77c010bdf032cf3b) [INFO] running `Command { std: "docker" "inspect" "d782066aef5efbe3bff8dc7248a604ed493efb45f9fb24189dd4394407c2f600", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d782066aef5efbe3bff8dc7248a604ed493efb45f9fb24189dd4394407c2f600", kill_on_drop: false }` [INFO] [stdout] d782066aef5efbe3bff8dc7248a604ed493efb45f9fb24189dd4394407c2f600