[INFO] fetching crate webgl-rs 0.2.2... [INFO] testing webgl-rs-0.2.2 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate webgl-rs 0.2.2 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate webgl-rs 0.2.2 [INFO] finished tweaking crates.io crate webgl-rs 0.2.2 [INFO] tweaked toml for crates.io crate webgl-rs 0.2.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate webgl-rs 0.2.2 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19d677a886ae6203cfe6a1b5366f07c02716cdaea9f4580d808ed18883dace59 [INFO] running `Command { std: "docker" "start" "-a" "19d677a886ae6203cfe6a1b5366f07c02716cdaea9f4580d808ed18883dace59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19d677a886ae6203cfe6a1b5366f07c02716cdaea9f4580d808ed18883dace59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19d677a886ae6203cfe6a1b5366f07c02716cdaea9f4580d808ed18883dace59", kill_on_drop: false }` [INFO] [stdout] 19d677a886ae6203cfe6a1b5366f07c02716cdaea9f4580d808ed18883dace59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a8b33fb508578384d776425516148e8effc5d8a081a75e25b4f68d3059e3194 [INFO] running `Command { std: "docker" "start" "-a" "2a8b33fb508578384d776425516148e8effc5d8a081a75e25b4f68d3059e3194", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.104 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling wasm-bindgen v0.2.104 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.104 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.104 [INFO] [stderr] Compiling webgl-rs v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local_v2)]` instead [INFO] [stdout] --> src/rendering_context.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | static document: HTMLDocument; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated static `rendering_context::document`: use with `#[wasm_bindgen(thread_local_v2)]` instead [INFO] [stdout] --> src/rendering_context.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | document.get_element_by_id(id).get_context("webgl2") [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `wasm_bindgen::JsStatic::__inner`: use with `#[wasm_bindgen(thread_local_v2)]` instead [INFO] [stdout] --> src/rendering_context.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | static document: HTMLDocument; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `context` and `inner` are never read [INFO] [stdout] --> src/uniform_location.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct WebGLRSUniformLocation<'ctx> { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 7 | pub(crate) context: &'ctx WebGL2RenderingContext, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub(crate) inner: WebGLUniformLocation, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WebGLRSUniformLocation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buffer.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_buffer(&self) -> WebGLRSBuffer { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_buffer(&self) -> WebGLRSBuffer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/framebuffer.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_framebuffer(&self) -> WebGLRSFramebuffer { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_framebuffer(&self) -> WebGLRSFramebuffer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_query(&self) -> WebGLRSQuery { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_query(&self) -> WebGLRSQuery<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn query(&self, target: QueryTarget) -> WebGLRSQuery { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn query(&self, target: QueryTarget) -> WebGLRSQuery<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/renderbuffer.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_renderbuffer(&self) -> WebGLRSRenderbuffer { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_renderbuffer(&self) -> WebGLRSRenderbuffer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `document` should have an upper case name [INFO] [stdout] --> src/rendering_context.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | static document: HTMLDocument; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 13 - static document: HTMLDocument; [INFO] [stdout] 13 + static DOCUMENT: HTMLDocument; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sampler.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn create_sampler(&self) -> WebGLRSSampler { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 10 | pub fn create_sampler(&self) -> WebGLRSSampler<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shader_program.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn create_program(&self) -> WebGLRSProgram { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn create_program(&self) -> WebGLRSProgram<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shader_program.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn uniform_location(&self, name: &str) -> WebGLRSUniformLocation { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 134 | pub fn uniform_location(&self, name: &str) -> WebGLRSUniformLocation<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shader_program.rs:404:26 [INFO] [stdout] | [INFO] [stdout] 404 | pub fn create_shader(&self, kind: ShaderKind) -> WebGLRSShader { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 404 | pub fn create_shader(&self, kind: ShaderKind) -> WebGLRSShader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sync.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn fence_sync(&self, conditions: GPUState, flags: u32) -> WebGLRSSync { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | pub fn fence_sync(&self, conditions: GPUState, flags: u32) -> WebGLRSSync<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/texture.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_texture(&self) -> WebGLRSTexture { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_texture(&self) -> WebGLRSTexture<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/transform_feedback.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_transform_feedback(&self) -> WebGLRSTransformFeedback { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_transform_feedback(&self) -> WebGLRSTransformFeedback<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vertex_array_object.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_vertex_array(&self) -> WebGLRSVertexArrayObject { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_vertex_array(&self) -> WebGLRSVertexArrayObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.02s [INFO] running `Command { std: "docker" "inspect" "2a8b33fb508578384d776425516148e8effc5d8a081a75e25b4f68d3059e3194", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a8b33fb508578384d776425516148e8effc5d8a081a75e25b4f68d3059e3194", kill_on_drop: false }` [INFO] [stdout] 2a8b33fb508578384d776425516148e8effc5d8a081a75e25b4f68d3059e3194 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f39ed2748951d05cb5834c32691c66e2d6844522f8d720072ca182294b5e27ef [INFO] running `Command { std: "docker" "start" "-a" "f39ed2748951d05cb5834c32691c66e2d6844522f8d720072ca182294b5e27ef", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local_v2)]` instead [INFO] [stdout] --> src/rendering_context.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | static document: HTMLDocument; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated static `rendering_context::document`: use with `#[wasm_bindgen(thread_local_v2)]` instead [INFO] [stdout] --> src/rendering_context.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | document.get_element_by_id(id).get_context("webgl2") [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `wasm_bindgen::JsStatic::__inner`: use with `#[wasm_bindgen(thread_local_v2)]` instead [INFO] [stdout] --> src/rendering_context.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | static document: HTMLDocument; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `context` and `inner` are never read [INFO] [stdout] --> src/uniform_location.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct WebGLRSUniformLocation<'ctx> { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 7 | pub(crate) context: &'ctx WebGL2RenderingContext, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub(crate) inner: WebGLUniformLocation, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WebGLRSUniformLocation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buffer.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_buffer(&self) -> WebGLRSBuffer { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_buffer(&self) -> WebGLRSBuffer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/framebuffer.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_framebuffer(&self) -> WebGLRSFramebuffer { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_framebuffer(&self) -> WebGLRSFramebuffer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_query(&self) -> WebGLRSQuery { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_query(&self) -> WebGLRSQuery<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn query(&self, target: QueryTarget) -> WebGLRSQuery { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn query(&self, target: QueryTarget) -> WebGLRSQuery<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/renderbuffer.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_renderbuffer(&self) -> WebGLRSRenderbuffer { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_renderbuffer(&self) -> WebGLRSRenderbuffer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `document` should have an upper case name [INFO] [stdout] --> src/rendering_context.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | static document: HTMLDocument; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 13 - static document: HTMLDocument; [INFO] [stdout] 13 + static DOCUMENT: HTMLDocument; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sampler.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn create_sampler(&self) -> WebGLRSSampler { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 10 | pub fn create_sampler(&self) -> WebGLRSSampler<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shader_program.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn create_program(&self) -> WebGLRSProgram { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn create_program(&self) -> WebGLRSProgram<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shader_program.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn uniform_location(&self, name: &str) -> WebGLRSUniformLocation { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 134 | pub fn uniform_location(&self, name: &str) -> WebGLRSUniformLocation<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling webgl-rs v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shader_program.rs:404:26 [INFO] [stdout] | [INFO] [stdout] 404 | pub fn create_shader(&self, kind: ShaderKind) -> WebGLRSShader { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 404 | pub fn create_shader(&self, kind: ShaderKind) -> WebGLRSShader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sync.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn fence_sync(&self, conditions: GPUState, flags: u32) -> WebGLRSSync { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | pub fn fence_sync(&self, conditions: GPUState, flags: u32) -> WebGLRSSync<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/texture.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_texture(&self) -> WebGLRSTexture { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_texture(&self) -> WebGLRSTexture<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/transform_feedback.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_transform_feedback(&self) -> WebGLRSTransformFeedback { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_transform_feedback(&self) -> WebGLRSTransformFeedback<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vertex_array_object.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_vertex_array(&self) -> WebGLRSVertexArrayObject { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_vertex_array(&self) -> WebGLRSVertexArrayObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local_v2)]` instead [INFO] [stdout] --> src/rendering_context.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | static document: HTMLDocument; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated static `rendering_context::document`: use with `#[wasm_bindgen(thread_local_v2)]` instead [INFO] [stdout] --> src/rendering_context.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | document.get_element_by_id(id).get_context("webgl2") [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `wasm_bindgen::JsStatic::__inner`: use with `#[wasm_bindgen(thread_local_v2)]` instead [INFO] [stdout] --> src/rendering_context.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | static document: HTMLDocument; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `context` and `inner` are never read [INFO] [stdout] --> src/uniform_location.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct WebGLRSUniformLocation<'ctx> { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 7 | pub(crate) context: &'ctx WebGL2RenderingContext, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub(crate) inner: WebGLUniformLocation, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WebGLRSUniformLocation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buffer.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_buffer(&self) -> WebGLRSBuffer { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_buffer(&self) -> WebGLRSBuffer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/framebuffer.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_framebuffer(&self) -> WebGLRSFramebuffer { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_framebuffer(&self) -> WebGLRSFramebuffer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_query(&self) -> WebGLRSQuery { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_query(&self) -> WebGLRSQuery<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn query(&self, target: QueryTarget) -> WebGLRSQuery { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn query(&self, target: QueryTarget) -> WebGLRSQuery<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/renderbuffer.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_renderbuffer(&self) -> WebGLRSRenderbuffer { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_renderbuffer(&self) -> WebGLRSRenderbuffer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `document` should have an upper case name [INFO] [stdout] --> src/rendering_context.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | static document: HTMLDocument; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 13 - static document: HTMLDocument; [INFO] [stdout] 13 + static DOCUMENT: HTMLDocument; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sampler.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn create_sampler(&self) -> WebGLRSSampler { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 10 | pub fn create_sampler(&self) -> WebGLRSSampler<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shader_program.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn create_program(&self) -> WebGLRSProgram { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn create_program(&self) -> WebGLRSProgram<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shader_program.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn uniform_location(&self, name: &str) -> WebGLRSUniformLocation { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 134 | pub fn uniform_location(&self, name: &str) -> WebGLRSUniformLocation<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/shader_program.rs:404:26 [INFO] [stdout] | [INFO] [stdout] 404 | pub fn create_shader(&self, kind: ShaderKind) -> WebGLRSShader { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 404 | pub fn create_shader(&self, kind: ShaderKind) -> WebGLRSShader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sync.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn fence_sync(&self, conditions: GPUState, flags: u32) -> WebGLRSSync { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | pub fn fence_sync(&self, conditions: GPUState, flags: u32) -> WebGLRSSync<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/texture.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_texture(&self) -> WebGLRSTexture { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_texture(&self) -> WebGLRSTexture<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/transform_feedback.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_transform_feedback(&self) -> WebGLRSTransformFeedback { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_transform_feedback(&self) -> WebGLRSTransformFeedback<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vertex_array_object.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_vertex_array(&self) -> WebGLRSVertexArrayObject { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn create_vertex_array(&self) -> WebGLRSVertexArrayObject<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.36s [INFO] running `Command { std: "docker" "inspect" "f39ed2748951d05cb5834c32691c66e2d6844522f8d720072ca182294b5e27ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f39ed2748951d05cb5834c32691c66e2d6844522f8d720072ca182294b5e27ef", kill_on_drop: false }` [INFO] [stdout] f39ed2748951d05cb5834c32691c66e2d6844522f8d720072ca182294b5e27ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3a8b98d5c325bbbc3d2b8e056ec52ddaa6d5001684eec03053a4a82c5da75a7c [INFO] running `Command { std: "docker" "start" "-a" "3a8b98d5c325bbbc3d2b8e056ec52ddaa6d5001684eec03053a4a82c5da75a7c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated struct `wasm_bindgen::JsStatic`: use with `#[wasm_bindgen(thread_local_v2)]` instead [INFO] [stderr] --> src/rendering_context.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | static document: HTMLDocument; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated static `rendering_context::document`: use with `#[wasm_bindgen(thread_local_v2)]` instead [INFO] [stderr] --> src/rendering_context.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | document.get_element_by_id(id).get_context("webgl2") [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated field `wasm_bindgen::JsStatic::__inner`: use with `#[wasm_bindgen(thread_local_v2)]` instead [INFO] [stderr] --> src/rendering_context.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | static document: HTMLDocument; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `context` and `inner` are never read [INFO] [stderr] --> src/uniform_location.rs:7:16 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct WebGLRSUniformLocation<'ctx> { [INFO] [stderr] | ---------------------- fields in this struct [INFO] [stderr] 7 | pub(crate) context: &'ctx WebGL2RenderingContext, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 8 | pub(crate) inner: WebGLUniformLocation, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `WebGLRSUniformLocation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/buffer.rs:8:26 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn create_buffer(&self) -> WebGLRSBuffer { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 8 | pub fn create_buffer(&self) -> WebGLRSBuffer<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/framebuffer.rs:8:31 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn create_framebuffer(&self) -> WebGLRSFramebuffer { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 8 | pub fn create_framebuffer(&self) -> WebGLRSFramebuffer<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/query.rs:8:25 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn create_query(&self) -> WebGLRSQuery { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 8 | pub fn create_query(&self) -> WebGLRSQuery<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/query.rs:20:18 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn query(&self, target: QueryTarget) -> WebGLRSQuery { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 20 | pub fn query(&self, target: QueryTarget) -> WebGLRSQuery<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/renderbuffer.rs:8:32 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn create_renderbuffer(&self) -> WebGLRSRenderbuffer { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 8 | pub fn create_renderbuffer(&self) -> WebGLRSRenderbuffer<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: static variable `document` should have an upper case name [INFO] [stderr] --> src/rendering_context.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | static document: HTMLDocument; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] help: convert the identifier to upper case [INFO] [stderr] | [INFO] [stderr] 13 - static document: HTMLDocument; [INFO] [stderr] 13 + static DOCUMENT: HTMLDocument; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/sampler.rs:10:27 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn create_sampler(&self) -> WebGLRSSampler { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 10 | pub fn create_sampler(&self) -> WebGLRSSampler<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/shader_program.rs:20:27 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn create_program(&self) -> WebGLRSProgram { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 20 | pub fn create_program(&self) -> WebGLRSProgram<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/shader_program.rs:134:29 [INFO] [stderr] | [INFO] [stderr] 134 | pub fn uniform_location(&self, name: &str) -> WebGLRSUniformLocation { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 134 | pub fn uniform_location(&self, name: &str) -> WebGLRSUniformLocation<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/shader_program.rs:404:26 [INFO] [stderr] | [INFO] [stderr] 404 | pub fn create_shader(&self, kind: ShaderKind) -> WebGLRSShader { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 404 | pub fn create_shader(&self, kind: ShaderKind) -> WebGLRSShader<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/sync.rs:13:23 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn fence_sync(&self, conditions: GPUState, flags: u32) -> WebGLRSSync { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 13 | pub fn fence_sync(&self, conditions: GPUState, flags: u32) -> WebGLRSSync<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/texture.rs:8:27 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn create_texture(&self) -> WebGLRSTexture { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 8 | pub fn create_texture(&self) -> WebGLRSTexture<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/transform_feedback.rs:8:38 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn create_transform_feedback(&self) -> WebGLRSTransformFeedback { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 8 | pub fn create_transform_feedback(&self) -> WebGLRSTransformFeedback<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/vertex_array_object.rs:8:32 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn create_vertex_array(&self) -> WebGLRSVertexArrayObject { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 8 | pub fn create_vertex_array(&self) -> WebGLRSVertexArrayObject<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `webgl-rs` (lib) generated 18 warnings (run `cargo fix --lib -p webgl-rs` to apply 14 suggestions) [INFO] [stderr] warning: `webgl-rs` (lib test) generated 18 warnings (18 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/webgl_rs-8a91a4b14e0c101e) [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] [stderr] Doc-tests webgl_rs [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" "3a8b98d5c325bbbc3d2b8e056ec52ddaa6d5001684eec03053a4a82c5da75a7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a8b98d5c325bbbc3d2b8e056ec52ddaa6d5001684eec03053a4a82c5da75a7c", kill_on_drop: false }` [INFO] [stdout] 3a8b98d5c325bbbc3d2b8e056ec52ddaa6d5001684eec03053a4a82c5da75a7c