[INFO] fetching crate android_injected_glue 0.2.3... [INFO] checking android_injected_glue-0.2.3 against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] extracting crate android_injected_glue 0.2.3 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate android_injected_glue 0.2.3 on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate android_injected_glue 0.2.3 [INFO] finished tweaking crates.io crate android_injected_glue 0.2.3 [INFO] tweaked toml for crates.io crate android_injected_glue 0.2.3 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccc9a9039a251dbd6ba529efaa1d2c1b09daf180f4e6cf32823732e24b5ba2c0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ccc9a9039a251dbd6ba529efaa1d2c1b09daf180f4e6cf32823732e24b5ba2c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccc9a9039a251dbd6ba529efaa1d2c1b09daf180f4e6cf32823732e24b5ba2c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccc9a9039a251dbd6ba529efaa1d2c1b09daf180f4e6cf32823732e24b5ba2c0", kill_on_drop: false }` [INFO] [stdout] ccc9a9039a251dbd6ba529efaa1d2c1b09daf180f4e6cf32823732e24b5ba2c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9de04e0f3dbc99d633d6d2b32ee2d6907d79af8e05e0c5e802b38bb86d027eb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b9de04e0f3dbc99d633d6d2b32ee2d6907d79af8e05e0c5e802b38bb86d027eb", kill_on_drop: false }` [INFO] [stderr] Checking android_injected_glue v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `this_platform_is_not_supported` [INFO] [stdout] --> src/lib.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | use this_platform_is_not_supported; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `this_platform_is_not_supported` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `this_platform_is_not_supported` [INFO] [stdout] --> src/lib.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | use this_platform_is_not_supported; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `this_platform_is_not_supported` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | let handler: Box> = Box::from_raw(handler as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SyncEventHandler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | let handler: Box<*const SyncEventHandler> = Box::from_raw(handler as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SyncEventHandler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | sync_event_handlers: Mutex>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SyncEventHandler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:533:44 [INFO] [stdout] | [INFO] [stdout] 533 | pub fn add_sync_event_handler(handler: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SyncEventHandler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | let handler: Box> = Box::from_raw(handler as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SyncEventHandler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | let handler: Box<*const SyncEventHandler> = Box::from_raw(handler as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SyncEventHandler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | sync_event_handlers: Mutex>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SyncEventHandler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:533:44 [INFO] [stdout] | [INFO] [stdout] 533 | pub fn add_sync_event_handler(handler: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SyncEventHandler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:539:50 [INFO] [stdout] | [INFO] [stdout] 539 | pub fn remove_sync_event_handler(handler: *const SyncEventHandler) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SyncEventHandler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:539:50 [INFO] [stdout] | [INFO] [stdout] 539 | pub fn remove_sync_event_handler(handler: *const SyncEventHandler) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SyncEventHandler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:297:35 [INFO] [stdout] | [INFO] [stdout] 297 | 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] --> src/lib.rs:347:35 [INFO] [stdout] | [INFO] [stdout] 347 | 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] --> src/lib.rs:348:66 [INFO] [stdout] | [INFO] [stdout] 348 | let mut source: *mut ffi::android_poll_source = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:297:35 [INFO] [stdout] | [INFO] [stdout] 297 | 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] --> src/lib.rs:347:35 [INFO] [stdout] | [INFO] [stdout] 347 | 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] --> src/lib.rs:348:66 [INFO] [stdout] | [INFO] [stdout] 348 | let mut source: *mut ffi::android_poll_source = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `android_injected_glue` due to 2 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b9de04e0f3dbc99d633d6d2b32ee2d6907d79af8e05e0c5e802b38bb86d027eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9de04e0f3dbc99d633d6d2b32ee2d6907d79af8e05e0c5e802b38bb86d027eb", kill_on_drop: false }` [INFO] [stdout] b9de04e0f3dbc99d633d6d2b32ee2d6907d79af8e05e0c5e802b38bb86d027eb