[INFO] fetching crate sdl2_ttf 0.25.1... [INFO] checking sdl2_ttf-0.25.1 against try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] extracting crate sdl2_ttf 0.25.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate sdl2_ttf 0.25.1 on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sdl2_ttf 0.25.1 [INFO] finished tweaking crates.io crate sdl2_ttf 0.25.1 [INFO] tweaked toml for crates.io crate sdl2_ttf 0.25.1 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v0.6.0 [INFO] [stderr] Downloaded sdl2-sys v0.25.0 [INFO] [stderr] Downloaded sdl2 v0.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d1d768169bb0171022505767c0eb22659ca01c71391a74e9338d4442088991d [INFO] running `Command { std: "docker" "start" "-a" "1d1d768169bb0171022505767c0eb22659ca01c71391a74e9338d4442088991d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d1d768169bb0171022505767c0eb22659ca01c71391a74e9338d4442088991d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d1d768169bb0171022505767c0eb22659ca01c71391a74e9338d4442088991d", kill_on_drop: false }` [INFO] [stdout] 1d1d768169bb0171022505767c0eb22659ca01c71391a74e9338d4442088991d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5af5f0f598f356790bed73e2ce332cff82c9d560c836cbadd2265505ae432ba0 [INFO] running `Command { std: "docker" "start" "-a" "5af5f0f598f356790bed73e2ce332cff82c9d560c836cbadd2265505ae432ba0", kill_on_drop: false }` [INFO] [stderr] Compiling sdl2-sys v0.25.0 [INFO] [stderr] Checking bitflags v0.6.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking sdl2 v0.25.0 [INFO] [stderr] Checking sdl2_ttf v0.25.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sdl2_ttf/font.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / bitflags! { [INFO] [stdout] 29 | | /// The styling of a font. [INFO] [stdout] 30 | | pub flags FontStyle: ::std::os::raw::c_int { [INFO] [stdout] 31 | | const STYLE_NORMAL = ::ffi::TTF_STYLE_NORMAL, [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sdl2_ttf/font.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / bitflags! { [INFO] [stdout] 29 | | /// The styling of a font. [INFO] [stdout] 30 | | pub flags FontStyle: ::std::os::raw::c_int { [INFO] [stdout] 31 | | const STYLE_NORMAL = ::ffi::TTF_STYLE_NORMAL, [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sdl2_ttf/font.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / bitflags! { [INFO] [stdout] 29 | | /// The styling of a font. [INFO] [stdout] 30 | | pub flags FontStyle: ::std::os::raw::c_int { [INFO] [stdout] 31 | | const STYLE_NORMAL = ::ffi::TTF_STYLE_NORMAL, [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sdl2_ttf/font.rs:83:32 [INFO] [stdout] | [INFO] [stdout] 83 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn 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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sdl2_ttf/font.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 163 | let source = try!(self.text.convert()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sdl2_ttf/font.rs:185:22 [INFO] [stdout] | [INFO] [stdout] 185 | let source = try!(self.text.convert()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sdl2_ttf/font.rs:208:22 [INFO] [stdout] | [INFO] [stdout] 208 | let source = try!(self.text.convert()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sdl2_ttf/font.rs:231:22 [INFO] [stdout] | [INFO] [stdout] 231 | let source = try!(self.text.convert()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sdl2_ttf/font.rs:344:24 [INFO] [stdout] | [INFO] [stdout] 344 | let c_string = try!(RenderableText::Utf8(text).convert()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sdl2_ttf/font.rs:363:24 [INFO] [stdout] | [INFO] [stdout] 363 | let c_string = try!(RenderableText::Latin1(text).convert()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sdl2_ttf/context.rs:100:32 [INFO] [stdout] | [INFO] [stdout] 100 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sdl2_ttf/font.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / bitflags! { [INFO] [stdout] 29 | | /// The styling of a font. [INFO] [stdout] 30 | | pub flags FontStyle: ::std::os::raw::c_int { [INFO] [stdout] 31 | | const STYLE_NORMAL = ::ffi::TTF_STYLE_NORMAL, [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sdl2_ttf/font.rs:83:32 [INFO] [stdout] | [INFO] [stdout] 83 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn 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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sdl2_ttf/font.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 163 | let source = try!(self.text.convert()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sdl2_ttf/font.rs:185:22 [INFO] [stdout] | [INFO] [stdout] 185 | let source = try!(self.text.convert()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sdl2_ttf/font.rs:208:22 [INFO] [stdout] | [INFO] [stdout] 208 | let source = try!(self.text.convert()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sdl2_ttf/font.rs:231:22 [INFO] [stdout] | [INFO] [stdout] 231 | let source = try!(self.text.convert()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sdl2_ttf/font.rs:344:24 [INFO] [stdout] | [INFO] [stdout] 344 | let c_string = try!(RenderableText::Utf8(text).convert()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sdl2_ttf/font.rs:363:24 [INFO] [stdout] | [INFO] [stdout] 363 | let c_string = try!(RenderableText::Latin1(text).convert()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sdl2_ttf/context.rs:100:32 [INFO] [stdout] | [INFO] [stdout] 100 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [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: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sdl2_ttf/font.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | error.description() [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/sdl2_ttf/font.rs:99:60 [INFO] [stdout] | [INFO] [stdout] 99 | write!(f, "Invalid Latin-1 bytes: {}", err.description()) [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/sdl2_ttf/font.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | error.description() [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/sdl2_ttf/font.rs:99:60 [INFO] [stdout] | [INFO] [stdout] 99 | write!(f, "Invalid Latin-1 bytes: {}", err.description()) [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/sdl2_ttf/context.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | error.description() [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/sdl2_ttf/context.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | error.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.93s [INFO] running `Command { std: "docker" "inspect" "5af5f0f598f356790bed73e2ce332cff82c9d560c836cbadd2265505ae432ba0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5af5f0f598f356790bed73e2ce332cff82c9d560c836cbadd2265505ae432ba0", kill_on_drop: false }` [INFO] [stdout] 5af5f0f598f356790bed73e2ce332cff82c9d560c836cbadd2265505ae432ba0