[INFO] fetching crate sdl2_ttf 0.25.1... [INFO] testing sdl2_ttf-0.25.1 against 1.55.0 for beta-1.56-1 [INFO] extracting crate sdl2_ttf 0.25.1 into /workspace/builds/worker-110/source [INFO] validating manifest of crates.io crate sdl2_ttf 0.25.1 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-110/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af7bc1ad0a78cd147469081061a9174ec073ed2da4a6a01f8eb0e4b284f21dd2 [INFO] running `Command { std: "docker" "start" "-a" "af7bc1ad0a78cd147469081061a9174ec073ed2da4a6a01f8eb0e4b284f21dd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af7bc1ad0a78cd147469081061a9174ec073ed2da4a6a01f8eb0e4b284f21dd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af7bc1ad0a78cd147469081061a9174ec073ed2da4a6a01f8eb0e4b284f21dd2", kill_on_drop: false }` [INFO] [stdout] af7bc1ad0a78cd147469081061a9174ec073ed2da4a6a01f8eb0e4b284f21dd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c0f219d22bde429546427dbec8e125fa355b89dd7a44e80b93823cd0ae2008c [INFO] running `Command { std: "docker" "start" "-a" "3c0f219d22bde429546427dbec8e125fa355b89dd7a44e80b93823cd0ae2008c", kill_on_drop: false }` [INFO] [stderr] Compiling sdl2-sys v0.25.0 [INFO] [stderr] Compiling bitflags v0.6.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sdl2 v0.25.0 [INFO] [stderr] Compiling 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: 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 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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.83s [INFO] running `Command { std: "docker" "inspect" "3c0f219d22bde429546427dbec8e125fa355b89dd7a44e80b93823cd0ae2008c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c0f219d22bde429546427dbec8e125fa355b89dd7a44e80b93823cd0ae2008c", kill_on_drop: false }` [INFO] [stdout] 3c0f219d22bde429546427dbec8e125fa355b89dd7a44e80b93823cd0ae2008c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7de1d52b73b589c9251b6d7a7e2934fb79811b51f8a21610d8cd761636a21f90 [INFO] running `Command { std: "docker" "start" "-a" "7de1d52b73b589c9251b6d7a7e2934fb79811b51f8a21610d8cd761636a21f90", kill_on_drop: false }` [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: 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] [stderr] Compiling 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: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/context.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | error.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [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: 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/context.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | error.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/sdl2_ttf-2b93f7f66349f8c5.sdl2_ttf.3c781c6f-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2_ttf-2b93f7f66349f8c5.sdl2_ttf.3c781c6f-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2_ttf-2b93f7f66349f8c5.sdl2_ttf.3c781c6f-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2_ttf-2b93f7f66349f8c5.sdl2_ttf.3c781c6f-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2_ttf-2b93f7f66349f8c5.sdl2_ttf.3c781c6f-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2_ttf-2b93f7f66349f8c5.sdl2_ttf.3c781c6f-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2_ttf-2b93f7f66349f8c5.sdl2_ttf.3c781c6f-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2_ttf-2b93f7f66349f8c5.sdl2_ttf.3c781c6f-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2_ttf-2b93f7f66349f8c5.3rsi6ilv2c4hoade.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lSDL2_ttf" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-ae0b9de85e81d76f.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-dd17e7b765638f54.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-e55ce254123a1c62.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-c91921c83bf98d74.rlib" "/opt/rustwide/target/debug/deps/libsdl2-13876ea77fb4f298.rlib" "/opt/rustwide/target/debug/deps/librand-e923541b005b113c.rlib" "/opt/rustwide/target/debug/deps/librand-b503f64fe767ccd3.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-390d07c69514a0f8.rlib" "/opt/rustwide/target/debug/deps/libbitflags-c6a9c0efe3c61278.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-0225df2dd3a5ccbd.rlib" "/opt/rustwide/target/debug/deps/liblibc-7085dace614ae946.rlib" "/opt/rustwide/target/debug/deps/libnum-4ddf2e9c069e4bbb.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-25b3d39e048407a4.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-cc97572375c3091b.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-7b6445d372d84407.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/sdl2_ttf-2b93f7f66349f8c5" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lSDL2_ttf [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/demo-511b74db5b4cc3b7.demo.01cb4802-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/demo-511b74db5b4cc3b7.demo.01cb4802-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/demo-511b74db5b4cc3b7.demo.01cb4802-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/demo-511b74db5b4cc3b7.demo.01cb4802-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/demo-511b74db5b4cc3b7.demo.01cb4802-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/demo-511b74db5b4cc3b7.demo.01cb4802-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/demo-511b74db5b4cc3b7.demo.01cb4802-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/demo-511b74db5b4cc3b7.demo.01cb4802-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/demo-511b74db5b4cc3b7.demo.01cb4802-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/demo-511b74db5b4cc3b7.demo.01cb4802-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/demo-511b74db5b4cc3b7.demo.01cb4802-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/demo-511b74db5b4cc3b7.demo.01cb4802-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/demo-511b74db5b4cc3b7.demo.01cb4802-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/demo-511b74db5b4cc3b7.demo.01cb4802-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/demo-511b74db5b4cc3b7.demo.01cb4802-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/demo-511b74db5b4cc3b7.demo.01cb4802-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/demo-511b74db5b4cc3b7.2jf2tq6seyl0gw5l.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl2_ttf-7fbad3c0b0a79628.rlib" "/opt/rustwide/target/debug/deps/libsdl2-13876ea77fb4f298.rlib" "/opt/rustwide/target/debug/deps/librand-e923541b005b113c.rlib" "/opt/rustwide/target/debug/deps/librand-b503f64fe767ccd3.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-390d07c69514a0f8.rlib" "/opt/rustwide/target/debug/deps/libbitflags-c6a9c0efe3c61278.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-0225df2dd3a5ccbd.rlib" "/opt/rustwide/target/debug/deps/liblibc-7085dace614ae946.rlib" "/opt/rustwide/target/debug/deps/libnum-4ddf2e9c069e4bbb.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-25b3d39e048407a4.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-cc97572375c3091b.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-7b6445d372d84407.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.rlib" "-Wl,-Bdynamic" "-lSDL2_ttf" "-lSDL2" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/demo-511b74db5b4cc3b7" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lSDL2_ttf [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sdl2_ttf` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7de1d52b73b589c9251b6d7a7e2934fb79811b51f8a21610d8cd761636a21f90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7de1d52b73b589c9251b6d7a7e2934fb79811b51f8a21610d8cd761636a21f90", kill_on_drop: false }` [INFO] [stdout] 7de1d52b73b589c9251b6d7a7e2934fb79811b51f8a21610d8cd761636a21f90