[INFO] cloning repository https://github.com/mb64/android-rs-glue-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mb64/android-rs-glue-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmb64%2Fandroid-rs-glue-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmb64%2Fandroid-rs-glue-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dae5201d90a5fa4834e3b7b65684592eb9dd079c [INFO] checking mb64/android-rs-glue-test against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmb64%2Fandroid-rs-glue-test" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mb64/android-rs-glue-test on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mb64/android-rs-glue-test [INFO] finished tweaking git repo https://github.com/mb64/android-rs-glue-test [INFO] tweaked toml for git repo https://github.com/mb64/android-rs-glue-test written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mb64/android-rs-glue-test 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/mb64/android-rs-glue.git` [INFO] [stderr] Locking 1 package [INFO] [stderr] Adding android_glue v0.2.3 (https://github.com/mb64/android-rs-glue.git?branch=eventloop-2.0-overhaul#9b4a33d5) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num_enum v0.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9713c63af579f0c903d322399f1967a4bb01a2ec42036455cc863f2cd25abd40 [INFO] running `Command { std: "docker" "start" "-a" "9713c63af579f0c903d322399f1967a4bb01a2ec42036455cc863f2cd25abd40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9713c63af579f0c903d322399f1967a4bb01a2ec42036455cc863f2cd25abd40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9713c63af579f0c903d322399f1967a4bb01a2ec42036455cc863f2cd25abd40", kill_on_drop: false }` [INFO] [stdout] 9713c63af579f0c903d322399f1967a4bb01a2ec42036455cc863f2cd25abd40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9b57969a9a4a874377d0de560eb3ce29519d76dbc0a8de2320d2e62bc67a6a1 [INFO] running `Command { std: "docker" "start" "-a" "e9b57969a9a4a874377d0de560eb3ce29519d76dbc0a8de2320d2e62bc67a6a1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling num_enum v0.2.3 [INFO] [stderr] Checking android_glue v0.2.3 (https://github.com/mb64/android-rs-glue.git?branch=eventloop-2.0-overhaul#9b4a33d5) [INFO] [stderr] Checking glue-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `android_glue::ffi` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use android_glue::ffi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `ffi` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] 1 | use std::ffi; [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] 1 | use std::os::unix::ffi; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `android_glue::looper` [INFO] [stdout] --> src/main.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use android_glue::looper::{ForeignLooper, Poll, ThreadLooper}; [INFO] [stdout] | ^^^^^^ could not find `looper` in `android_glue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `android_glue::queue` [INFO] [stdout] --> src/main.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use android_glue::queue::AInputQueue; [INFO] [stdout] | ^^^^^ could not find `queue` in `android_glue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `android_glue::ffi` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use android_glue::ffi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `ffi` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] 1 | use std::ffi; [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] 1 | use std::os::unix::ffi; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `android_glue::looper` [INFO] [stdout] --> src/main.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use android_glue::looper::{ForeignLooper, Poll, ThreadLooper}; [INFO] [stdout] | ^^^^^^ could not find `looper` in `android_glue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `android_glue::queue` [INFO] [stdout] --> src/main.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use android_glue::queue::AInputQueue; [INFO] [stdout] | ^^^^^ could not find `queue` in `android_glue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `glue` in `android_glue` [INFO] [stdout] --> src/main.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | let android_app = android_glue::glue::get_android_app(); [INFO] [stdout] | ^^^^ could not find `glue` in `android_glue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `glue` in `android_glue` [INFO] [stdout] --> src/main.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | let android_app = android_glue::glue::get_android_app(); [INFO] [stdout] | ^^^^ could not find `glue` in `android_glue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | .unwrap_or(b"Panic!!!\0" as *const u8); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const i8`, found `*const u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const i8` [INFO] [stdout] found raw pointer `*const u8` [INFO] [stdout] help: the return type of this call is `*const u8` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | let c_str: *const u8 = CString::new(format!("panic: {}", info)) [INFO] [stdout] | ____________________________^ [INFO] [stdout] 13 | | .map(|s| s.as_ptr()) [INFO] [stdout] 14 | | .unwrap_or(b"Panic!!!\0" as *const u8); [INFO] [stdout] | |____________________--------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `unwrap_or` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/result.rs:1407:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | .unwrap_or(b"Panic!!!\0" as *const u8); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const i8`, found `*const u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const i8` [INFO] [stdout] found raw pointer `*const u8` [INFO] [stdout] help: the return type of this call is `*const u8` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | let c_str: *const u8 = CString::new(format!("panic: {}", info)) [INFO] [stdout] | ____________________________^ [INFO] [stdout] 13 | | .map(|s| s.as_ptr()) [INFO] [stdout] 14 | | .unwrap_or(b"Panic!!!\0" as *const u8); [INFO] [stdout] | |____________________--------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `unwrap_or` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/result.rs:1407:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | let c_str: *const u8 = CString::new(format!("panic: {}", info)) [INFO] [stdout] | ________________---------___^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] 13 | | .map(|s| s.as_ptr()) [INFO] [stdout] 14 | | .unwrap_or(b"Panic!!!\0" as *const u8); [INFO] [stdout] | |______________________________________________^ expected `*const u8`, found `*const i8` [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const u8` [INFO] [stdout] found raw pointer `*const i8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | let c_str: *const u8 = CString::new(format!("panic: {}", info)) [INFO] [stdout] | ________________---------___^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] 13 | | .map(|s| s.as_ptr()) [INFO] [stdout] 14 | | .unwrap_or(b"Panic!!!\0" as *const u8); [INFO] [stdout] | |______________________________________________^ expected `*const u8`, found `*const i8` [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const u8` [INFO] [stdout] found raw pointer `*const i8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `glue-test` (bin "glue-test") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `glue-test` (bin "glue-test" test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "e9b57969a9a4a874377d0de560eb3ce29519d76dbc0a8de2320d2e62bc67a6a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9b57969a9a4a874377d0de560eb3ce29519d76dbc0a8de2320d2e62bc67a6a1", kill_on_drop: false }` [INFO] [stdout] e9b57969a9a4a874377d0de560eb3ce29519d76dbc0a8de2320d2e62bc67a6a1