[INFO] fetching crate niko 0.1.8... [INFO] testing niko-0.1.8 against 1.60.0 for beta-1.61-1 [INFO] extracting crate niko 0.1.8 into /workspace/builds/worker-18/source [INFO] validating manifest of crates.io crate niko 0.1.8 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking 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-18/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glow v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b33ba25038ec13fccf6c80c458951c50e27a9b5b89d96e26d1899fc642e56b3 [INFO] running `Command { std: "docker" "start" "-a" "8b33ba25038ec13fccf6c80c458951c50e27a9b5b89d96e26d1899fc642e56b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b33ba25038ec13fccf6c80c458951c50e27a9b5b89d96e26d1899fc642e56b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b33ba25038ec13fccf6c80c458951c50e27a9b5b89d96e26d1899fc642e56b3", kill_on_drop: false }` [INFO] [stdout] 8b33ba25038ec13fccf6c80c458951c50e27a9b5b89d96e26d1899fc642e56b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60ffdf3c4aa988885147f708e3a42079d09c265c13c134aa91dd4d952d41c61e [INFO] running `Command { std: "docker" "start" "-a" "60ffdf3c4aa988885147f708e3a42079d09c265c13c134aa91dd4d952d41c61e", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.80 [INFO] [stderr] Compiling bumpalo v3.9.1 [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 gl_generator v0.14.0 [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.30 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.80 [INFO] [stderr] Compiling thiserror v1.0.30 [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 20.89s [INFO] running `Command { std: "docker" "inspect" "60ffdf3c4aa988885147f708e3a42079d09c265c13c134aa91dd4d952d41c61e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60ffdf3c4aa988885147f708e3a42079d09c265c13c134aa91dd4d952d41c61e", kill_on_drop: false }` [INFO] [stdout] 60ffdf3c4aa988885147f708e3a42079d09c265c13c134aa91dd4d952d41c61e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50cd71ab8c6b882a0afb6d0dc16543f36ec7ce21b54460a459385c1c19a5432a [INFO] running `Command { std: "docker" "start" "-a" "50cd71ab8c6b882a0afb6d0dc16543f36ec7ce21b54460a459385c1c19a5432a", kill_on_drop: false }` [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] [stderr] Compiling niko v0.1.8 (/opt/rustwide/workdir) [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] [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 0.75s [INFO] running `Command { std: "docker" "inspect" "50cd71ab8c6b882a0afb6d0dc16543f36ec7ce21b54460a459385c1c19a5432a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50cd71ab8c6b882a0afb6d0dc16543f36ec7ce21b54460a459385c1c19a5432a", kill_on_drop: false }` [INFO] [stdout] 50cd71ab8c6b882a0afb6d0dc16543f36ec7ce21b54460a459385c1c19a5432a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 048db8e295ca65f8e2e7453a32b156cbc20476384bbddc83b92328a6a822704a [INFO] running `Command { std: "docker" "start" "-a" "048db8e295ca65f8e2e7453a32b156cbc20476384bbddc83b92328a6a822704a", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `check_error` [INFO] [stderr] --> src/graphics/shader.rs:1:55 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{Error, NikoError, graphics::{ShaderError, check_error, ShaderId, ProgramId}}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `WebGl2RenderingContext` [INFO] [stderr] --> src/lib.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | WebGl2RenderingContext, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `glow::Context as GlowContext` [INFO] [stderr] --> src/lib.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | use glow::Context as GlowContext; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `glow::HasContext` [INFO] [stderr] --> src/images.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use glow::HasContext; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `canvas` [INFO] [stderr] --> src/lib.rs:71:19 [INFO] [stderr] | [INFO] [stderr] 71 | fn create_context(canvas: web_sys::HtmlCanvasElement) -> Result { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_canvas` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/images.rs:89:45 [INFO] [stderr] | [INFO] [stderr] 89 | pub(crate) fn finish_loading(&mut self, id: u32, gl: &glow::Context) -> Result<(), Error> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `gl` [INFO] [stderr] --> src/images.rs:89:54 [INFO] [stderr] | [INFO] [stderr] 89 | pub(crate) fn finish_loading(&mut self, id: u32, gl: &glow::Context) -> Result<(), Error> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_gl` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InvalidEnum` [INFO] [stderr] --> src/graphics/check_error.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | InvalidEnum, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `WebGLError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/graphics/check_error.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, Error)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InvalidValue` [INFO] [stderr] --> src/graphics/check_error.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | InvalidValue, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `WebGLError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/graphics/check_error.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, Error)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InvalidOperation` [INFO] [stderr] --> src/graphics/check_error.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | InvalidOperation, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `WebGLError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/graphics/check_error.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, Error)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InvalidFramebufferOperation` [INFO] [stderr] --> src/graphics/check_error.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | InvalidFramebufferOperation, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `WebGLError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/graphics/check_error.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, Error)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `OutOfMemory` [INFO] [stderr] --> src/graphics/check_error.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | OutOfMemory, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `WebGLError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/graphics/check_error.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, Error)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ContextLost` [INFO] [stderr] --> src/graphics/check_error.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | ContextLost, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `WebGLError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/graphics/check_error.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, Error)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Unknown` [INFO] [stderr] --> src/graphics/check_error.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | Unknown, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `WebGLError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/graphics/check_error.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, Error)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `check_error` [INFO] [stderr] --> src/graphics/check_error.rs:29:8 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn check_error(gl: &Context) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `niko` (lib) generated 15 warnings [INFO] [stderr] warning: `niko` (lib test) generated 15 warnings (15 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/niko-06e430100466374c) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test rectangle::tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests niko [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "048db8e295ca65f8e2e7453a32b156cbc20476384bbddc83b92328a6a822704a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "048db8e295ca65f8e2e7453a32b156cbc20476384bbddc83b92328a6a822704a", kill_on_drop: false }` [INFO] [stdout] 048db8e295ca65f8e2e7453a32b156cbc20476384bbddc83b92328a6a822704a