[INFO] fetching crate niko 0.1.8... [INFO] checking niko-0.1.8 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate niko 0.1.8 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate niko 0.1.8 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 25 packages [INFO] [stderr] Adding glow v0.5.0 (latest: v0.13.1) [INFO] [stderr] Adding slotmap v0.4.3 (latest: v1.0.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slotmap v0.4.3 [INFO] [stderr] Downloaded glow v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d038140804f522272287f5fac9ce025fcffe638d6c8892ce2186dfe22ec5ff7 [INFO] running `Command { std: "docker" "start" "-a" "4d038140804f522272287f5fac9ce025fcffe638d6c8892ce2186dfe22ec5ff7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d038140804f522272287f5fac9ce025fcffe638d6c8892ce2186dfe22ec5ff7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d038140804f522272287f5fac9ce025fcffe638d6c8892ce2186dfe22ec5ff7", kill_on_drop: false }` [INFO] [stdout] 4d038140804f522272287f5fac9ce025fcffe638d6c8892ce2186dfe22ec5ff7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d2dac0b9d0997585f9cfddde503e4b3dc8d01230439c32878df0d01b93198c6 [INFO] running `Command { std: "docker" "start" "-a" "4d2dac0b9d0997585f9cfddde503e4b3dc8d01230439c32878df0d01b93198c6", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling bumpalo v3.15.4 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling glow v0.5.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking web-sys v0.3.69 [INFO] [stderr] Checking niko v0.1.8 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `glow` is imported redundantly [INFO] [stdout] --> src/graphics/buffer_type.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use glow; [INFO] [stdout] | ^^^^ the item `glow` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `glow` is imported redundantly [INFO] [stdout] --> src/graphics/buffer_usage.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use glow; [INFO] [stdout] | ^^^^ the item `glow` is already defined by prelude [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] [INFO] [stdout] warning: unused import: `slot_list::*` [INFO] [stdout] --> src/collections/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use slot_list::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `JsCast` is imported redundantly [INFO] [stdout] --> src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ------------------------ the item `JsCast` is already imported here [INFO] [stdout] 32 | use wasm_bindgen::JsCast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `glow` is imported redundantly [INFO] [stdout] --> src/graphics/buffer_type.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use glow; [INFO] [stdout] | ^^^^ the item `glow` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `glow` is imported redundantly [INFO] [stdout] --> src/graphics/buffer_usage.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use glow; [INFO] [stdout] | ^^^^ the item `glow` is already defined by prelude [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] [INFO] [stdout] warning: unused import: `slot_list::*` [INFO] [stdout] --> src/collections/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use slot_list::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `JsCast` is imported redundantly [INFO] [stdout] --> src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ------------------------ the item `JsCast` is already imported here [INFO] [stdout] 32 | use wasm_bindgen::JsCast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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 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] = note: `#[warn(unused_variables)]` on by default [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: 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] = note: `#[warn(unused_variables)]` on by default [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: 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] [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] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/graphics/check_error.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum WebGLError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 7 | #[error("An unacceptable value has been specified for an enumerated argument. The command is ignored and the error flag is set.")] [INFO] [stdout] 8 | InvalidEnum, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | InvalidValue, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | InvalidOperation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | InvalidFramebufferOperation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | OutOfMemory, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | ContextLost, [INFO] [stdout] | ^^^^^^^^^^^ [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_error` is never used [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: multiple variants are never constructed [INFO] [stdout] --> src/graphics/check_error.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum WebGLError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 7 | #[error("An unacceptable value has been specified for an enumerated argument. The command is ignored and the error flag is set.")] [INFO] [stdout] 8 | InvalidEnum, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | InvalidValue, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | InvalidOperation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | InvalidFramebufferOperation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | OutOfMemory, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | ContextLost, [INFO] [stdout] | ^^^^^^^^^^^ [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_error` is never used [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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.76s [INFO] running `Command { std: "docker" "inspect" "4d2dac0b9d0997585f9cfddde503e4b3dc8d01230439c32878df0d01b93198c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d2dac0b9d0997585f9cfddde503e4b3dc8d01230439c32878df0d01b93198c6", kill_on_drop: false }` [INFO] [stdout] 4d2dac0b9d0997585f9cfddde503e4b3dc8d01230439c32878df0d01b93198c6