[INFO] fetching crate porcupine 0.2.4... [INFO] checking porcupine-0.2.4 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate porcupine 0.2.4 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate porcupine 0.2.4 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate porcupine 0.2.4 [INFO] finished tweaking crates.io crate porcupine 0.2.4 [INFO] tweaked toml for crates.io crate porcupine 0.2.4 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate porcupine 0.2.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] aed6e2636ddb662622ac2da9341329b70fac4ea9bd67964c2875d34a14c0b597 [INFO] running `Command { std: "docker" "start" "-a" "aed6e2636ddb662622ac2da9341329b70fac4ea9bd67964c2875d34a14c0b597", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aed6e2636ddb662622ac2da9341329b70fac4ea9bd67964c2875d34a14c0b597", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aed6e2636ddb662622ac2da9341329b70fac4ea9bd67964c2875d34a14c0b597", kill_on_drop: false }` [INFO] [stdout] aed6e2636ddb662622ac2da9341329b70fac4ea9bd67964c2875d34a14c0b597 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62239954ba793581c3dcc9aef1c8cbb3de7f0d76183aa7c23f527a2db6fdb755 [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" "62239954ba793581c3dcc9aef1c8cbb3de7f0d76183aa7c23f527a2db6fdb755", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] winapi v0.3.8: handleapi, ntstatus, winerror, winnt [INFO] [stderr] [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking euclid v0.20.13 [INFO] [stderr] Checking porcupine v0.2.4 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/basics.rs from 2018 edition to 2021 [INFO] [stdout] error[E0432]: unresolved imports `porcupine::prelude`, `porcupine::winuser`, `porcupine::CmdShow`, `porcupine::DroplessWindow`, `porcupine::ExtendedWindowStyle`, `porcupine::OwnedWindowClass`, `porcupine::Window`, `porcupine::WindowStyle`, `porcupine::HWND`, `porcupine::LPARAM`, `porcupine::LRESULT`, `porcupine::UINT`, `porcupine::WPARAM` [INFO] [stdout] --> examples/basics.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | prelude::*, winuser, CmdShow, DroplessWindow, ExtendedWindowStyle, OwnedWindowClass, Window, WindowStyle, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ no `WindowStyle` in the root [INFO] [stdout] | | | | | | | | [INFO] [stdout] | | | | | | | no `Window` in the root [INFO] [stdout] | | | | | | no `OwnedWindowClass` in the root [INFO] [stdout] | | | | | no `ExtendedWindowStyle` in the root [INFO] [stdout] | | | | no `DroplessWindow` in the root [INFO] [stdout] | | | no `CmdShow` in the root [INFO] [stdout] | | no `winuser` in the root [INFO] [stdout] | could not find `prelude` in `porcupine` [INFO] [stdout] 49 | HWND, LPARAM, LRESULT, UINT, WPARAM, [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^^^ ^^^^ ^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | no `LPARAM` in the root [INFO] [stdout] | no `HWND` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Result` in crate `porcupine` [INFO] [stdout] --> examples/basics.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | fn main() -> porcupine::Result<()> { [INFO] [stdout] | ^^^^^^ not found in `porcupine` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 46 | use core::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 46 | use core::result::Result; [INFO] [stdout] | [INFO] [stdout] 46 | use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 46 | use std::io::Result; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_message` in crate `porcupine` [INFO] [stdout] --> examples/basics.rs:89:42 [INFO] [stdout] | [INFO] [stdout] 89 | while let Some(ref msg) = porcupine::get_message()? { [INFO] [stdout] | ^^^^^^^^^^^ not found in `porcupine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `translate_message` in crate `porcupine` [INFO] [stdout] --> examples/basics.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | porcupine::translate_message(msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `porcupine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dispatch_message` in crate `porcupine` [INFO] [stdout] --> examples/basics.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | porcupine::dispatch_message(msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `porcupine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `porcupine` due to 6 previous errors [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "62239954ba793581c3dcc9aef1c8cbb3de7f0d76183aa7c23f527a2db6fdb755", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62239954ba793581c3dcc9aef1c8cbb3de7f0d76183aa7c23f527a2db6fdb755", kill_on_drop: false }` [INFO] [stdout] 62239954ba793581c3dcc9aef1c8cbb3de7f0d76183aa7c23f527a2db6fdb755