[INFO] cloning repository https://github.com/hagaeru3sei/py-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hagaeru3sei/py-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhagaeru3sei%2Fpy-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhagaeru3sei%2Fpy-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fb824691f93f7375c82a6797344ffffe9d5c2798 [INFO] checking hagaeru3sei/py-rs against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhagaeru3sei%2Fpy-rs" "/workspace/builds/worker-51/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-51/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hagaeru3sei/py-rs 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 git repo https://github.com/hagaeru3sei/py-rs [INFO] finished tweaking git repo https://github.com/hagaeru3sei/py-rs [INFO] tweaked toml for git repo https://github.com/hagaeru3sei/py-rs written to /workspace/builds/worker-51/source/Cargo.toml [INFO] crate git repo https://github.com/hagaeru3sei/py-rs 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ctor v0.1.16 [INFO] [stderr] Downloaded indoc-impl v0.3.6 [INFO] [stderr] Downloaded inventory v0.1.9 [INFO] [stderr] Downloaded unindent v0.1.7 [INFO] [stderr] Downloaded indoc v0.3.6 [INFO] [stderr] Downloaded inventory-impl v0.1.9 [INFO] [stderr] Downloaded ghost v0.1.2 [INFO] [stderr] Downloaded pyo3-derive-backend v0.12.3 [INFO] [stderr] Downloaded pyo3cls v0.12.3 [INFO] [stderr] Downloaded pyo3 v0.12.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/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] 7d18d3839691783a4aa560a334fea10469e62d73ac6360fe8694adbd16a591a7 [INFO] running `Command { std: "docker" "start" "-a" "7d18d3839691783a4aa560a334fea10469e62d73ac6360fe8694adbd16a591a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d18d3839691783a4aa560a334fea10469e62d73ac6360fe8694adbd16a591a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d18d3839691783a4aa560a334fea10469e62d73ac6360fe8694adbd16a591a7", kill_on_drop: false }` [INFO] [stdout] 7d18d3839691783a4aa560a334fea10469e62d73ac6360fe8694adbd16a591a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/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] 3a0bee05943cb317ac209df52a9f99b8cbe9d8ced2f3cbe3337d585912311d1b [INFO] running `Command { std: "docker" "start" "-a" "3a0bee05943cb317ac209df52a9f99b8cbe9d8ced2f3cbe3337d585912311d1b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Compiling inventory v0.1.9 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling pyo3 v0.12.3 [INFO] [stderr] Checking instant v0.1.8 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Compiling pyo3-derive-backend v0.12.3 [INFO] [stderr] Compiling ctor v0.1.16 [INFO] [stderr] Compiling inventory-impl v0.1.9 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling pyo3cls v0.12.3 [INFO] [stderr] Checking indoc v0.3.6 [INFO] [stderr] Checking py-rs v0.0.1 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `py_rs` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/main.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[E0425]: cannot find crate `try_into` in the list of imported crates [INFO] [stderr] --> src/main.rs:28:27 [INFO] [stderr] | [INFO] [stderr] 28 | let path: &PyList = ::try_into(&*py.import("sys").unwrap().get("path").unwrap()).unwrap(); [INFO] [stderr] | ^^^^^^^^ not found in the list of imported crates [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unused import: `IntoPyDict` [INFO] [stdout] --> src/main.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | PyBytes, PyDict, PyList, IntoPyDict [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/main.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let path: &PyList = py.import("sys").unwrap().get("path").unwrap().try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `::try_into(&*py.import("sys").unwrap().get("path").unwrap())` [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] [stdout] warning: unused import: `IntoPyDict` [INFO] [stdout] --> src/main.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | PyBytes, PyDict, PyList, IntoPyDict [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `try_into` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/main.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let path: &PyList = py.import("sys").unwrap().get("path").unwrap().try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `::try_into(&*py.import("sys").unwrap().get("path").unwrap())` [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] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.56s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking py-rs v0.0.1 (/tmp/fixit) [INFO] [stdout] warning: unused import: `IntoPyDict` [INFO] [stdout] --> src/main.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | PyBytes, PyDict, PyList, IntoPyDict [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoPyDict` [INFO] [stdout] --> src/main.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | PyBytes, PyDict, PyList, IntoPyDict [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:28:72 [INFO] [stdout] | [INFO] [stdout] 28 | let path: &PyList = py.import("sys").unwrap().get("path").unwrap().try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^ multiple `try_into` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `TryInto` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `pyo3::PyTryInto` for the type `PyAny` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 28 | let path: &PyList = TryInto::try_into(&py.import("sys").unwrap().get("path").unwrap()).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 28 | let path: &PyList = pyo3::PyTryInto::try_into(&py.import("sys").unwrap().get("path").unwrap()).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `py-rs` due to 2 previous errors; 1 warning emitted [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/main.rs:28:72 [INFO] [stdout] | [INFO] [stdout] 28 | let path: &PyList = py.import("sys").unwrap().get("path").unwrap().try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^ multiple `try_into` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `TryInto` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `pyo3::PyTryInto` for the type `PyAny` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 28 | let path: &PyList = TryInto::try_into(&py.import("sys").unwrap().get("path").unwrap()).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 28 | let path: &PyList = pyo3::PyTryInto::try_into(&py.import("sys").unwrap().get("path").unwrap()).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "3a0bee05943cb317ac209df52a9f99b8cbe9d8ced2f3cbe3337d585912311d1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a0bee05943cb317ac209df52a9f99b8cbe9d8ced2f3cbe3337d585912311d1b", kill_on_drop: false }` [INFO] [stdout] 3a0bee05943cb317ac209df52a9f99b8cbe9d8ced2f3cbe3337d585912311d1b