[INFO] fetching crate ft2 0.2.1... [INFO] testing ft2-0.2.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate ft2 0.2.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate ft2 0.2.1 [INFO] finished tweaking crates.io crate ft2 0.2.1 [INFO] tweaked toml for crates.io crate ft2 0.2.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ft2 0.2.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ft2 0.2.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b87322011eaef23c76aeea5234c53f8b761da0d9e52fc37cc8e59fb303a2f5c5 [INFO] running `Command { std: "docker" "start" "-a" "b87322011eaef23c76aeea5234c53f8b761da0d9e52fc37cc8e59fb303a2f5c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b87322011eaef23c76aeea5234c53f8b761da0d9e52fc37cc8e59fb303a2f5c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b87322011eaef23c76aeea5234c53f8b761da0d9e52fc37cc8e59fb303a2f5c5", kill_on_drop: false }` [INFO] [stdout] b87322011eaef23c76aeea5234c53f8b761da0d9e52fc37cc8e59fb303a2f5c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21b29fbae0de731a5c9b1ef38d1596992bdfe93951f608345c8697dc2eadce1a [INFO] running `Command { std: "docker" "start" "-a" "21b29fbae0de731a5c9b1ef38d1596992bdfe93951f608345c8697dc2eadce1a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling utf v0.1.6 [INFO] [stderr] Compiling flags v0.1.5 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling fallible v0.1.3 [INFO] [stderr] Compiling null-terminated v0.3.15 [INFO] [stderr] Compiling freetype-sys v0.7.1 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling ft2 v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/glyph_slot.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn outline(&self) -> Option { [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] 72 | pub fn outline(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/library.rs:48:49 [INFO] [stdout] | [INFO] [stdout] 48 | ::error::from_ftret(ffi::FT_New_Library(&mut MEMORY, &mut raw))?; [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 48 | ::error::from_ftret(ffi::FT_New_Library(&raw mut MEMORY, &mut raw))?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.12s [INFO] running `Command { std: "docker" "inspect" "21b29fbae0de731a5c9b1ef38d1596992bdfe93951f608345c8697dc2eadce1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21b29fbae0de731a5c9b1ef38d1596992bdfe93951f608345c8697dc2eadce1a", kill_on_drop: false }` [INFO] [stdout] 21b29fbae0de731a5c9b1ef38d1596992bdfe93951f608345c8697dc2eadce1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98a373e0ba5c16c365100cc581d690db4e53e60e8cd8303fa0eae2d291893b37 [INFO] running `Command { std: "docker" "start" "-a" "98a373e0ba5c16c365100cc581d690db4e53e60e8cd8303fa0eae2d291893b37", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/glyph_slot.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn outline(&self) -> Option { [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] 72 | pub fn outline(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/library.rs:48:49 [INFO] [stdout] | [INFO] [stdout] 48 | ::error::from_ftret(ffi::FT_New_Library(&mut MEMORY, &mut raw))?; [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 48 | ::error::from_ftret(ffi::FT_New_Library(&raw mut MEMORY, &mut raw))?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling ft2 v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `String: AsRef>` is not satisfied [INFO] [stdout] --> examples/single_glyph.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | let face = library.new_face(font, 0).unwrap(); [INFO] [stdout] | -------- ^^^^ the trait `AsRef>` is not implemented for `String` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `AsRef`: [INFO] [stdout] `String` implements `AsRef` [INFO] [stdout] `String` implements `AsRef` [INFO] [stdout] `String` implements `AsRef<[u8]>` [INFO] [stdout] `String` implements `AsRef` [INFO] [stdout] = note: required for `&String` to implement `AsRef>` [INFO] [stdout] note: required by a bound in `Library::new_face` [INFO] [stdout] --> /opt/rustwide/workdir/src/library.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new_face

(&self, path: P, face_index: isize) -> FtResult> [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 56 | where P: AsRef> { unsafe { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `Library::new_face` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: AsRef>` is not satisfied [INFO] [stdout] --> examples/glyph_outline.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | let face = library.new_face(font, 0).unwrap(); [INFO] [stdout] | -------- ^^^^ the trait `AsRef>` is not implemented for `String` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `AsRef`: [INFO] [stdout] `String` implements `AsRef` [INFO] [stdout] `String` implements `AsRef` [INFO] [stdout] `String` implements `AsRef<[u8]>` [INFO] [stdout] `String` implements `AsRef` [INFO] [stdout] = note: required for `&String` to implement `AsRef>` [INFO] [stdout] note: required by a bound in `Library::new_face` [INFO] [stdout] --> /opt/rustwide/workdir/src/library.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new_face

(&self, path: P, face_index: isize) -> FtResult> [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 56 | where P: AsRef> { unsafe { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `Library::new_face` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ft2` (example "glyph_outline") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ft2` (example "single_glyph") due to 1 previous error [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/glyph_slot.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn outline(&self) -> Option { [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] 72 | pub fn outline(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/library.rs:48:49 [INFO] [stdout] | [INFO] [stdout] 48 | ::error::from_ftret(ffi::FT_New_Library(&mut MEMORY, &mut raw))?; [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 48 | ::error::from_ftret(ffi::FT_New_Library(&raw mut MEMORY, &mut raw))?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "98a373e0ba5c16c365100cc581d690db4e53e60e8cd8303fa0eae2d291893b37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98a373e0ba5c16c365100cc581d690db4e53e60e8cd8303fa0eae2d291893b37", kill_on_drop: false }` [INFO] [stdout] 98a373e0ba5c16c365100cc581d690db4e53e60e8cd8303fa0eae2d291893b37