[INFO] fetching crate glitz 0.4.0... [INFO] testing glitz-0.4.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate glitz 0.4.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate glitz 0.4.0 [INFO] finished tweaking crates.io crate glitz 0.4.0 [INFO] tweaked toml for crates.io crate glitz 0.4.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate glitz 0.4.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] [stderr] Adding zstring v0.1.3 (available: v0.2.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f246789ebbfc55de67ab63e744ce9a6f10a3644579594c1f82c030a9894a2ea [INFO] running `Command { std: "docker" "start" "-a" "4f246789ebbfc55de67ab63e744ce9a6f10a3644579594c1f82c030a9894a2ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f246789ebbfc55de67ab63e744ce9a6f10a3644579594c1f82c030a9894a2ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f246789ebbfc55de67ab63e744ce9a6f10a3644579594c1f82c030a9894a2ea", kill_on_drop: false }` [INFO] [stdout] 4f246789ebbfc55de67ab63e744ce9a6f10a3644579594c1f82c030a9894a2ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0793f97555fc24f66cabb3a56d9c55d4a17010a35168b78f75d312e74a30f810 [INFO] running `Command { std: "docker" "start" "-a" "0793f97555fc24f66cabb3a56d9c55d4a17010a35168b78f75d312e74a30f810", kill_on_drop: false }` [INFO] [stderr] Compiling chlorine v1.0.13 [INFO] [stderr] Compiling zstring v0.1.3 [INFO] [stderr] Compiling glitz v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `srcX0` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:135:58 [INFO] [stdout] | [INFO] [stdout] 135 | pub type glBlitFramebuffer_t = unsafe extern "system" fn(srcX0: GLint, srcY0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLi... [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `src_x0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `srcY0` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:135:72 [INFO] [stdout] | [INFO] [stdout] 135 | pub type glBlitFramebuffer_t = unsafe extern "system" fn(srcX0: GLint, srcY0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLi... [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `src_y0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `srcX1` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:135:86 [INFO] [stdout] | [INFO] [stdout] 135 | ...ystem" fn(srcX0: GLint, srcY0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitf... [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `src_x1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `srcY1` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:135:100 [INFO] [stdout] | [INFO] [stdout] 135 | ...0: GLint, srcY0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: ... [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `src_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dstX0` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:135:114 [INFO] [stdout] | [INFO] [stdout] 135 | ...0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: GLenum); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `dst_x0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dstY0` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:135:128 [INFO] [stdout] | [INFO] [stdout] 135 | ...1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: GLenum); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `dst_y0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dstX1` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:135:142 [INFO] [stdout] | [INFO] [stdout] 135 | ...1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: GLenum); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `dst_x1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dstY1` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:135:156 [INFO] [stdout] | [INFO] [stdout] 135 | ...0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: GLenum); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `dst_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `shaderType` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:156:48 [INFO] [stdout] | [INFO] [stdout] 156 | pub type glCreateShader_t = extern "system" fn(shaderType: GLenum) -> GLuint; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `shader_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `userParam` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:164:101 [INFO] [stdout] | [INFO] [stdout] 164 | pub type glDebugMessageCallback_t = Option, userParam: *const void)>; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `user_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `maxLength` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:269:77 [INFO] [stdout] | [INFO] [stdout] 269 | pub type glGetProgramInfoLog_t = unsafe extern "system" fn(program: GLuint, maxLength: GLsizei, length: *mut GLsizei, infoLog: *mut GLchar); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `max_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `infoLog` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:269:119 [INFO] [stdout] | [INFO] [stdout] 269 | pub type glGetProgramInfoLog_t = unsafe extern "system" fn(program: GLuint, maxLength: GLsizei, length: *mut GLsizei, infoLog: *mut GLchar); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `info_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `maxLength` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:275:75 [INFO] [stdout] | [INFO] [stdout] 275 | pub type glGetShaderInfoLog_t = unsafe extern "system" fn(shader: GLuint, maxLength: GLsizei, length: *mut GLsizei, infoLog: *mut GLchar); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `max_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `infoLog` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:275:117 [INFO] [stdout] | [INFO] [stdout] 275 | pub type glGetShaderInfoLog_t = unsafe extern "system" fn(shader: GLuint, maxLength: GLsizei, length: *mut GLsizei, infoLog: *mut GLchar); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `info_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `uniformBlockName` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:287:80 [INFO] [stdout] | [INFO] [stdout] 287 | pub type glGetUniformBlockIndex_t = unsafe extern "system" fn(program: GLuint, uniformBlockName: *const GLchar) -> GLuint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `uniform_block_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `uniformBlockIndex` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:368:79 [INFO] [stdout] | [INFO] [stdout] 368 | pub type glUniformBlockBinding_t = unsafe extern "system" fn(program: GLuint, uniformBlockIndex: GLuint, uniformBlockBinding: GLuint); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `uniform_block_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `uniformBlockBinding` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:368:106 [INFO] [stdout] | [INFO] [stdout] 368 | pub type glUniformBlockBinding_t = unsafe extern "system" fn(program: GLuint, uniformBlockIndex: GLuint, uniformBlockBinding: GLuint); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `uniform_block_binding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `userParam` should have a snake case name [INFO] [stdout] --> src/gl_types.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 44 | userParam: *const c_void, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `user_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.63s [INFO] running `Command { std: "docker" "inspect" "0793f97555fc24f66cabb3a56d9c55d4a17010a35168b78f75d312e74a30f810", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0793f97555fc24f66cabb3a56d9c55d4a17010a35168b78f75d312e74a30f810", kill_on_drop: false }` [INFO] [stdout] 0793f97555fc24f66cabb3a56d9c55d4a17010a35168b78f75d312e74a30f810 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7e44331329640380442e3a7892a37c3e5c883a6dc708b5d5962268cfd8eaa86 [INFO] running `Command { std: "docker" "start" "-a" "a7e44331329640380442e3a7892a37c3e5c883a6dc708b5d5962268cfd8eaa86", kill_on_drop: false }` [INFO] [stdout] warning: variable `srcX0` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:135:58 [INFO] [stdout] | [INFO] [stdout] 135 | pub type glBlitFramebuffer_t = unsafe extern "system" fn(srcX0: GLint, srcY0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLi... [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `src_x0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `srcY0` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:135:72 [INFO] [stdout] | [INFO] [stdout] 135 | pub type glBlitFramebuffer_t = unsafe extern "system" fn(srcX0: GLint, srcY0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLi... [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `src_y0` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling glitz v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `srcX1` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:135:86 [INFO] [stdout] | [INFO] [stdout] 135 | ...ystem" fn(srcX0: GLint, srcY0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitf... [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `src_x1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `srcY1` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:135:100 [INFO] [stdout] | [INFO] [stdout] 135 | ...0: GLint, srcY0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: ... [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `src_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dstX0` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:135:114 [INFO] [stdout] | [INFO] [stdout] 135 | ...0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: GLenum); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `dst_x0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dstY0` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:135:128 [INFO] [stdout] | [INFO] [stdout] 135 | ...1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: GLenum); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `dst_y0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dstX1` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:135:142 [INFO] [stdout] | [INFO] [stdout] 135 | ...1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: GLenum); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `dst_x1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dstY1` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:135:156 [INFO] [stdout] | [INFO] [stdout] 135 | ...0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: GLenum); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `dst_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `shaderType` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:156:48 [INFO] [stdout] | [INFO] [stdout] 156 | pub type glCreateShader_t = extern "system" fn(shaderType: GLenum) -> GLuint; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `shader_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `userParam` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:164:101 [INFO] [stdout] | [INFO] [stdout] 164 | pub type glDebugMessageCallback_t = Option, userParam: *const void)>; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `user_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `maxLength` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:269:77 [INFO] [stdout] | [INFO] [stdout] 269 | pub type glGetProgramInfoLog_t = unsafe extern "system" fn(program: GLuint, maxLength: GLsizei, length: *mut GLsizei, infoLog: *mut GLchar); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `max_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `infoLog` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:269:119 [INFO] [stdout] | [INFO] [stdout] 269 | pub type glGetProgramInfoLog_t = unsafe extern "system" fn(program: GLuint, maxLength: GLsizei, length: *mut GLsizei, infoLog: *mut GLchar); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `info_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `maxLength` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:275:75 [INFO] [stdout] | [INFO] [stdout] 275 | pub type glGetShaderInfoLog_t = unsafe extern "system" fn(shader: GLuint, maxLength: GLsizei, length: *mut GLsizei, infoLog: *mut GLchar); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `max_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `infoLog` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:275:117 [INFO] [stdout] | [INFO] [stdout] 275 | pub type glGetShaderInfoLog_t = unsafe extern "system" fn(shader: GLuint, maxLength: GLsizei, length: *mut GLsizei, infoLog: *mut GLchar); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `info_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `uniformBlockName` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:287:80 [INFO] [stdout] | [INFO] [stdout] 287 | pub type glGetUniformBlockIndex_t = unsafe extern "system" fn(program: GLuint, uniformBlockName: *const GLchar) -> GLuint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `uniform_block_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `uniformBlockIndex` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:368:79 [INFO] [stdout] | [INFO] [stdout] 368 | pub type glUniformBlockBinding_t = unsafe extern "system" fn(program: GLuint, uniformBlockIndex: GLuint, uniformBlockBinding: GLuint); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `uniform_block_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `uniformBlockBinding` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:368:106 [INFO] [stdout] | [INFO] [stdout] 368 | pub type glUniformBlockBinding_t = unsafe extern "system" fn(program: GLuint, uniformBlockIndex: GLuint, uniformBlockBinding: GLuint); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `uniform_block_binding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `userParam` should have a snake case name [INFO] [stdout] --> src/gl_types.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 44 | userParam: *const c_void, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `user_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `srcX0` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:135:58 [INFO] [stdout] | [INFO] [stdout] 135 | pub type glBlitFramebuffer_t = unsafe extern "system" fn(srcX0: GLint, srcY0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLi... [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `src_x0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `srcY0` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:135:72 [INFO] [stdout] | [INFO] [stdout] 135 | pub type glBlitFramebuffer_t = unsafe extern "system" fn(srcX0: GLint, srcY0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLi... [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `src_y0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `srcX1` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:135:86 [INFO] [stdout] | [INFO] [stdout] 135 | ...ystem" fn(srcX0: GLint, srcY0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitf... [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `src_x1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `srcY1` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:135:100 [INFO] [stdout] | [INFO] [stdout] 135 | ...0: GLint, srcY0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: ... [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `src_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dstX0` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:135:114 [INFO] [stdout] | [INFO] [stdout] 135 | ...0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: GLenum); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `dst_x0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dstY0` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:135:128 [INFO] [stdout] | [INFO] [stdout] 135 | ...1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: GLenum); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `dst_y0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dstX1` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:135:142 [INFO] [stdout] | [INFO] [stdout] 135 | ...1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: GLenum); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `dst_x1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dstY1` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:135:156 [INFO] [stdout] | [INFO] [stdout] 135 | ...0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: GLenum); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `dst_y1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `shaderType` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:156:48 [INFO] [stdout] | [INFO] [stdout] 156 | pub type glCreateShader_t = extern "system" fn(shaderType: GLenum) -> GLuint; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `shader_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `userParam` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:164:101 [INFO] [stdout] | [INFO] [stdout] 164 | pub type glDebugMessageCallback_t = Option, userParam: *const void)>; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `user_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `maxLength` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:269:77 [INFO] [stdout] | [INFO] [stdout] 269 | pub type glGetProgramInfoLog_t = unsafe extern "system" fn(program: GLuint, maxLength: GLsizei, length: *mut GLsizei, infoLog: *mut GLchar); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `max_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `infoLog` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:269:119 [INFO] [stdout] | [INFO] [stdout] 269 | pub type glGetProgramInfoLog_t = unsafe extern "system" fn(program: GLuint, maxLength: GLsizei, length: *mut GLsizei, infoLog: *mut GLchar); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `info_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `maxLength` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:275:75 [INFO] [stdout] | [INFO] [stdout] 275 | pub type glGetShaderInfoLog_t = unsafe extern "system" fn(shader: GLuint, maxLength: GLsizei, length: *mut GLsizei, infoLog: *mut GLchar); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `max_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `infoLog` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:275:117 [INFO] [stdout] | [INFO] [stdout] 275 | pub type glGetShaderInfoLog_t = unsafe extern "system" fn(shader: GLuint, maxLength: GLsizei, length: *mut GLsizei, infoLog: *mut GLchar); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `info_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `uniformBlockName` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:287:80 [INFO] [stdout] | [INFO] [stdout] 287 | pub type glGetUniformBlockIndex_t = unsafe extern "system" fn(program: GLuint, uniformBlockName: *const GLchar) -> GLuint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `uniform_block_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `uniformBlockIndex` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:368:79 [INFO] [stdout] | [INFO] [stdout] 368 | pub type glUniformBlockBinding_t = unsafe extern "system" fn(program: GLuint, uniformBlockIndex: GLuint, uniformBlockBinding: GLuint); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `uniform_block_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `uniformBlockBinding` should have a snake case name [INFO] [stdout] --> src/../generator/src/gl_fn_types.rs:368:106 [INFO] [stdout] | [INFO] [stdout] 368 | pub type glUniformBlockBinding_t = unsafe extern "system" fn(program: GLuint, uniformBlockIndex: GLuint, uniformBlockBinding: GLuint); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `uniform_block_binding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `userParam` should have a snake case name [INFO] [stdout] --> src/gl_types.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 44 | userParam: *const c_void, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `user_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "a7e44331329640380442e3a7892a37c3e5c883a6dc708b5d5962268cfd8eaa86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7e44331329640380442e3a7892a37c3e5c883a6dc708b5d5962268cfd8eaa86", kill_on_drop: false }` [INFO] [stdout] a7e44331329640380442e3a7892a37c3e5c883a6dc708b5d5962268cfd8eaa86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f3e1f2cec4e994ab652a01b46c4706868a652c40431ccbbef61ffbd7911aff89 [INFO] running `Command { std: "docker" "start" "-a" "f3e1f2cec4e994ab652a01b46c4706868a652c40431ccbbef61ffbd7911aff89", kill_on_drop: false }` [INFO] [stderr] warning: variable `srcX0` should have a snake case name [INFO] [stderr] --> src/../generator/src/gl_fn_types.rs:135:58 [INFO] [stderr] | [INFO] [stderr] 135 | pub type glBlitFramebuffer_t = unsafe extern "system" fn(srcX0: GLint, srcY0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLi... [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `src_x0` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `srcY0` should have a snake case name [INFO] [stderr] --> src/../generator/src/gl_fn_types.rs:135:72 [INFO] [stderr] | [INFO] [stderr] 135 | pub type glBlitFramebuffer_t = unsafe extern "system" fn(srcX0: GLint, srcY0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLi... [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `src_y0` [INFO] [stderr] [INFO] [stderr] warning: variable `srcX1` should have a snake case name [INFO] [stderr] --> src/../generator/src/gl_fn_types.rs:135:86 [INFO] [stderr] | [INFO] [stderr] 135 | ...ystem" fn(srcX0: GLint, srcY0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitf... [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `src_x1` [INFO] [stderr] [INFO] [stderr] warning: variable `srcY1` should have a snake case name [INFO] [stderr] --> src/../generator/src/gl_fn_types.rs:135:100 [INFO] [stderr] | [INFO] [stderr] 135 | ...0: GLint, srcY0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: ... [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `src_y1` [INFO] [stderr] [INFO] [stderr] warning: variable `dstX0` should have a snake case name [INFO] [stderr] --> src/../generator/src/gl_fn_types.rs:135:114 [INFO] [stderr] | [INFO] [stderr] 135 | ...0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: GLenum); [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `dst_x0` [INFO] [stderr] [INFO] [stderr] warning: variable `dstY0` should have a snake case name [INFO] [stderr] --> src/../generator/src/gl_fn_types.rs:135:128 [INFO] [stderr] | [INFO] [stderr] 135 | ...1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: GLenum); [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `dst_y0` [INFO] [stderr] [INFO] [stderr] warning: variable `dstX1` should have a snake case name [INFO] [stderr] --> src/../generator/src/gl_fn_types.rs:135:142 [INFO] [stderr] | [INFO] [stderr] 135 | ...1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: GLenum); [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `dst_x1` [INFO] [stderr] [INFO] [stderr] warning: variable `dstY1` should have a snake case name [INFO] [stderr] --> src/../generator/src/gl_fn_types.rs:135:156 [INFO] [stderr] | [INFO] [stderr] 135 | ...0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: GLenum); [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `dst_y1` [INFO] [stderr] [INFO] [stderr] warning: variable `shaderType` should have a snake case name [INFO] [stderr] --> src/../generator/src/gl_fn_types.rs:156:48 [INFO] [stderr] | [INFO] [stderr] 156 | pub type glCreateShader_t = extern "system" fn(shaderType: GLenum) -> GLuint; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `shader_type` [INFO] [stderr] [INFO] [stderr] warning: variable `userParam` should have a snake case name [INFO] [stderr] --> src/../generator/src/gl_fn_types.rs:164:101 [INFO] [stderr] | [INFO] [stderr] 164 | pub type glDebugMessageCallback_t = Option, userParam: *const void)>; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `user_param` [INFO] [stderr] [INFO] [stderr] warning: variable `maxLength` should have a snake case name [INFO] [stderr] --> src/../generator/src/gl_fn_types.rs:269:77 [INFO] [stderr] | [INFO] [stderr] 269 | pub type glGetProgramInfoLog_t = unsafe extern "system" fn(program: GLuint, maxLength: GLsizei, length: *mut GLsizei, infoLog: *mut GLchar); [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `max_length` [INFO] [stderr] [INFO] [stderr] warning: variable `infoLog` should have a snake case name [INFO] [stderr] --> src/../generator/src/gl_fn_types.rs:269:119 [INFO] [stderr] | [INFO] [stderr] 269 | pub type glGetProgramInfoLog_t = unsafe extern "system" fn(program: GLuint, maxLength: GLsizei, length: *mut GLsizei, infoLog: *mut GLchar); [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `info_log` [INFO] [stderr] [INFO] [stderr] warning: variable `maxLength` should have a snake case name [INFO] [stderr] --> src/../generator/src/gl_fn_types.rs:275:75 [INFO] [stderr] | [INFO] [stderr] 275 | pub type glGetShaderInfoLog_t = unsafe extern "system" fn(shader: GLuint, maxLength: GLsizei, length: *mut GLsizei, infoLog: *mut GLchar); [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `max_length` [INFO] [stderr] [INFO] [stderr] warning: variable `infoLog` should have a snake case name [INFO] [stderr] --> src/../generator/src/gl_fn_types.rs:275:117 [INFO] [stderr] | [INFO] [stderr] 275 | pub type glGetShaderInfoLog_t = unsafe extern "system" fn(shader: GLuint, maxLength: GLsizei, length: *mut GLsizei, infoLog: *mut GLchar); [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `info_log` [INFO] [stderr] [INFO] [stderr] warning: variable `uniformBlockName` should have a snake case name [INFO] [stderr] --> src/../generator/src/gl_fn_types.rs:287:80 [INFO] [stderr] | [INFO] [stderr] 287 | pub type glGetUniformBlockIndex_t = unsafe extern "system" fn(program: GLuint, uniformBlockName: *const GLchar) -> GLuint; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `uniform_block_name` [INFO] [stderr] [INFO] [stderr] warning: variable `uniformBlockIndex` should have a snake case name [INFO] [stderr] --> src/../generator/src/gl_fn_types.rs:368:79 [INFO] [stderr] | [INFO] [stderr] 368 | pub type glUniformBlockBinding_t = unsafe extern "system" fn(program: GLuint, uniformBlockIndex: GLuint, uniformBlockBinding: GLuint); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `uniform_block_index` [INFO] [stderr] [INFO] [stderr] warning: variable `uniformBlockBinding` should have a snake case name [INFO] [stderr] --> src/../generator/src/gl_fn_types.rs:368:106 [INFO] [stderr] | [INFO] [stderr] 368 | pub type glUniformBlockBinding_t = unsafe extern "system" fn(program: GLuint, uniformBlockIndex: GLuint, uniformBlockBinding: GLuint); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `uniform_block_binding` [INFO] [stderr] [INFO] [stderr] warning: variable `userParam` should have a snake case name [INFO] [stderr] --> src/gl_types.rs:44:3 [INFO] [stderr] | [INFO] [stderr] 44 | userParam: *const c_void, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `user_param` [INFO] [stderr] [INFO] [stderr] warning: `glitz` (lib) generated 18 warnings [INFO] [stderr] warning: `glitz` (lib test) generated 18 warnings (18 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/glitz-97e27e389afa81ec) [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 glitz [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 31) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 31) stdout ---- [INFO] [stdout] error[E0631]: type mismatch in closure arguments [INFO] [stdout] --> src/lib.rs:49:38 [INFO] [stdout] | [INFO] [stdout] 9 | let loader_fn = |c_str: *const u8| { [INFO] [stdout] | ------------------ found signature defined here [INFO] [stdout] ... [INFO] [stdout] 21 | let gl = unsafe { GlFns::from_loader(&loader_fn).unwrap() }; [INFO] [stdout] | ^^^^^^^^^^ expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected closure signature `for<'a> fn(zstring::zstr::ZStr<'a>) -> _` [INFO] [stdout] found closure signature `fn(*const u8) -> _` [INFO] [stdout] = note: required for the cast from `&{closure@src/lib.rs:9:17: 9:35}` to `&dyn for<'a> Fn(zstring::zstr::ZStr<'a>) -> *mut c_void` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0631`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 31) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f3e1f2cec4e994ab652a01b46c4706868a652c40431ccbbef61ffbd7911aff89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3e1f2cec4e994ab652a01b46c4706868a652c40431ccbbef61ffbd7911aff89", kill_on_drop: false }` [INFO] [stdout] f3e1f2cec4e994ab652a01b46c4706868a652c40431ccbbef61ffbd7911aff89