[INFO] fetching crate sdl2_ttf 0.25.1... [INFO] testing sdl2_ttf-0.25.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate sdl2_ttf 0.25.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate sdl2_ttf 0.25.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl2-sys v0.25.0 [INFO] [stderr] Downloaded sdl2 v0.25.0 [INFO] [stderr] Downloaded bitflags v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f95983011ee10cb80273e584b48417f7e297abb51ba994085821ec33de8426ea [INFO] running `Command { std: "docker" "start" "-a" "f95983011ee10cb80273e584b48417f7e297abb51ba994085821ec33de8426ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f95983011ee10cb80273e584b48417f7e297abb51ba994085821ec33de8426ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f95983011ee10cb80273e584b48417f7e297abb51ba994085821ec33de8426ea", kill_on_drop: false }` [INFO] [stdout] f95983011ee10cb80273e584b48417f7e297abb51ba994085821ec33de8426ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4014a36df31be07cf9e4b303f4a6a245f0a94e2c8b9f98a893116279a9dc8484 [INFO] running `Command { std: "docker" "start" "-a" "4014a36df31be07cf9e4b303f4a6a245f0a94e2c8b9f98a893116279a9dc8484", kill_on_drop: false }` [INFO] [stderr] Compiling sdl2-sys v0.25.0 [INFO] [stderr] Compiling bitflags v0.6.0 [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: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/font.rs:83:32 [INFO] [stdout] | [INFO] [stdout] 83 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 83 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 83 + fn cause(&self) -> Option<&dyn error::Error> { [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 100 + fn cause(&self) -> Option<&dyn error::Error> { [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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.31s [INFO] running `Command { std: "docker" "inspect" "4014a36df31be07cf9e4b303f4a6a245f0a94e2c8b9f98a893116279a9dc8484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4014a36df31be07cf9e4b303f4a6a245f0a94e2c8b9f98a893116279a9dc8484", kill_on_drop: false }` [INFO] [stdout] 4014a36df31be07cf9e4b303f4a6a245f0a94e2c8b9f98a893116279a9dc8484 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] de3625a481ce9e8fa99688f4082e4c3e25cb8f776159277367d06b0476b72719 [INFO] running `Command { std: "docker" "start" "-a" "de3625a481ce9e8fa99688f4082e4c3e25cb8f776159277367d06b0476b72719", 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: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] [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: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/font.rs:83:32 [INFO] [stdout] | [INFO] [stdout] 83 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 83 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 83 + fn cause(&self) -> Option<&dyn error::Error> { [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 100 + fn cause(&self) -> Option<&dyn error::Error> { [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: 13 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: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/font.rs:83:32 [INFO] [stdout] | [INFO] [stdout] 83 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 83 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 83 + fn cause(&self) -> Option<&dyn error::Error> { [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 100 + fn cause(&self) -> Option<&dyn error::Error> { [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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/sdl2_ttf-e18b19a33d3a5d05.sdl2_ttf.9c621f99-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2_ttf-e18b19a33d3a5d05.sdl2_ttf.9c621f99-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2_ttf-e18b19a33d3a5d05.sdl2_ttf.9c621f99-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2_ttf-e18b19a33d3a5d05.sdl2_ttf.9c621f99-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2_ttf-e18b19a33d3a5d05.sdl2_ttf.9c621f99-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2_ttf-e18b19a33d3a5d05.sdl2_ttf.9c621f99-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2_ttf-e18b19a33d3a5d05.16pv5nlbaxamiiuq.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lSDL2_ttf" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-b6a068090bf40c71.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-1c1e08c768cd8903.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-3f4474e7a3a1f53f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-ec55ab174918e77a.rlib" "/opt/rustwide/target/debug/deps/libsdl2-79d00ac89888f9a5.rlib" "/opt/rustwide/target/debug/deps/librand-d54953e4322f73ee.rlib" "/opt/rustwide/target/debug/deps/librand-e1ff99d7365d2f72.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-e709fe2c51e44188.rlib" "/opt/rustwide/target/debug/deps/libbitflags-be1a06506659e107.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-e7857b9bcc96adbb.rlib" "/opt/rustwide/target/debug/deps/liblibc-cbcf0797f466a12c.rlib" "/opt/rustwide/target/debug/deps/libnum-a7fcace8b584b366.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-8f34e6e06bd01354.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-ab8040034daf36d5.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-fee3ef04727f9865.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8d61b92a0a02f53a.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fc45202bb435016b.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2400674c7513725.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-605c3a7d1a5d300d.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3d4fb4efa907e4e8.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-65207f030ab23308.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-76ca199cb0186109.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1e3e01ed4f561dc1.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-dd8dddcba7c13fee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-00b13d31c3420656.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e4c8460b81557bd5.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-600d46e5f0005455.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e4a08a2585b62d37.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fbc21ec567cb9dc7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-10b3fa8e49bd978f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-64625b73694ffce7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-fb6b78ac543a58ee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1d1f2d1bec6f51b8.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-acf5ff6e9595d982.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.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/sdl2_ttf-e18b19a33d3a5d05" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-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; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sdl2_ttf` due to 2 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/demo-e113dbf01e10c8eb.demo.a7b1e1a7-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/demo-e113dbf01e10c8eb.demo.a7b1e1a7-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/demo-e113dbf01e10c8eb.demo.a7b1e1a7-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/demo-e113dbf01e10c8eb.demo.a7b1e1a7-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/demo-e113dbf01e10c8eb.demo.a7b1e1a7-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/demo-e113dbf01e10c8eb.demo.a7b1e1a7-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/demo-e113dbf01e10c8eb.demo.a7b1e1a7-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/demo-e113dbf01e10c8eb.demo.a7b1e1a7-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/demo-e113dbf01e10c8eb.demo.a7b1e1a7-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/demo-e113dbf01e10c8eb.demo.a7b1e1a7-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/demo-e113dbf01e10c8eb.demo.a7b1e1a7-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/demo-e113dbf01e10c8eb.demo.a7b1e1a7-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/demo-e113dbf01e10c8eb.demo.a7b1e1a7-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/demo-e113dbf01e10c8eb.demo.a7b1e1a7-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/demo-e113dbf01e10c8eb.demo.a7b1e1a7-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/demo-e113dbf01e10c8eb.demo.a7b1e1a7-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/demo-e113dbf01e10c8eb.3ijakqi5s1jodcm9.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl2_ttf-e6983446ad58be0f.rlib" "/opt/rustwide/target/debug/deps/libsdl2-79d00ac89888f9a5.rlib" "/opt/rustwide/target/debug/deps/librand-d54953e4322f73ee.rlib" "/opt/rustwide/target/debug/deps/librand-e1ff99d7365d2f72.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-e709fe2c51e44188.rlib" "/opt/rustwide/target/debug/deps/libbitflags-be1a06506659e107.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-e7857b9bcc96adbb.rlib" "/opt/rustwide/target/debug/deps/liblibc-cbcf0797f466a12c.rlib" "/opt/rustwide/target/debug/deps/libnum-a7fcace8b584b366.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-8f34e6e06bd01354.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-ab8040034daf36d5.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-fee3ef04727f9865.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8d61b92a0a02f53a.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fc45202bb435016b.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2400674c7513725.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-605c3a7d1a5d300d.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3d4fb4efa907e4e8.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-65207f030ab23308.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-76ca199cb0186109.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1e3e01ed4f561dc1.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-dd8dddcba7c13fee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-00b13d31c3420656.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e4c8460b81557bd5.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-600d46e5f0005455.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e4a08a2585b62d37.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fbc21ec567cb9dc7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-10b3fa8e49bd978f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-64625b73694ffce7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-fb6b78ac543a58ee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1d1f2d1bec6f51b8.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-acf5ff6e9595d982.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.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/demo-e113dbf01e10c8eb" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "de3625a481ce9e8fa99688f4082e4c3e25cb8f776159277367d06b0476b72719", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de3625a481ce9e8fa99688f4082e4c3e25cb8f776159277367d06b0476b72719", kill_on_drop: false }` [INFO] [stdout] de3625a481ce9e8fa99688f4082e4c3e25cb8f776159277367d06b0476b72719