[INFO] fetching crate ct-python 0.5.2... [INFO] checking ct-python-0.5.2 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate ct-python 0.5.2 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate ct-python 0.5.2 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 ct-python 0.5.2 [INFO] finished tweaking crates.io crate ct-python 0.5.2 [INFO] tweaked toml for crates.io crate ct-python 0.5.2 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate ct-python 0.5.2 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] Downloading crates ... [INFO] [stderr] Downloaded pyo3-build-config v0.14.0 [INFO] [stderr] Downloaded inline-python-macros v0.7.0 [INFO] [stderr] Downloaded pyo3 v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] b8caa8ff2bbe2c313ccf9c0742b9e583dc3f0157d599945cc0cd537280b72ae0 [INFO] running `Command { std: "docker" "start" "-a" "b8caa8ff2bbe2c313ccf9c0742b9e583dc3f0157d599945cc0cd537280b72ae0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8caa8ff2bbe2c313ccf9c0742b9e583dc3f0157d599945cc0cd537280b72ae0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8caa8ff2bbe2c313ccf9c0742b9e583dc3f0157d599945cc0cd537280b72ae0", kill_on_drop: false }` [INFO] [stdout] b8caa8ff2bbe2c313ccf9c0742b9e583dc3f0157d599945cc0cd537280b72ae0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bb618a3d132b48f3ffaf21416adc3090bea737f4c0d233d00a736af83bc13b10 [INFO] running `Command { std: "docker" "start" "-a" "bb618a3d132b48f3ffaf21416adc3090bea737f4c0d233d00a736af83bc13b10", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling pyo3-build-config v0.14.0 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling pyo3 v0.14.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling inline-python-macros v0.7.0 [INFO] [stderr] Checking ct-python v0.5.2 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/example.rs from 2018 edition to 2021 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `example` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * examples/example.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: python: invalid syntax [INFO] [stderr] --> examples/example.rs:12:3 [INFO] [stderr] | [INFO] [stderr] 12 | print(f "({cos(i / n * tau)}, {sin(i / n * tau)}),") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: prefix `f` is unknown [INFO] [stdout] --> examples/example.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | print(f"({cos(i / n * tau)}, {sin(i / n * tau)}),") [INFO] [stdout] | ^ unknown prefix [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-prefixes-incompatible-syntax` 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] help: insert whitespace here to avoid this being parsed as a prefix in Rust 2021 [INFO] [stdout] | [INFO] [stdout] 12 - print(f"({cos(i / n * tau)}, {sin(i / n * tau)}),") [INFO] [stdout] 12 + print(f "({cos(i / n * tau)}, {sin(i / n * tau)}),") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.18s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking ct-python v0.5.2 (/tmp/fixit) [INFO] [stdout] error: prefix `f` is unknown [INFO] [stdout] --> examples/example.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | print(f"({cos(i / n * tau)}, {sin(i / n * tau)}),") [INFO] [stdout] | ^ unknown prefix [INFO] [stdout] | [INFO] [stdout] = note: prefixed identifiers and literals are reserved since Rust 2021 [INFO] [stdout] help: consider inserting whitespace here [INFO] [stdout] | [INFO] [stdout] 12 - print(f"({cos(i / n * tau)}, {sin(i / n * tau)}),") [INFO] [stdout] 12 + print(f "({cos(i / n * tau)}, {sin(i / n * tau)}),") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ct-python` due to 2 previous errors [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" "bb618a3d132b48f3ffaf21416adc3090bea737f4c0d233d00a736af83bc13b10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb618a3d132b48f3ffaf21416adc3090bea737f4c0d233d00a736af83bc13b10", kill_on_drop: false }` [INFO] [stdout] bb618a3d132b48f3ffaf21416adc3090bea737f4c0d233d00a736af83bc13b10