[INFO] fetching crate glium_sdl2 0.15.0... [INFO] checking glium_sdl2-0.15.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate glium_sdl2 0.15.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate glium_sdl2 0.15.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate glium_sdl2 0.15.0 [INFO] finished tweaking crates.io crate glium_sdl2 0.15.0 [INFO] tweaked toml for crates.io crate glium_sdl2 0.15.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clock_ticks v0.1.1 [INFO] [stderr] Downloaded obj v0.5.0 [INFO] [stderr] Downloaded glium v0.18.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 725ce58bb7dcc176a5e92a3e0e09eca0c384bcc4deec419b61562edb091fb25d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "725ce58bb7dcc176a5e92a3e0e09eca0c384bcc4deec419b61562edb091fb25d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "725ce58bb7dcc176a5e92a3e0e09eca0c384bcc4deec419b61562edb091fb25d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "725ce58bb7dcc176a5e92a3e0e09eca0c384bcc4deec419b61562edb091fb25d", kill_on_drop: false }` [INFO] [stdout] 725ce58bb7dcc176a5e92a3e0e09eca0c384bcc4deec419b61562edb091fb25d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a864348ba637ac69fab19e6dabfd10f45ef3797b6d1b8495511fef089aac560 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2a864348ba637ac69fab19e6dabfd10f45ef3797b6d1b8495511fef089aac560", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling sdl2-sys v0.30.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.24.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking rustc-demangle v0.1.20 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking smallvec v0.4.5 [INFO] [stderr] Checking clock_ticks v0.1.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking object v0.25.3 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling gl_generator v0.6.1 [INFO] [stderr] Checking addr2line v0.15.2 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking cgmath v0.14.1 [INFO] [stderr] Compiling glium v0.18.1 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking sdl2 v0.30.0 [INFO] [stderr] Checking genmesh v0.4.3 [INFO] [stderr] Checking obj v0.5.0 [INFO] [stderr] Checking glium_sdl2 v0.15.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/lib.rs:186:32 [INFO] [stdout] | [INFO] [stdout] 186 | fn build_glium_debug(self, debug::DebugCallbackBehavior) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: debug::DebugCallbackBehavior` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/lib.rs:200:49 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn build_glium_unchecked_debug(self, debug::DebugCallbackBehavior) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: debug::DebugCallbackBehavior` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:213:31 [INFO] [stdout] | [INFO] [stdout] 213 | let backend = Rc::new(try!(SDL2WindowBackend::new(self))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:214:23 [INFO] [stdout] | [INFO] [stdout] 214 | let context = try!(unsafe { Context::new(backend.clone(), true, debug) }); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:225:31 [INFO] [stdout] | [INFO] [stdout] 225 | let backend = Rc::new(try!(SDL2WindowBackend::new(self))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:226:23 [INFO] [stdout] | [INFO] [stdout] 226 | let context = try!(Context::new(backend.clone(), false, debug)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:262:22 [INFO] [stdout] | [INFO] [stdout] 262 | let window = try!(window_builder.opengl().build()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:263:23 [INFO] [stdout] | [INFO] [stdout] 263 | let context = try!(window.gl_create_context()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/lib.rs:186:32 [INFO] [stdout] | [INFO] [stdout] 186 | fn build_glium_debug(self, debug::DebugCallbackBehavior) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: debug::DebugCallbackBehavior` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/lib.rs:200:49 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn build_glium_unchecked_debug(self, debug::DebugCallbackBehavior) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: debug::DebugCallbackBehavior` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:213:31 [INFO] [stdout] | [INFO] [stdout] 213 | let backend = Rc::new(try!(SDL2WindowBackend::new(self))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:214:23 [INFO] [stdout] | [INFO] [stdout] 214 | let context = try!(unsafe { Context::new(backend.clone(), true, debug) }); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:225:31 [INFO] [stdout] | [INFO] [stdout] 225 | let backend = Rc::new(try!(SDL2WindowBackend::new(self))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:226:23 [INFO] [stdout] | [INFO] [stdout] 226 | let context = try!(Context::new(backend.clone(), false, debug)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:262:22 [INFO] [stdout] | [INFO] [stdout] 262 | let window = try!(window_builder.opengl().build()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:263:23 [INFO] [stdout] | [INFO] [stdout] 263 | let context = try!(window.gl_create_context()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:99:62 [INFO] [stdout] | [INFO] [stdout] 99 | GliumSdl2Error::WindowBuildError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:106:62 [INFO] [stdout] | [INFO] [stdout] 106 | GliumSdl2Error::WindowBuildError(ref err) => err.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:99:62 [INFO] [stdout] | [INFO] [stdout] 99 | GliumSdl2Error::WindowBuildError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:106:62 [INFO] [stdout] | [INFO] [stdout] 106 | GliumSdl2Error::WindowBuildError(ref err) => err.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/blank.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> examples/tutorial01.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | implement_vertex!(Vertex, position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> examples/support/mod.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | implement_vertex!(Vertex, position, normal, texture); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> examples/support/mod.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | implement_vertex!(Vertex, position, normal, texture); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.81s [INFO] running `Command { std: "docker" "inspect" "2a864348ba637ac69fab19e6dabfd10f45ef3797b6d1b8495511fef089aac560", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a864348ba637ac69fab19e6dabfd10f45ef3797b6d1b8495511fef089aac560", kill_on_drop: false }` [INFO] [stdout] 2a864348ba637ac69fab19e6dabfd10f45ef3797b6d1b8495511fef089aac560