[INFO] cloning repository https://github.com/ericrobolson/LpR [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ericrobolson/LpR" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericrobolson%2FLpR", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericrobolson%2FLpR'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] adec60bc43485d8e28994dd3ec6a6026047794b4 [INFO] checking ericrobolson/LpR against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericrobolson%2FLpR" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ericrobolson/LpR 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/ericrobolson/LpR [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/ericrobolson/LpR [INFO] tweaked toml for git repo https://github.com/ericrobolson/LpR written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/ericrobolson/LpR 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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] e328a0f18837cd64ddd8f2681731ab404d56affc19f793f537a9a19f58f972ea [INFO] running `Command { std: "docker" "start" "-a" "e328a0f18837cd64ddd8f2681731ab404d56affc19f793f537a9a19f58f972ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e328a0f18837cd64ddd8f2681731ab404d56affc19f793f537a9a19f58f972ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e328a0f18837cd64ddd8f2681731ab404d56affc19f793f537a9a19f58f972ea", kill_on_drop: false }` [INFO] [stdout] e328a0f18837cd64ddd8f2681731ab404d56affc19f793f537a9a19f58f972ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] 3549b0f35e9998eb970d218c4502c8d6c8788807e647f4d4e2d2f8bfe3b1e67f [INFO] running `Command { std: "docker" "start" "-a" "3549b0f35e9998eb970d218c4502c8d6c8788807e647f4d4e2d2f8bfe3b1e67f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling lpr v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/hello_world.rs from 2018 edition to 2021 [INFO] [stdout] error: expected one of `!` or `::`, found `is` [INFO] [stdout] --> examples/hello_world.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | This is a first level header [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: prefix `I` is unknown [INFO] [stdout] --> examples/hello_world.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | Note: I'm not quite sure what's going on here. [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 - Note: I'm not quite sure what's going on here. [INFO] [stdout] 12 + Note: I 'm not quite sure what's going on here. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: prefix `what` is unknown [INFO] [stdout] --> examples/hello_world.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | Note: I'm not quite sure what's going on here. [INFO] [stdout] | ^^^^ unknown prefix [INFO] [stdout] | [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 - Note: I'm not quite sure what's going on here. [INFO] [stdout] 12 + Note: I'm not quite sure what 's going on here. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/hello_world.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `hello_world` [INFO] [stdout] --> examples/hello_world.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[macro_use] [INFO] [stdout] 2 | | extern crate lpr; [INFO] [stdout] 3 | | use lpr::*; [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | ); [INFO] [stdout] | |__^ consider adding a `main` function to `examples/hello_world.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lpr` due to 3 previous errors; 3 warnings emitted [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" "3549b0f35e9998eb970d218c4502c8d6c8788807e647f4d4e2d2f8bfe3b1e67f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3549b0f35e9998eb970d218c4502c8d6c8788807e647f4d4e2d2f8bfe3b1e67f", kill_on_drop: false }` [INFO] [stdout] 3549b0f35e9998eb970d218c4502c8d6c8788807e647f4d4e2d2f8bfe3b1e67f