[INFO] fetching crate egui_pocketbook 0.1.1... [INFO] checking egui_pocketbook-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate egui_pocketbook 0.1.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate egui_pocketbook 0.1.1 [INFO] finished tweaking crates.io crate egui_pocketbook 0.1.1 [INFO] tweaked toml for crates.io crate egui_pocketbook 0.1.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate egui_pocketbook 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 89 packages to latest compatible versions [INFO] [stderr] Adding egui v0.13.1 (available: v0.32.1) [INFO] [stderr] Adding epi v0.13.0 (available: v0.17.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded emath v0.13.0 [INFO] [stderr] Downloaded epi v0.13.0 [INFO] [stderr] Downloaded tinybmp v0.2.3 [INFO] [stderr] Downloaded num-bigint v0.3.3 [INFO] [stderr] Downloaded inkview-sys v0.1.2 [INFO] [stderr] Downloaded bindgen v0.55.1 [INFO] [stderr] Downloaded egui v0.13.1 [INFO] [stderr] Downloaded epaint v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 509baf81c41edafa0e452192667ac35690ffeedfc03a0315a643b18a27f35ca3 [INFO] running `Command { std: "docker" "start" "-a" "509baf81c41edafa0e452192667ac35690ffeedfc03a0315a643b18a27f35ca3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "509baf81c41edafa0e452192667ac35690ffeedfc03a0315a643b18a27f35ca3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "509baf81c41edafa0e452192667ac35690ffeedfc03a0315a643b18a27f35ca3", kill_on_drop: false }` [INFO] [stdout] 509baf81c41edafa0e452192667ac35690ffeedfc03a0315a643b18a27f35ca3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36d648cd421f4eda4ab8bbd000086d851f92cef2c2b27ae7d8399f755bb25c05 [INFO] running `Command { std: "docker" "start" "-a" "36d648cd421f4eda4ab8bbd000086d851f92cef2c2b27ae7d8399f755bb25c05", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling bindgen v0.55.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking ab_glyph v0.2.31 [INFO] [stderr] Checking atomic_refcell v0.1.13 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking emath v0.13.0 [INFO] [stderr] Checking epaint v0.13.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Checking egui v0.13.1 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tinybmp v0.2.3 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking epi v0.13.0 [INFO] [stderr] Compiling inkview-sys v0.1.2 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkview-sys-0.1.2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkview-sys-0.1.2/src/bindings.rs:1645:12 [INFO] [stdout] | [INFO] [stdout] 1645 | pub fn DrawPickOut( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1650 | key: *const c_types::c_char, [INFO] [stdout] | --- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkview-sys-0.1.2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkview-sys-0.1.2/src/bindings.rs:1980:12 [INFO] [stdout] | [INFO] [stdout] 1980 | pub fn OpenFont( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1981 | name: *const c_types::c_char, [INFO] [stdout] | ---- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkview-sys-0.1.2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkview-sys-0.1.2/src/bindings.rs:2002:12 [INFO] [stdout] | [INFO] [stdout] 2002 | pub fn TextRectHeight( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 2003 | width: c_types::c_int, [INFO] [stdout] 2004 | s: *const c_types::c_char, [INFO] [stdout] | - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkview-sys-0.1.2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkview-sys-0.1.2/src/bindings.rs:2020:12 [INFO] [stdout] | [INFO] [stdout] 2020 | pub fn DrawTextRect( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2025 | s: *const c_types::c_char, [INFO] [stdout] | - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkview-sys-0.1.2/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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ffi/c_str.rs:255:25 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkview-sys-0.1.2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkview-sys-0.1.2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkview-sys-0.1.2/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkview-sys-0.1.2/src/bindings.rs:2437:12 [INFO] [stdout] | [INFO] [stdout] 2437 | pub fn Message( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 2438 | icon: c_types::c_int, [INFO] [stdout] 2439 | title: *const c_types::c_char, [INFO] [stdout] | ----- [INFO] [stdout] 2440 | text: *const c_types::c_char, [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 `inkview-sys` (lib) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "36d648cd421f4eda4ab8bbd000086d851f92cef2c2b27ae7d8399f755bb25c05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36d648cd421f4eda4ab8bbd000086d851f92cef2c2b27ae7d8399f755bb25c05", kill_on_drop: false }` [INFO] [stdout] 36d648cd421f4eda4ab8bbd000086d851f92cef2c2b27ae7d8399f755bb25c05