[INFO] fetching crate robusta_jni 0.2.0... [INFO] checking robusta_jni-0.2.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate robusta_jni 0.2.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate robusta_jni 0.2.0 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 robusta_jni 0.2.0 [INFO] finished tweaking crates.io crate robusta_jni 0.2.0 [INFO] tweaked toml for crates.io crate robusta_jni 0.2.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jni v0.17.0 [INFO] [stderr] Downloaded robusta-codegen v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] [stdout] 70649615a2bbf49eef30c6e4d8ff2771babdabce786896a135d372c663e9f669 [INFO] running `Command { std: "docker" "start" "-a" "70649615a2bbf49eef30c6e4d8ff2771babdabce786896a135d372c663e9f669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70649615a2bbf49eef30c6e4d8ff2771babdabce786896a135d372c663e9f669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70649615a2bbf49eef30c6e4d8ff2771babdabce786896a135d372c663e9f669", kill_on_drop: false }` [INFO] [stdout] 70649615a2bbf49eef30c6e4d8ff2771babdabce786896a135d372c663e9f669 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] c0302e79182df99c83a04cfaf1d1aaca168b99134209aa99cd55694e40f38664 [INFO] running `Command { std: "docker" "start" "-a" "c0302e79182df99c83a04cfaf1d1aaca168b99134209aa99cd55694e40f38664", 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] memchr v2.4.1: default [INFO] [stderr] memchr v2.4.1 (as host dependency): use_std [INFO] [stderr] [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Checking jni-sys v0.3.0 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling jni v0.17.0 [INFO] [stderr] Checking object v0.26.1 [INFO] [stderr] Checking combine v4.6.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling robusta-codegen v0.2.0 [INFO] [stderr] Checking robusta_jni v0.2.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `robusta_jni` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/convert/safe.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0107]: this trait takes 0 generic arguments but 2 generic arguments were supplied [INFO] [stderr] --> src/convert/safe.rs:245:29 [INFO] [stderr] | [INFO] [stderr] 245 | .map(|el| >::try_from(U::unbox(el, env), env)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^------ help: remove these generics [INFO] [stderr] | | [INFO] [stderr] | expected 0 generic arguments [INFO] [stderr] | [INFO] [stderr] note: trait defined here, with 0 generic parameters [INFO] [stderr] --> src/convert/safe.rs:84:11 [INFO] [stderr] | [INFO] [stderr] 84 | pub trait TryFromJavaValue<'env: 'borrow, 'borrow> [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0107`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] error[E0107]: this trait takes 0 generic arguments but 2 generic arguments were supplied [INFO] [stdout] --> src/convert/safe.rs:245:29 [INFO] [stdout] | [INFO] [stdout] 245 | .map(|el| >::try_from(U::unbox(el, env), env)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^------ help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 generic parameters [INFO] [stdout] --> src/convert/safe.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | pub trait TryFromJavaValue<'env: 'borrow, 'borrow> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `robusta_jni` due to 2 previous errors [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/convert/safe.rs:245:23 [INFO] [stdout] | [INFO] [stdout] 245 | .map(|el| T::try_from(U::unbox(el, env), env)) [INFO] [stdout] | ^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-prelude-collisions` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [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" "c0302e79182df99c83a04cfaf1d1aaca168b99134209aa99cd55694e40f38664", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0302e79182df99c83a04cfaf1d1aaca168b99134209aa99cd55694e40f38664", kill_on_drop: false }` [INFO] [stdout] c0302e79182df99c83a04cfaf1d1aaca168b99134209aa99cd55694e40f38664