[INFO] cloning repository https://github.com/tomc1998/rust-guitk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tomc1998/rust-guitk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomc1998%2Frust-guitk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomc1998%2Frust-guitk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9fdc0b4951c749aa9f7255a32383b3d9ba3bfed1 [INFO] checking tomc1998/rust-guitk against try#de39175d9e0f63ff8967b81f9639ba28d11ae6ef for pr-135331 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomc1998%2Frust-guitk" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tomc1998/rust-guitk on toolchain de39175d9e0f63ff8967b81f9639ba28d11ae6ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tomc1998/rust-guitk [INFO] finished tweaking git repo https://github.com/tomc1998/rust-guitk [INFO] tweaked toml for git repo https://github.com/tomc1998/rust-guitk written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tomc1998/rust-guitk 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" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "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 wayland-sys v0.7.6 [INFO] [stderr] Downloaded libloading v0.3.1 [INFO] [stderr] Downloaded android_glue v0.2.1 [INFO] [stderr] Downloaded gleam v0.2.30 [INFO] [stderr] Downloaded wayland-kbd v0.6.2 [INFO] [stderr] Downloaded xml-rs v0.3.5 [INFO] [stderr] Downloaded serde v0.8.21 [INFO] [stderr] Downloaded x11-dl v2.12.0 [INFO] [stderr] Downloaded glutin v0.7.2 [INFO] [stderr] Downloaded backtrace-sys v0.1.5 [INFO] [stderr] Downloaded tempfile v2.1.4 [INFO] [stderr] Downloaded core-foundation-sys v0.2.2 [INFO] [stderr] Downloaded wayland-scanner v0.7.6 [INFO] [stderr] Downloaded serde_json v0.8.4 [INFO] [stderr] Downloaded target_build_utils v0.1.2 [INFO] [stderr] Downloaded winit v0.5.7 [INFO] [stderr] Downloaded core-foundation v0.2.2 [INFO] [stderr] Downloaded phf v0.7.20 [INFO] [stderr] Downloaded phf_generator v0.7.20 [INFO] [stderr] Downloaded phf_shared v0.7.20 [INFO] [stderr] Downloaded phf_codegen v0.7.20 [INFO] [stderr] Downloaded dtoa v0.2.2 [INFO] [stderr] Downloaded wayland-client v0.7.6 [INFO] [stderr] Downloaded redox_syscall v0.1.16 [INFO] [stderr] Downloaded wayland-window v0.4.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b864fe31c4ea46dfe7b55cf0a7384c555ef93fae84b41138021d93875caa4706 [INFO] running `Command { std: "docker" "start" "-a" "b864fe31c4ea46dfe7b55cf0a7384c555ef93fae84b41138021d93875caa4706", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b864fe31c4ea46dfe7b55cf0a7384c555ef93fae84b41138021d93875caa4706", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b864fe31c4ea46dfe7b55cf0a7384c555ef93fae84b41138021d93875caa4706", kill_on_drop: false }` [INFO] [stdout] b864fe31c4ea46dfe7b55cf0a7384c555ef93fae84b41138021d93875caa4706 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 432c1eb01b5a74ff8375481b3ef042bc7542cf9594c3117a5b326abe34b33e6a [INFO] running `Command { std: "docker" "start" "-a" "432c1eb01b5a74ff8375481b3ef042bc7542cf9594c3117a5b326abe34b33e6a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling phf_shared v0.7.20 [INFO] [stderr] Compiling libc v0.2.19 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling itoa v0.1.1 [INFO] [stderr] Compiling serde v0.8.21 [INFO] [stderr] Compiling num-traits v0.1.36 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling xml-rs v0.3.5 [INFO] [stderr] Compiling dtoa v0.2.2 [INFO] [stderr] Compiling phf v0.7.20 [INFO] [stderr] Checking lazy_static v0.2.2 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling khronos_api v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.8 [INFO] [stderr] Compiling phf_generator v0.7.20 [INFO] [stderr] Compiling wayland-scanner v0.7.6 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling phf_codegen v0.7.20 [INFO] [stderr] Compiling gl_generator v0.5.2 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Compiling target_build_utils v0.1.2 [INFO] [stderr] Compiling x11-dl v2.12.0 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling tempfile v2.1.4 [INFO] [stderr] Compiling wayland-client v0.7.6 [INFO] [stderr] Compiling gcc v0.3.41 [INFO] [stderr] Checking memmap v0.4.0 [INFO] [stderr] Checking shared_library v0.1.5 [INFO] [stderr] Compiling serde_json v0.8.4 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling glutin v0.7.2 [INFO] [stderr] Compiling glium v0.16.0 [INFO] [stderr] Checking cfg-if v0.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.3 [INFO] [stderr] Checking smallvec v0.1.8 [INFO] [stderr] Compiling backtrace-sys v0.1.5 [INFO] [stderr] Checking fnv v1.0.5 [INFO] [stderr] Checking time v0.1.36 [INFO] [stderr] Checking android_glue v0.2.1 [INFO] [stderr] Checking ffi_glue v0.1.0 (/opt/rustwide/workdir/ffi_glue) [INFO] [stdout] error[E0432]: unresolved import `this_platform_is_not_supported` [INFO] [stdout] --> ffi_glue/src/lib.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | use this_platform_is_not_supported; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `this_platform_is_not_supported` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `channel` [INFO] [stdout] --> ffi_glue/src/lib.rs:9:55 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::mpsc::{Sender, Receiver, TryRecvError, channel}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> ffi_glue/src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pthread_t` should have an upper camel case name [INFO] [stdout] --> ffi_glue/src/lib.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub type pthread_t = c_long; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `PthreadT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pthread_mutexattr_t` should have an upper camel case name [INFO] [stdout] --> ffi_glue/src/lib.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub type pthread_mutexattr_t = c_long; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PthreadMutexattrT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pthread_attr_t` should have an upper camel case name [INFO] [stdout] --> ffi_glue/src/lib.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub type pthread_attr_t = c_void; // FIXME: wrong [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PthreadAttrT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> ffi_glue/src/lib.rs:266:35 [INFO] [stdout] | [INFO] [stdout] 266 | let mut thread = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> ffi_glue/src/lib.rs:316:35 [INFO] [stdout] | [INFO] [stdout] 316 | let mut events = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> ffi_glue/src/lib.rs:317:66 [INFO] [stdout] | [INFO] [stdout] 317 | let mut source: *mut ffi::android_poll_source = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> ffi_glue/src/lib.rs:527:17 [INFO] [stdout] | [INFO] [stdout] 527 | thread::sleep_ms(10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> ffi_glue/src/lib.rs:239:88 [INFO] [stdout] | [INFO] [stdout] 239 | if let Some(last_newline_pos) = buf.iter().rposition(|&c| c == b'\n') { [INFO] [stdout] | - ^^^^^ expected `i8`, found `u8` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `i8` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u8` to an `i8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 239 | if let Some(last_newline_pos) = buf.iter().rposition(|&c| c == b'\n'.try_into().unwrap()) { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> ffi_glue/src/lib.rs:240:53 [INFO] [stdout] | [INFO] [stdout] 240 | ... buf[last_newline_pos] = b'\0'; [INFO] [stdout] | --------------------- ^^^^^ expected `i8`, found `u8` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> ffi_glue/src/lib.rs:249:47 [INFO] [stdout] | [INFO] [stdout] 249 | ... buf[cursor] = b'\0'; [INFO] [stdout] | ----------- ^^^^^ expected `i8`, found `u8` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> ffi_glue/src/lib.rs:187:20 [INFO] [stdout] | [INFO] [stdout] 187 | app.userData = unsafe { &context as *const Context as *mut Context as *mut _ }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ffi_glue` (lib) due to 4 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "432c1eb01b5a74ff8375481b3ef042bc7542cf9594c3117a5b326abe34b33e6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "432c1eb01b5a74ff8375481b3ef042bc7542cf9594c3117a5b326abe34b33e6a", kill_on_drop: false }` [INFO] [stdout] 432c1eb01b5a74ff8375481b3ef042bc7542cf9594c3117a5b326abe34b33e6a