[INFO] fetching crate niko 0.1.8... [INFO] testing niko-0.1.8 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate niko 0.1.8 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate niko 0.1.8 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 186aea76f8631d424be1cf574e2860dd23d69dd581bf79c7e49d2ba9c0a6b6a5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "186aea76f8631d424be1cf574e2860dd23d69dd581bf79c7e49d2ba9c0a6b6a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "186aea76f8631d424be1cf574e2860dd23d69dd581bf79c7e49d2ba9c0a6b6a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "186aea76f8631d424be1cf574e2860dd23d69dd581bf79c7e49d2ba9c0a6b6a5", kill_on_drop: false }` [INFO] [stdout] 186aea76f8631d424be1cf574e2860dd23d69dd581bf79c7e49d2ba9c0a6b6a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83be84762dbf3aa17df46ff4d32bf20bb70e270d96c197b7dab7676824f53e28 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "83be84762dbf3aa17df46ff4d32bf20bb70e270d96c197b7dab7676824f53e28", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.79 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.79 [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.79 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.79 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.79 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling js-sys v0.3.56 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling web-sys v0.3.56 [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 57.96s [INFO] running `Command { std: "docker" "inspect" "83be84762dbf3aa17df46ff4d32bf20bb70e270d96c197b7dab7676824f53e28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83be84762dbf3aa17df46ff4d32bf20bb70e270d96c197b7dab7676824f53e28", kill_on_drop: false }` [INFO] [stdout] 83be84762dbf3aa17df46ff4d32bf20bb70e270d96c197b7dab7676824f53e28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 928a0f74260e34648e285b6b39664f4e95ddafd71448984fac2b694f9a7c40b5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "928a0f74260e34648e285b6b39664f4e95ddafd71448984fac2b694f9a7c40b5", 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] [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] [stderr] Compiling niko v0.1.8 (/opt/rustwide/workdir) [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 1.46s [INFO] running `Command { std: "docker" "inspect" "928a0f74260e34648e285b6b39664f4e95ddafd71448984fac2b694f9a7c40b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "928a0f74260e34648e285b6b39664f4e95ddafd71448984fac2b694f9a7c40b5", kill_on_drop: false }` [INFO] [stdout] 928a0f74260e34648e285b6b39664f4e95ddafd71448984fac2b694f9a7c40b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 65b9ba6245381994d35f7160177c75cfc42708a32436ec45e1e0974c15c9b294 [INFO] running `Command { std: "docker" "start" "-a" "65b9ba6245381994d35f7160177c75cfc42708a32436ec45e1e0974c15c9b294", 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.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/niko-13e9cf1526872295) [INFO] [stderr] Doc-tests niko [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] [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" "65b9ba6245381994d35f7160177c75cfc42708a32436ec45e1e0974c15c9b294", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65b9ba6245381994d35f7160177c75cfc42708a32436ec45e1e0974c15c9b294", kill_on_drop: false }` [INFO] [stdout] 65b9ba6245381994d35f7160177c75cfc42708a32436ec45e1e0974c15c9b294