[INFO] fetching crate sdl2_ttf 0.25.1... [INFO] checking sdl2_ttf-0.25.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-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 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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.4) [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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl2-sys v0.25.0 [INFO] [stderr] Downloaded bitflags v0.6.0 [INFO] [stderr] Downloaded sdl2 v0.25.0 [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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 773cdc72404afb44e6ce2e756339bd28ad4307ba84ba4c53de5bf889a83f5421 [INFO] running `Command { std: "docker" "start" "-a" "773cdc72404afb44e6ce2e756339bd28ad4307ba84ba4c53de5bf889a83f5421", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "773cdc72404afb44e6ce2e756339bd28ad4307ba84ba4c53de5bf889a83f5421", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "773cdc72404afb44e6ce2e756339bd28ad4307ba84ba4c53de5bf889a83f5421", kill_on_drop: false }` [INFO] [stdout] 773cdc72404afb44e6ce2e756339bd28ad4307ba84ba4c53de5bf889a83f5421 [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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3ac0c9c7296cd6c79ba54f369b251ccd00d50e0d991d5b4a91b65d325e4fb83 [INFO] running `Command { std: "docker" "start" "-a" "a3ac0c9c7296cd6c79ba54f369b251ccd00d50e0d991d5b4a91b65d325e4fb83", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling sdl2-sys v0.25.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking bitflags v0.6.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num v0.1.43 [INFO] [stderr] Checking sdl2 v0.25.0 [INFO] [stderr] Checking sdl2_ttf v0.25.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sdl2_ttf/font.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / bitflags! { [INFO] [stdout] 29 | | /// The styling of a font. [INFO] [stdout] 30 | | pub flags FontStyle: ::std::os::raw::c_int { [INFO] [stdout] 31 | | const STYLE_NORMAL = ::ffi::TTF_STYLE_NORMAL, [INFO] [stdout] ... | [INFO] [stdout] 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)]` 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: 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: 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:27 [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:38:36 [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: 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)]` 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:27 [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:38:36 [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 2.55s [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 1` [INFO] running `Command { std: "docker" "inspect" "a3ac0c9c7296cd6c79ba54f369b251ccd00d50e0d991d5b4a91b65d325e4fb83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3ac0c9c7296cd6c79ba54f369b251ccd00d50e0d991d5b4a91b65d325e4fb83", kill_on_drop: false }` [INFO] [stdout] a3ac0c9c7296cd6c79ba54f369b251ccd00d50e0d991d5b4a91b65d325e4fb83