[INFO] fetching crate inkview-sys 0.1.2...
[INFO] checking inkview-sys-0.1.2 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate inkview-sys 0.1.2 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate inkview-sys 0.1.2 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate inkview-sys 0.1.2
[INFO] finished tweaking crates.io crate inkview-sys 0.1.2
[INFO] tweaked toml for crates.io crate inkview-sys 0.1.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 71 packages to latest compatible versions
[INFO] [stderr]       Adding bindgen v0.55.1 (latest: v0.69.4)
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding cexpr v0.4.0 (latest: v0.6.0)
[INFO] [stderr]       Adding cfg-if v0.1.10 (latest: v1.0.0)
[INFO] [stderr]       Adding clap v2.34.0 (latest: v4.5.4)
[INFO] [stderr]       Adding env_logger v0.7.1 (latest: v0.11.3)
[INFO] [stderr]       Adding getrandom v0.1.16 (latest: v0.2.14)
[INFO] [stderr]       Adding hermit-abi v0.1.19 (latest: v0.3.9)
[INFO] [stderr]       Adding humantime v1.3.0 (latest: v2.1.0)
[INFO] [stderr]       Adding nom v5.1.3 (latest: v7.1.3)
[INFO] [stderr]       Adding num v0.3.1 (latest: v0.4.2)
[INFO] [stderr]       Adding num-bigint v0.3.3 (latest: v0.4.4)
[INFO] [stderr]       Adding num-complex v0.3.1 (latest: v0.4.5)
[INFO] [stderr]       Adding num-derive v0.3.3 (latest: v0.4.2)
[INFO] [stderr]       Adding num-rational v0.3.2 (latest: v0.4.1)
[INFO] [stderr]       Adding peeking_take_while v0.1.2 (latest: v1.0.0)
[INFO] [stderr]       Adding quick-error v1.2.3 (latest: v2.0.1)
[INFO] [stderr]       Adding rand v0.7.3 (latest: v0.8.5)
[INFO] [stderr]       Adding rand_chacha v0.2.2 (latest: v0.3.1)
[INFO] [stderr]       Adding rand_core v0.5.1 (latest: v0.6.4)
[INFO] [stderr]       Adding rand_hc v0.2.0 (latest: v0.3.2)
[INFO] [stderr]       Adding shlex v0.1.1 (latest: v1.3.0)
[INFO] [stderr]       Adding strsim v0.8.0 (latest: v0.11.1)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.60)
[INFO] [stderr]       Adding textwrap v0.11.0 (latest: v0.16.1)
[INFO] [stderr]       Adding tinybmp v0.2.3 (latest: v0.5.0)
[INFO] [stderr]       Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0)
[INFO] [stderr]       Adding which v3.1.1 (latest: v6.0.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num-complex v0.3.1
[INFO] [stderr]   Downloaded num-bigint v0.3.3
[INFO] [stderr]   Downloaded num v0.3.1
[INFO] [stderr]   Downloaded tinybmp v0.2.3
[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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1f8017526882b33fe739eebc78eab13647a94fababb159be176bc1fab2004263
[INFO] running `Command { std: "docker" "start" "-a" "1f8017526882b33fe739eebc78eab13647a94fababb159be176bc1fab2004263", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1f8017526882b33fe739eebc78eab13647a94fababb159be176bc1fab2004263", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1f8017526882b33fe739eebc78eab13647a94fababb159be176bc1fab2004263", kill_on_drop: false }`
[INFO] [stdout] 1f8017526882b33fe739eebc78eab13647a94fababb159be176bc1fab2004263
[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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6a82d50048e3d26ba0f2bd66f1748b319987033d40f791dd04633a74c63a245b
[INFO] running `Command { std: "docker" "start" "-a" "6a82d50048e3d26ba0f2bd66f1748b319987033d40f791dd04633a74c63a245b", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling num-bigint v0.3.3
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling nom v5.1.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling libloading v0.8.3
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling bindgen v0.55.1
[INFO] [stderr]    Compiling which v3.1.1
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling shlex v0.1.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking num-iter v0.1.44
[INFO] [stderr]     Checking num-complex v0.3.1
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling clang-sys v1.7.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]     Checking num v0.3.1
[INFO] [stderr]    Compiling cexpr v0.4.0
[INFO] [stderr]     Checking tinybmp v0.2.3
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling inkview-sys v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fmt::Error`
[INFO] [stdout]   --> build.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::fmt::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io::Cursor`
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     io::Cursor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TryFrom`
[INFO] [stdout]   --> src/lib.rs:20:15
[INFO] [stdout]    |
[INFO] [stdout] 20 |     convert::{TryFrom, TryInto},
[INFO] [stdout]    |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FileType`, `Header`, `Pixel`
[INFO] [stdout]   --> src/lib.rs:25:20
[INFO] [stdout]    |
[INFO] [stdout] 25 | use tinybmp::{Bmp, FileType, Header, Pixel};
[INFO] [stdout]    |                    ^^^^^^^^  ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io::Cursor`
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     io::Cursor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TryFrom`
[INFO] [stdout]   --> src/lib.rs:20:15
[INFO] [stdout]    |
[INFO] [stdout] 20 |     convert::{TryFrom, TryInto},
[INFO] [stdout]    |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FileType`, `Header`, `Pixel`
[INFO] [stdout]   --> src/lib.rs:25:20
[INFO] [stdout]    |
[INFO] [stdout] 25 | use tinybmp::{Bmp, FileType, Header, Pixel};
[INFO] [stdout]    |                    ^^^^^^^^  ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/lib.rs:296:40
[INFO] [stdout]      |
[INFO] [stdout] 296  |         c_api::DrawPickOut(x, y, w, h, c_key);
[INFO] [stdout]      |         ------------------             ^^^^^ expected `*const u8`, found `*mut i8`
[INFO] [stdout]      |         |
[INFO] [stdout]      |         arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected raw pointer `*const u8`
[INFO] [stdout]                 found raw pointer `*mut i8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> src/bindings.rs:1645:12
[INFO] [stdout]      |
[INFO] [stdout] 1645 |     pub fn DrawPickOut(
[INFO] [stdout]      |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/lib.rs:337:35
[INFO] [stdout]      |
[INFO] [stdout] 337  |     Font(unsafe { c_api::OpenFont(CString::new(name).unwrap().into_raw(), size, aa) })
[INFO] [stdout]      |                   --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const u8`, found `*mut i8`
[INFO] [stdout]      |                   |
[INFO] [stdout]      |                   arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected raw pointer `*const u8`
[INFO] [stdout]                 found raw pointer `*mut i8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> src/bindings.rs:1980:12
[INFO] [stdout]      |
[INFO] [stdout] 1980 |     pub fn OpenFont(
[INFO] [stdout]      |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/lib.rs:345:50
[INFO] [stdout]      |
[INFO] [stdout] 345  |     return unsafe { c_api::TextRectHeight(width, CString::new(string).unwrap().into_raw(), flags) }
[INFO] [stdout]      |                     ---------------------        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const u8`, found `*mut i8`
[INFO] [stdout]      |                     |
[INFO] [stdout]      |                     arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected raw pointer `*const u8`
[INFO] [stdout]                 found raw pointer `*mut i8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> src/bindings.rs:2002:12
[INFO] [stdout]      |
[INFO] [stdout] 2002 |     pub fn TextRectHeight(
[INFO] [stdout]      |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/lib.rs:296:40
[INFO] [stdout]      |
[INFO] [stdout] 296  |         c_api::DrawPickOut(x, y, w, h, c_key);
[INFO] [stdout]      |         ------------------             ^^^^^ expected `*const u8`, found `*mut i8`
[INFO] [stdout]      |         |
[INFO] [stdout]      |         arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected raw pointer `*const u8`
[INFO] [stdout]                 found raw pointer `*mut i8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> src/bindings.rs:1645:12
[INFO] [stdout]      |
[INFO] [stdout] 1645 |     pub fn DrawPickOut(
[INFO] [stdout]      |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/lib.rs:356:13
[INFO] [stdout]      |
[INFO] [stdout] 351  |         CStr::from_ptr(c_api::DrawTextRect(
[INFO] [stdout]      |                        ------------------- arguments to this function are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 356  |             CString::new(s).unwrap().into_raw(),
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const u8`, found `*mut i8`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected raw pointer `*const u8`
[INFO] [stdout]                 found raw pointer `*mut i8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> src/bindings.rs:2020:12
[INFO] [stdout]      |
[INFO] [stdout] 2020 |     pub fn DrawTextRect(
[INFO] [stdout]      |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:351:24
[INFO] [stdout]     |
[INFO] [stdout] 351 |           CStr::from_ptr(c_api::DrawTextRect(
[INFO] [stdout]     |  _________--------------_^
[INFO] [stdout]     | |         |
[INFO] [stdout]     | |         arguments to this function are incorrect
[INFO] [stdout] 352 | |             x,
[INFO] [stdout] 353 | |             y,
[INFO] [stdout] 354 | |             w,
[INFO] [stdout] ...   |
[INFO] [stdout] 357 | |             flags,
[INFO] [stdout] 358 | |         ))
[INFO] [stdout]     | |_________^ expected `*const i8`, found `*mut u8`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected raw pointer `*const i8`
[INFO] [stdout]                found raw pointer `*mut u8`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/core/src/ffi/c_str.rs:274:25
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/lib.rs:337:35
[INFO] [stdout]      |
[INFO] [stdout] 337  |     Font(unsafe { c_api::OpenFont(CString::new(name).unwrap().into_raw(), size, aa) })
[INFO] [stdout]      |                   --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const u8`, found `*mut i8`
[INFO] [stdout]      |                   |
[INFO] [stdout]      |                   arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected raw pointer `*const u8`
[INFO] [stdout]                 found raw pointer `*mut i8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> src/bindings.rs:1980:12
[INFO] [stdout]      |
[INFO] [stdout] 1980 |     pub fn OpenFont(
[INFO] [stdout]      |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/lib.rs:345:50
[INFO] [stdout]      |
[INFO] [stdout] 345  |     return unsafe { c_api::TextRectHeight(width, CString::new(string).unwrap().into_raw(), flags) }
[INFO] [stdout]      |                     ---------------------        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const u8`, found `*mut i8`
[INFO] [stdout]      |                     |
[INFO] [stdout]      |                     arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected raw pointer `*const u8`
[INFO] [stdout]                 found raw pointer `*mut i8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> src/bindings.rs:2002:12
[INFO] [stdout]      |
[INFO] [stdout] 2002 |     pub fn TextRectHeight(
[INFO] [stdout]      |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]     --> src/lib.rs:409:9
[INFO] [stdout]      |
[INFO] [stdout] 409  |         c_api::Message(
[INFO] [stdout]      |         ^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] note: expected `*const u8`, found `*mut i8`
[INFO] [stdout]     --> src/lib.rs:411:13
[INFO] [stdout]      |
[INFO] [stdout] 411  |             CString::new(title).unwrap().into_raw(),
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: expected raw pointer `*const u8`
[INFO] [stdout]                 found raw pointer `*mut i8`
[INFO] [stdout] note: expected `*const u8`, found `*mut i8`
[INFO] [stdout]     --> src/lib.rs:412:13
[INFO] [stdout]      |
[INFO] [stdout] 412  |             CString::new(text).unwrap().into_raw(),
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: expected raw pointer `*const u8`
[INFO] [stdout]                 found raw pointer `*mut i8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> src/bindings.rs:2437:12
[INFO] [stdout]      |
[INFO] [stdout] 2437 |     pub fn Message(
[INFO] [stdout]      |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/lib.rs:356:13
[INFO] [stdout]      |
[INFO] [stdout] 351  |         CStr::from_ptr(c_api::DrawTextRect(
[INFO] [stdout]      |                        ------------------- arguments to this function are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 356  |             CString::new(s).unwrap().into_raw(),
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const u8`, found `*mut i8`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected raw pointer `*const u8`
[INFO] [stdout]                 found raw pointer `*mut i8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> src/bindings.rs:2020:12
[INFO] [stdout]      |
[INFO] [stdout] 2020 |     pub fn DrawTextRect(
[INFO] [stdout]      |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:351:24
[INFO] [stdout]     |
[INFO] [stdout] 351 |           CStr::from_ptr(c_api::DrawTextRect(
[INFO] [stdout]     |  _________--------------_^
[INFO] [stdout]     | |         |
[INFO] [stdout]     | |         arguments to this function are incorrect
[INFO] [stdout] 352 | |             x,
[INFO] [stdout] 353 | |             y,
[INFO] [stdout] 354 | |             w,
[INFO] [stdout] ...   |
[INFO] [stdout] 357 | |             flags,
[INFO] [stdout] 358 | |         ))
[INFO] [stdout]     | |_________^ expected `*const i8`, found `*mut u8`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected raw pointer `*const i8`
[INFO] [stdout]                found raw pointer `*mut u8`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/core/src/ffi/c_str.rs:274:25
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]     --> src/lib.rs:409:9
[INFO] [stdout]      |
[INFO] [stdout] 409  |         c_api::Message(
[INFO] [stdout]      |         ^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] note: expected `*const u8`, found `*mut i8`
[INFO] [stdout]     --> src/lib.rs:411:13
[INFO] [stdout]      |
[INFO] [stdout] 411  |             CString::new(title).unwrap().into_raw(),
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: expected raw pointer `*const u8`
[INFO] [stdout]                 found raw pointer `*mut i8`
[INFO] [stdout] note: expected `*const u8`, found `*mut i8`
[INFO] [stdout]     --> src/lib.rs:412:13
[INFO] [stdout]      |
[INFO] [stdout] 412  |             CString::new(text).unwrap().into_raw(),
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: expected raw pointer `*const u8`
[INFO] [stdout]                 found raw pointer `*mut i8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> src/bindings.rs:2437:12
[INFO] [stdout]      |
[INFO] [stdout] 2437 |     pub fn Message(
[INFO] [stdout]      |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `orientation`
[INFO] [stdout]    --> src/lib.rs:185:9
[INFO] [stdout]     |
[INFO] [stdout] 185 |     let orientation = unsafe{
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `orientation`
[INFO] [stdout]    --> src/lib.rs:185:9
[INFO] [stdout]     |
[INFO] [stdout] 185 |     let orientation = unsafe{
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `inkview-sys` (lib test) due to 7 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `inkview-sys` (lib) due to 7 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "6a82d50048e3d26ba0f2bd66f1748b319987033d40f791dd04633a74c63a245b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a82d50048e3d26ba0f2bd66f1748b319987033d40f791dd04633a74c63a245b", kill_on_drop: false }`
[INFO] [stdout] 6a82d50048e3d26ba0f2bd66f1748b319987033d40f791dd04633a74c63a245b
[INFO] checking inkview-sys-0.1.2 against try#9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88 for pr-124157
[INFO] extracting crate inkview-sys 0.1.2 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate inkview-sys 0.1.2 on toolchain 9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate inkview-sys 0.1.2
[INFO] finished tweaking crates.io crate inkview-sys 0.1.2
[INFO] tweaked toml for crates.io crate inkview-sys 0.1.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 71 packages to latest compatible versions
[INFO] [stderr]       Adding bindgen v0.55.1 (latest: v0.69.4)
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding cexpr v0.4.0 (latest: v0.6.0)
[INFO] [stderr]       Adding cfg-if v0.1.10 (latest: v1.0.0)
[INFO] [stderr]       Adding clap v2.34.0 (latest: v4.5.4)
[INFO] [stderr]       Adding env_logger v0.7.1 (latest: v0.11.3)
[INFO] [stderr]       Adding getrandom v0.1.16 (latest: v0.2.14)
[INFO] [stderr]       Adding hermit-abi v0.1.19 (latest: v0.3.9)
[INFO] [stderr]       Adding humantime v1.3.0 (latest: v2.1.0)
[INFO] [stderr]       Adding nom v5.1.3 (latest: v7.1.3)
[INFO] [stderr]       Adding num v0.3.1 (latest: v0.4.2)
[INFO] [stderr]       Adding num-bigint v0.3.3 (latest: v0.4.4)
[INFO] [stderr]       Adding num-complex v0.3.1 (latest: v0.4.5)
[INFO] [stderr]       Adding num-derive v0.3.3 (latest: v0.4.2)
[INFO] [stderr]       Adding num-rational v0.3.2 (latest: v0.4.1)
[INFO] [stderr]       Adding peeking_take_while v0.1.2 (latest: v1.0.0)
[INFO] [stderr]       Adding quick-error v1.2.3 (latest: v2.0.1)
[INFO] [stderr]       Adding rand v0.7.3 (latest: v0.8.5)
[INFO] [stderr]       Adding rand_chacha v0.2.2 (latest: v0.3.1)
[INFO] [stderr]       Adding rand_core v0.5.1 (latest: v0.6.4)
[INFO] [stderr]       Adding rand_hc v0.2.0 (latest: v0.3.2)
[INFO] [stderr]       Adding shlex v0.1.1 (latest: v1.3.0)
[INFO] [stderr]       Adding strsim v0.8.0 (latest: v0.11.1)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.60)
[INFO] [stderr]       Adding textwrap v0.11.0 (latest: v0.16.1)
[INFO] [stderr]       Adding tinybmp v0.2.3 (latest: v0.5.0)
[INFO] [stderr]       Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0)
[INFO] [stderr]       Adding which v3.1.1 (latest: v6.0.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1f71059736acf1c535bc4cded60e81778c505f68898663568a958db14948df4b
[INFO] running `Command { std: "docker" "start" "-a" "1f71059736acf1c535bc4cded60e81778c505f68898663568a958db14948df4b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1f71059736acf1c535bc4cded60e81778c505f68898663568a958db14948df4b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1f71059736acf1c535bc4cded60e81778c505f68898663568a958db14948df4b", kill_on_drop: false }`
[INFO] [stdout] 1f71059736acf1c535bc4cded60e81778c505f68898663568a958db14948df4b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 89dde301a782ff8959233b3cd5f516c047c06b9526c8ff19a3f3de07fa478a95
[INFO] running `Command { std: "docker" "start" "-a" "89dde301a782ff8959233b3cd5f516c047c06b9526c8ff19a3f3de07fa478a95", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling nom v5.1.3
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling num-bigint v0.3.3
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling libloading v0.8.3
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling bindgen v0.55.1
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling which v3.1.1
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling shlex v0.1.1
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]     Checking num-iter v0.1.44
[INFO] [stderr]     Checking num-complex v0.3.1
[INFO] [stderr]    Compiling clang-sys v1.7.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]     Checking num v0.3.1
[INFO] [stderr]     Checking tinybmp v0.2.3
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling cexpr v0.4.0
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling inkview-sys v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fmt::Error`
[INFO] [stdout]   --> build.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::fmt::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io::Cursor`
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     io::Cursor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io::Cursor`
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     io::Cursor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TryFrom`
[INFO] [stdout]   --> src/lib.rs:20:15
[INFO] [stdout]    |
[INFO] [stdout] 20 |     convert::{TryFrom, TryInto},
[INFO] [stdout]    |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TryFrom`
[INFO] [stdout]   --> src/lib.rs:20:15
[INFO] [stdout]    |
[INFO] [stdout] 20 |     convert::{TryFrom, TryInto},
[INFO] [stdout]    |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FileType`, `Header`, `Pixel`
[INFO] [stdout]   --> src/lib.rs:25:20
[INFO] [stdout]    |
[INFO] [stdout] 25 | use tinybmp::{Bmp, FileType, Header, Pixel};
[INFO] [stdout]    |                    ^^^^^^^^  ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FileType`, `Header`, `Pixel`
[INFO] [stdout]   --> src/lib.rs:25:20
[INFO] [stdout]    |
[INFO] [stdout] 25 | use tinybmp::{Bmp, FileType, Header, Pixel};
[INFO] [stdout]    |                    ^^^^^^^^  ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/lib.rs:296:40
[INFO] [stdout]      |
[INFO] [stdout] 296  |         c_api::DrawPickOut(x, y, w, h, c_key);
[INFO] [stdout]      |         ------------------             ^^^^^ expected `*const u8`, found `*mut i8`
[INFO] [stdout]      |         |
[INFO] [stdout]      |         arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected raw pointer `*const u8`
[INFO] [stdout]                 found raw pointer `*mut i8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> src/bindings.rs:1645:12
[INFO] [stdout]      |
[INFO] [stdout] 1645 |     pub fn DrawPickOut(
[INFO] [stdout]      |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/lib.rs:337:35
[INFO] [stdout]      |
[INFO] [stdout] 337  |     Font(unsafe { c_api::OpenFont(CString::new(name).unwrap().into_raw(), size, aa) })
[INFO] [stdout]      |                   --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const u8`, found `*mut i8`
[INFO] [stdout]      |                   |
[INFO] [stdout]      |                   arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected raw pointer `*const u8`
[INFO] [stdout]                 found raw pointer `*mut i8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> src/bindings.rs:1980:12
[INFO] [stdout]      |
[INFO] [stdout] 1980 |     pub fn OpenFont(
[INFO] [stdout]      |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/lib.rs:345:50
[INFO] [stdout]      |
[INFO] [stdout] 345  |     return unsafe { c_api::TextRectHeight(width, CString::new(string).unwrap().into_raw(), flags) }
[INFO] [stdout]      |                     ---------------------        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const u8`, found `*mut i8`
[INFO] [stdout]      |                     |
[INFO] [stdout]      |                     arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected raw pointer `*const u8`
[INFO] [stdout]                 found raw pointer `*mut i8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> src/bindings.rs:2002:12
[INFO] [stdout]      |
[INFO] [stdout] 2002 |     pub fn TextRectHeight(
[INFO] [stdout]      |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/lib.rs:356:13
[INFO] [stdout]      |
[INFO] [stdout] 351  |         CStr::from_ptr(c_api::DrawTextRect(
[INFO] [stdout]      |                        ------------------- arguments to this function are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 356  |             CString::new(s).unwrap().into_raw(),
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const u8`, found `*mut i8`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected raw pointer `*const u8`
[INFO] [stdout]                 found raw pointer `*mut i8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> src/bindings.rs:2020:12
[INFO] [stdout]      |
[INFO] [stdout] 2020 |     pub fn DrawTextRect(
[INFO] [stdout]      |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:351:24
[INFO] [stdout]     |
[INFO] [stdout] 351 |           CStr::from_ptr(c_api::DrawTextRect(
[INFO] [stdout]     |  _________--------------_^
[INFO] [stdout]     | |         |
[INFO] [stdout]     | |         arguments to this function are incorrect
[INFO] [stdout] 352 | |             x,
[INFO] [stdout] 353 | |             y,
[INFO] [stdout] 354 | |             w,
[INFO] [stdout] ...   |
[INFO] [stdout] 357 | |             flags,
[INFO] [stdout] 358 | |         ))
[INFO] [stdout]     | |_________^ expected `*const i8`, found `*mut u8`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected raw pointer `*const i8`
[INFO] [stdout]                found raw pointer `*mut u8`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /rustc/9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88/library/core/src/ffi/c_str.rs:274:25
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/lib.rs:296:40
[INFO] [stdout]      |
[INFO] [stdout] 296  |         c_api::DrawPickOut(x, y, w, h, c_key);
[INFO] [stdout]      |         ------------------             ^^^^^ expected `*const u8`, found `*mut i8`
[INFO] [stdout]      |         |
[INFO] [stdout]      |         arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected raw pointer `*const u8`
[INFO] [stdout]                 found raw pointer `*mut i8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> src/bindings.rs:1645:12
[INFO] [stdout]      |
[INFO] [stdout] 1645 |     pub fn DrawPickOut(
[INFO] [stdout]      |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]     --> src/lib.rs:409:9
[INFO] [stdout]      |
[INFO] [stdout] 409  |         c_api::Message(
[INFO] [stdout]      |         ^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] note: expected `*const u8`, found `*mut i8`
[INFO] [stdout]     --> src/lib.rs:411:13
[INFO] [stdout]      |
[INFO] [stdout] 411  |             CString::new(title).unwrap().into_raw(),
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: expected raw pointer `*const u8`
[INFO] [stdout]                 found raw pointer `*mut i8`
[INFO] [stdout] note: expected `*const u8`, found `*mut i8`
[INFO] [stdout]     --> src/lib.rs:412:13
[INFO] [stdout]      |
[INFO] [stdout] 412  |             CString::new(text).unwrap().into_raw(),
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: expected raw pointer `*const u8`
[INFO] [stdout]                 found raw pointer `*mut i8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> src/bindings.rs:2437:12
[INFO] [stdout]      |
[INFO] [stdout] 2437 |     pub fn Message(
[INFO] [stdout]      |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/lib.rs:337:35
[INFO] [stdout]      |
[INFO] [stdout] 337  |     Font(unsafe { c_api::OpenFont(CString::new(name).unwrap().into_raw(), size, aa) })
[INFO] [stdout]      |                   --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const u8`, found `*mut i8`
[INFO] [stdout]      |                   |
[INFO] [stdout]      |                   arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected raw pointer `*const u8`
[INFO] [stdout]                 found raw pointer `*mut i8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> src/bindings.rs:1980:12
[INFO] [stdout]      |
[INFO] [stdout] 1980 |     pub fn OpenFont(
[INFO] [stdout]      |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/lib.rs:345:50
[INFO] [stdout]      |
[INFO] [stdout] 345  |     return unsafe { c_api::TextRectHeight(width, CString::new(string).unwrap().into_raw(), flags) }
[INFO] [stdout]      |                     ---------------------        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const u8`, found `*mut i8`
[INFO] [stdout]      |                     |
[INFO] [stdout]      |                     arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected raw pointer `*const u8`
[INFO] [stdout]                 found raw pointer `*mut i8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> src/bindings.rs:2002:12
[INFO] [stdout]      |
[INFO] [stdout] 2002 |     pub fn TextRectHeight(
[INFO] [stdout]      |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/lib.rs:356:13
[INFO] [stdout]      |
[INFO] [stdout] 351  |         CStr::from_ptr(c_api::DrawTextRect(
[INFO] [stdout]      |                        ------------------- arguments to this function are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 356  |             CString::new(s).unwrap().into_raw(),
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const u8`, found `*mut i8`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected raw pointer `*const u8`
[INFO] [stdout]                 found raw pointer `*mut i8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> src/bindings.rs:2020:12
[INFO] [stdout]      |
[INFO] [stdout] 2020 |     pub fn DrawTextRect(
[INFO] [stdout]      |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:351:24
[INFO] [stdout]     |
[INFO] [stdout] 351 |           CStr::from_ptr(c_api::DrawTextRect(
[INFO] [stdout]     |  _________--------------_^
[INFO] [stdout]     | |         |
[INFO] [stdout]     | |         arguments to this function are incorrect
[INFO] [stdout] 352 | |             x,
[INFO] [stdout] 353 | |             y,
[INFO] [stdout] 354 | |             w,
[INFO] [stdout] ...   |
[INFO] [stdout] 357 | |             flags,
[INFO] [stdout] 358 | |         ))
[INFO] [stdout]     | |_________^ expected `*const i8`, found `*mut u8`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected raw pointer `*const i8`
[INFO] [stdout]                found raw pointer `*mut u8`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /rustc/9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88/library/core/src/ffi/c_str.rs:274:25
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]     --> src/lib.rs:409:9
[INFO] [stdout]      |
[INFO] [stdout] 409  |         c_api::Message(
[INFO] [stdout]      |         ^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] note: expected `*const u8`, found `*mut i8`
[INFO] [stdout]     --> src/lib.rs:411:13
[INFO] [stdout]      |
[INFO] [stdout] 411  |             CString::new(title).unwrap().into_raw(),
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: expected raw pointer `*const u8`
[INFO] [stdout]                 found raw pointer `*mut i8`
[INFO] [stdout] note: expected `*const u8`, found `*mut i8`
[INFO] [stdout]     --> src/lib.rs:412:13
[INFO] [stdout]      |
[INFO] [stdout] 412  |             CString::new(text).unwrap().into_raw(),
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: expected raw pointer `*const u8`
[INFO] [stdout]                 found raw pointer `*mut i8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> src/bindings.rs:2437:12
[INFO] [stdout]      |
[INFO] [stdout] 2437 |     pub fn Message(
[INFO] [stdout]      |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `orientation`
[INFO] [stdout]    --> src/lib.rs:185:9
[INFO] [stdout]     |
[INFO] [stdout] 185 |     let orientation = unsafe{
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `orientation`
[INFO] [stdout]    --> src/lib.rs:185:9
[INFO] [stdout]     |
[INFO] [stdout] 185 |     let orientation = unsafe{
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `inkview-sys` (lib test) due to 7 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `inkview-sys` (lib) due to 7 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "89dde301a782ff8959233b3cd5f516c047c06b9526c8ff19a3f3de07fa478a95", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "89dde301a782ff8959233b3cd5f516c047c06b9526c8ff19a3f3de07fa478a95", kill_on_drop: false }`
[INFO] [stdout] 89dde301a782ff8959233b3cd5f516c047c06b9526c8ff19a3f3de07fa478a95
