[INFO] fetching crate egls 0.1.7... [INFO] building egls-0.1.7 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate egls 0.1.7 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate egls 0.1.7 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4a5472b5f761c6a3cf59b8afaea81bc9ae75c74183fc5b21c0ce68906175b76 [INFO] running `Command { std: "docker" "start" "-a" "b4a5472b5f761c6a3cf59b8afaea81bc9ae75c74183fc5b21c0ce68906175b76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4a5472b5f761c6a3cf59b8afaea81bc9ae75c74183fc5b21c0ce68906175b76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4a5472b5f761c6a3cf59b8afaea81bc9ae75c74183fc5b21c0ce68906175b76", kill_on_drop: false }` [INFO] [stdout] b4a5472b5f761c6a3cf59b8afaea81bc9ae75c74183fc5b21c0ce68906175b76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 702b606106ce7538b09ccd0c59fd9cc2212912d1132227975acc03d158ae6122 [INFO] running `Command { std: "docker" "start" "-a" "702b606106ce7538b09ccd0c59fd9cc2212912d1132227975acc03d158ae6122", kill_on_drop: false }` [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling xml-rs v0.8.24 [INFO] [stderr] Compiling libc v0.2.169 [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: 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: 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.63s [INFO] running `Command { std: "docker" "inspect" "702b606106ce7538b09ccd0c59fd9cc2212912d1132227975acc03d158ae6122", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "702b606106ce7538b09ccd0c59fd9cc2212912d1132227975acc03d158ae6122", kill_on_drop: false }` [INFO] [stdout] 702b606106ce7538b09ccd0c59fd9cc2212912d1132227975acc03d158ae6122 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] facd32dd7dcd5ce3804d1305eebeaace6ad597585c3b78b4f5c3adaeaa372cfa [INFO] running `Command { std: "docker" "start" "-a" "facd32dd7dcd5ce3804d1305eebeaace6ad597585c3b78b4f5c3adaeaa372cfa", kill_on_drop: false }` [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: 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: 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] [stderr] Compiling egls v0.1.7 (/opt/rustwide/workdir) [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: 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: 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "facd32dd7dcd5ce3804d1305eebeaace6ad597585c3b78b4f5c3adaeaa372cfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "facd32dd7dcd5ce3804d1305eebeaace6ad597585c3b78b4f5c3adaeaa372cfa", kill_on_drop: false }` [INFO] [stdout] facd32dd7dcd5ce3804d1305eebeaace6ad597585c3b78b4f5c3adaeaa372cfa