[INFO] fetching crate egls 0.1.7... [INFO] checking egls-0.1.7 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate egls 0.1.7 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate egls 0.1.7 [INFO] finished tweaking crates.io crate egls 0.1.7 [INFO] tweaked toml for crates.io crate egls 0.1.7 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate egls 0.1.7 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c64594b4ea52abec9afb581506715583c3b01ecabd595bb2d6657407e5b6974c [INFO] running `Command { std: "docker" "start" "-a" "c64594b4ea52abec9afb581506715583c3b01ecabd595bb2d6657407e5b6974c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c64594b4ea52abec9afb581506715583c3b01ecabd595bb2d6657407e5b6974c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c64594b4ea52abec9afb581506715583c3b01ecabd595bb2d6657407e5b6974c", kill_on_drop: false }` [INFO] [stdout] c64594b4ea52abec9afb581506715583c3b01ecabd595bb2d6657407e5b6974c [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 224c6f62e03c72a5bd3d419d8afc65ec9c5721d7a6fc021f8efcf14bfd8b1cb4 [INFO] running `Command { std: "docker" "start" "-a" "224c6f62e03c72a5bd3d419d8afc65ec9c5721d7a6fc021f8efcf14bfd8b1cb4", kill_on_drop: false }` [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling egls v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/env.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/env.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/env.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/platform/dummy.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `strides` [INFO] [stdout] --> src/platform/dummy.rs:51:95 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn with_strides(_phy_addr: u64, _width: isize, _height: isize, _format: PixmapFormat, strides: &[usize]) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_strides` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loadfn` [INFO] [stdout] --> src/egl.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | fn inner(loadfn: &mut dyn FnMut(&'static str) -> *const __gl_imports::raw::c_void) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_loadfn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/platform/dummy.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `strides` [INFO] [stdout] --> src/platform/dummy.rs:51:95 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn with_strides(_phy_addr: u64, _width: isize, _height: isize, _format: PixmapFormat, strides: &[usize]) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_strides` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/env.rs:202:29 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn with_window_size(mut self, _width: usize, _height: usize) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loadfn` [INFO] [stdout] --> src/egl.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | fn inner(loadfn: &mut dyn FnMut(&'static str) -> *const __gl_imports::raw::c_void) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_loadfn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `egl_init` is never used [INFO] [stdout] --> src/apis.rs:448:8 [INFO] [stdout] | [INFO] [stdout] 448 | fn egl_init() -> (so::SharedObject, egl::EGLDisplay) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `so` and `win` are never read [INFO] [stdout] --> src/env.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Environment { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 11 | so: SharedObject, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 15 | win: EGLNativeWindowType, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Environment` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `offscreen` is never read [INFO] [stdout] --> src/env.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 68 | struct EnvironmentOptions { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 77 | offscreen: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnvironmentOptions` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/env.rs:202:29 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn with_window_size(mut self, _width: usize, _height: usize) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `so` and `win` are never read [INFO] [stdout] --> src/env.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Environment { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 11 | so: SharedObject, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 15 | win: EGLNativeWindowType, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Environment` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `offscreen` is never read [INFO] [stdout] --> src/env.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 68 | struct EnvironmentOptions { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 77 | offscreen: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnvironmentOptions` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.68s [INFO] running `Command { std: "docker" "inspect" "224c6f62e03c72a5bd3d419d8afc65ec9c5721d7a6fc021f8efcf14bfd8b1cb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "224c6f62e03c72a5bd3d419d8afc65ec9c5721d7a6fc021f8efcf14bfd8b1cb4", kill_on_drop: false }` [INFO] [stdout] 224c6f62e03c72a5bd3d419d8afc65ec9c5721d7a6fc021f8efcf14bfd8b1cb4