[INFO] fetching crate sdl2_ttf 0.25.1... [INFO] testing sdl2_ttf-0.25.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate sdl2_ttf 0.25.1 into /workspace/builds/worker-1-tc1/source [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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sdl2_ttf 0.25.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 19 packages to latest compatible versions [INFO] [stderr] Adding bitflags v0.6.0 (available: v2.9.3) [INFO] [stderr] Adding sdl2 v0.25.0 (available: v0.38.0) [INFO] [stderr] Adding sdl2-sys v0.25.0 (available: v0.38.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 680c4009af0f35628e157405a1ec6436b9e9e955b481f9eee68d491a0ed8d3b9 [INFO] running `Command { std: "docker" "start" "-a" "680c4009af0f35628e157405a1ec6436b9e9e955b481f9eee68d491a0ed8d3b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "680c4009af0f35628e157405a1ec6436b9e9e955b481f9eee68d491a0ed8d3b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "680c4009af0f35628e157405a1ec6436b9e9e955b481f9eee68d491a0ed8d3b9", kill_on_drop: false }` [INFO] [stdout] 680c4009af0f35628e157405a1ec6436b9e9e955b481f9eee68d491a0ed8d3b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0354ae79961022f609d90dd7a4aadbe2ec55f4d1e66b9a9f0c72868b3937cd6e [INFO] running `Command { std: "docker" "start" "-a" "0354ae79961022f609d90dd7a4aadbe2ec55f4d1e66b9a9f0c72868b3937cd6e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling sdl2-sys v0.25.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling bitflags v0.6.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num v0.1.43 [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] 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] 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: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/sdl2_ttf/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | extern {} [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [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] = 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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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 method `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 method `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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sdl2_ttf/font.rs:274:33 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn internal_load_font(path: &Path, ptsize: u16) -> Result { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 274 | pub fn internal_load_font(path: &Path, ptsize: u16) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sdl2_ttf/font.rs:293:42 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn internal_load_font_at_index(path: &Path, index: u32, ptsize: u16) [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 294 | -> Result { [INFO] [stdout] | ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 294 | -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/sdl2_ttf/context.rs:32:79 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn load_font<'a>(&'a self, path: &'a Path, point_size: u16) -> Result { [INFO] [stdout] | -- -- the lifetime is named here ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 32 | pub fn load_font<'a>(&'a self, path: &'a Path, point_size: u16) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/sdl2_ttf/context.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn load_font_at_index<'a>(&'a self, path: &'a Path, index: u32, point_size: u16) [INFO] [stdout] | -- -- the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 39 | -> Result { [INFO] [stdout] | ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 39 | -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.73s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.6.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "0354ae79961022f609d90dd7a4aadbe2ec55f4d1e66b9a9f0c72868b3937cd6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0354ae79961022f609d90dd7a4aadbe2ec55f4d1e66b9a9f0c72868b3937cd6e", kill_on_drop: false }` [INFO] [stdout] 0354ae79961022f609d90dd7a4aadbe2ec55f4d1e66b9a9f0c72868b3937cd6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31381325229fa15bd94fb206f1b96f2393f083d00e556d5e343942d25e68e288 [INFO] running `Command { std: "docker" "start" "-a" "31381325229fa15bd94fb206f1b96f2393f083d00e556d5e343942d25e68e288", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] 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] 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] [stderr] Compiling sdl2_ttf v0.25.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/sdl2_ttf/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | extern {} [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [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] = 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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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 method `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 method `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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sdl2_ttf/font.rs:274:33 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn internal_load_font(path: &Path, ptsize: u16) -> Result { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 274 | pub fn internal_load_font(path: &Path, ptsize: u16) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sdl2_ttf/font.rs:293:42 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn internal_load_font_at_index(path: &Path, index: u32, ptsize: u16) [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 294 | -> Result { [INFO] [stdout] | ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 294 | -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/sdl2_ttf/context.rs:32:79 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn load_font<'a>(&'a self, path: &'a Path, point_size: u16) -> Result { [INFO] [stdout] | -- -- the lifetime is named here ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 32 | pub fn load_font<'a>(&'a self, path: &'a Path, point_size: u16) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/sdl2_ttf/context.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn load_font_at_index<'a>(&'a self, path: &'a Path, index: u32, point_size: u16) [INFO] [stdout] | -- -- the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 39 | -> Result { [INFO] [stdout] | ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 39 | -> Result, String> { [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: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] 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] 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: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/sdl2_ttf/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | extern {} [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [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] = 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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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 method `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 method `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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sdl2_ttf/font.rs:274:33 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn internal_load_font(path: &Path, ptsize: u16) -> Result { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 274 | pub fn internal_load_font(path: &Path, ptsize: u16) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sdl2_ttf/font.rs:293:42 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn internal_load_font_at_index(path: &Path, index: u32, ptsize: u16) [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 294 | -> Result { [INFO] [stdout] | ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 294 | -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/sdl2_ttf/context.rs:32:79 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn load_font<'a>(&'a self, path: &'a Path, point_size: u16) -> Result { [INFO] [stdout] | -- -- the lifetime is named here ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 32 | pub fn load_font<'a>(&'a self, path: &'a Path, point_size: u16) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/sdl2_ttf/context.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn load_font_at_index<'a>(&'a self, path: &'a Path, index: u32, point_size: u16) [INFO] [stdout] | -- -- the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 39 | -> Result { [INFO] [stdout] | ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 39 | -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustc7i3wlC/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-lSDL2_ttf" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libsdl2-4d1b5b7256af4ffb,librand-db4f03f0d07f6206,librand-4a382378a315cf33,libsdl2_sys-8ab33e687bcaa873,libbitflags-cf0e6924054c14d8,liblazy_static-d8dece1d67af894f,liblibc-a58beeab2e1413cc,libnum-5798cb7eef2de513,libnum_iter-739ff038a55c8c6a,libnum_integer-495a495718461c33,libnum_traits-e05972f153d0dad0}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustc7i3wlC/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/sdl2_ttf-dd62ffa93280b679" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lSDL2_ttf [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sdl2_ttf` (lib test) due to 1 previous error; 18 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" "/tmp/rustcYyRUKI/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libsdl2_ttf-d0491cc40cfdf323,libsdl2-4d1b5b7256af4ffb,librand-db4f03f0d07f6206,librand-4a382378a315cf33,libsdl2_sys-8ab33e687bcaa873,libbitflags-cf0e6924054c14d8,liblazy_static-d8dece1d67af894f,liblibc-a58beeab2e1413cc,libnum-5798cb7eef2de513,libnum_iter-739ff038a55c8c6a,libnum_integer-495a495718461c33,libnum_traits-e05972f153d0dad0}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lSDL2_ttf" "-lSDL2" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcYyRUKI/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/demo-1ecc34b1840ab69b" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lSDL2_ttf [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sdl2_ttf` (example "demo") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "31381325229fa15bd94fb206f1b96f2393f083d00e556d5e343942d25e68e288", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31381325229fa15bd94fb206f1b96f2393f083d00e556d5e343942d25e68e288", kill_on_drop: false }` [INFO] [stdout] 31381325229fa15bd94fb206f1b96f2393f083d00e556d5e343942d25e68e288