[INFO] fetching crate freetype-gen-rs 0.213.1... [INFO] testing freetype-gen-rs-0.213.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate freetype-gen-rs 0.213.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate freetype-gen-rs 0.213.1 [INFO] finished tweaking crates.io crate freetype-gen-rs 0.213.1 [INFO] tweaked toml for crates.io crate freetype-gen-rs 0.213.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate freetype-gen-rs 0.213.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 51 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.64.0 (available: v0.72.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.10.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bindgen v0.64.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1f4e2ccf06a3e66015dfff3f5515833b02d29c6f73c90f80ae89ab471d70035 [INFO] running `Command { std: "docker" "start" "-a" "f1f4e2ccf06a3e66015dfff3f5515833b02d29c6f73c90f80ae89ab471d70035", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1f4e2ccf06a3e66015dfff3f5515833b02d29c6f73c90f80ae89ab471d70035", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1f4e2ccf06a3e66015dfff3f5515833b02d29c6f73c90f80ae89ab471d70035", kill_on_drop: false }` [INFO] [stdout] f1f4e2ccf06a3e66015dfff3f5515833b02d29c6f73c90f80ae89ab471d70035 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97af9c032b9a2dd03ef118c35d32a02da83996ed0d5f22c79d51cf1b949898ff [INFO] running `Command { std: "docker" "start" "-a" "97af9c032b9a2dd03ef118c35d32a02da83996ed0d5f22c79d51cf1b949898ff", kill_on_drop: false }` [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling bindgen v0.64.0 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling freetype-gen-rs v0.213.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/error.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | self.0 == FT_Err_Ok [INFO] [stdout] | ------ ^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `i32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 13 | self.0 == FT_Err_Ok.try_into().unwrap() [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/face.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 17 | FontError::from(FT_New_Memory_Face( [INFO] [stdout] | ------------------ arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 20 | font_data.len() as i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/freetype-gen-rs-43ba29a6c9bb0727/out/bindings.rs:3:75237 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FT_New_Memory_Face (library : FT_Library , file_base : * const FT_Byte , file_size : FT_Long , face_index ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ --------- [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 20 | (font_data.len() as i32).into(), [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/face.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | FontError::from(FT_Set_Char_Size( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | self.raw, [INFO] [stdout] 39 | char_width, [INFO] [stdout] | ---------- expected `i64`, found `i32` [INFO] [stdout] 40 | char_height, [INFO] [stdout] | ----------- expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/freetype-gen-rs-43ba29a6c9bb0727/out/bindings.rs:3:78658 [INFO] [stdout] | [INFO] [stdout] 3 | ...ror ; } extern "C" { pub fn FT_Set_Char_Size (face : FT_Face , char_width : FT_F26Dot6 , char_height : FT_F26Dot6 , horz_resoluti... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------- ----------- [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 39 | char_width.into(), [INFO] [stdout] | +++++++ [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 40 | char_height.into(), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `freetype-gen-rs` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "97af9c032b9a2dd03ef118c35d32a02da83996ed0d5f22c79d51cf1b949898ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97af9c032b9a2dd03ef118c35d32a02da83996ed0d5f22c79d51cf1b949898ff", kill_on_drop: false }` [INFO] [stdout] 97af9c032b9a2dd03ef118c35d32a02da83996ed0d5f22c79d51cf1b949898ff