[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] testing tomc1998/rust-guitk against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomc1998%2Frust-guitk" "/workspace/builds/worker-23/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-23/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tomc1998/rust-guitk on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-23/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gleam v0.2.30 [INFO] [stderr] Downloaded winit v0.5.7 [INFO] [stderr] Downloaded gcc v0.3.41 [INFO] [stderr] Downloaded glutin v0.7.2 [INFO] [stderr] Downloaded wayland-window v0.4.3 [INFO] [stderr] Downloaded serde v0.8.21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3a3eed973d37b5567e07a8dbddb4e65452abc27e2dec53a6b131954823df04e [INFO] running `Command { std: "docker" "start" "-a" "d3a3eed973d37b5567e07a8dbddb4e65452abc27e2dec53a6b131954823df04e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3a3eed973d37b5567e07a8dbddb4e65452abc27e2dec53a6b131954823df04e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3a3eed973d37b5567e07a8dbddb4e65452abc27e2dec53a6b131954823df04e", kill_on_drop: false }` [INFO] [stdout] d3a3eed973d37b5567e07a8dbddb4e65452abc27e2dec53a6b131954823df04e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e212ec89d86c15778ce58326212c5e3e901e3b6dcb66361e047f3a2cdf58ce07 [INFO] running `Command { std: "docker" "start" "-a" "e212ec89d86c15778ce58326212c5e3e901e3b6dcb66361e047f3a2cdf58ce07", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.19 [INFO] [stderr] Compiling phf_shared v0.7.20 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling serde v0.8.21 [INFO] [stderr] Compiling dtoa v0.2.2 [INFO] [stderr] Compiling itoa v0.1.1 [INFO] [stderr] Compiling num-traits v0.1.36 [INFO] [stderr] Compiling lazy_static v0.2.2 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling khronos_api v1.0.0 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling pkg-config v0.3.8 [INFO] [stderr] Compiling gcc v0.3.41 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling rustc-demangle v0.1.3 [INFO] [stderr] Compiling cfg-if v0.1.0 [INFO] [stderr] Compiling smallvec v0.1.8 [INFO] [stderr] Compiling fnv v1.0.5 [INFO] [stderr] Compiling android_glue v0.2.1 [INFO] [stderr] Compiling ffi_glue v0.1.0 (/opt/rustwide/workdir/ffi_glue) [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling xml-rs v0.3.5 [INFO] [stderr] Compiling phf v0.7.20 [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] [stderr] Compiling rustc_version v0.1.7 [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] 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] error: aborting due to 4 previous errors; 9 warnings emitted [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` due to 5 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e212ec89d86c15778ce58326212c5e3e901e3b6dcb66361e047f3a2cdf58ce07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e212ec89d86c15778ce58326212c5e3e901e3b6dcb66361e047f3a2cdf58ce07", kill_on_drop: false }` [INFO] [stdout] e212ec89d86c15778ce58326212c5e3e901e3b6dcb66361e047f3a2cdf58ce07