[INFO] cloning repository https://github.com/eolculnamo2/some-project [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eolculnamo2/some-project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feolculnamo2%2Fsome-project", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feolculnamo2%2Fsome-project'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b18272bd00da6e7afd0f94db6bbdc89cdcd7f620 [INFO] checking eolculnamo2/some-project against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feolculnamo2%2Fsome-project" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eolculnamo2/some-project on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eolculnamo2/some-project [INFO] finished tweaking git repo https://github.com/eolculnamo2/some-project [INFO] tweaked toml for git repo https://github.com/eolculnamo2/some-project written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/eolculnamo2/some-project already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v1.0.61 [INFO] [stderr] Downloaded libc v0.2.87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b4933fc21db1d23789727794d2c35cb5e6105decc852b036144965de571d368 [INFO] running `Command { std: "docker" "start" "-a" "8b4933fc21db1d23789727794d2c35cb5e6105decc852b036144965de571d368", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b4933fc21db1d23789727794d2c35cb5e6105decc852b036144965de571d368", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b4933fc21db1d23789727794d2c35cb5e6105decc852b036144965de571d368", kill_on_drop: false }` [INFO] [stdout] 8b4933fc21db1d23789727794d2c35cb5e6105decc852b036144965de571d368 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da4a5d97df0a47d200e154457745b8eb40745f460f84aa74d537b01600b727f3 [INFO] running `Command { std: "docker" "start" "-a" "da4a5d97df0a47d200e154457745b8eb40745f460f84aa74d537b01600b727f3", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling syn v1.0.61 [INFO] [stderr] Compiling libc v0.2.87 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking translator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::utils::string_utils::find_start_at` [INFO] [stdout] --> src/dom/dom.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::utils::string_utils::{ find_start_at }; [INFO] [stdout] | ^^^^^^^^^^^^^ no `find_start_at` in `utils::string_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::utils::string_utils::find_start_at` [INFO] [stdout] --> src/dom/dom.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::utils::string_utils::{ find_start_at }; [INFO] [stdout] | ^^^^^^^^^^^^^ no `find_start_at` in `utils::string_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `option_result_contains` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(option_result_contains)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `option_result_contains` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(option_result_contains)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `substr_chars` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/utils/string_utils.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | if c == substr_chars.nth(0).unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 8 | let mut substr_chars = substr.chars(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `substr_chars` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/utils/string_utils.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | if c == substr_chars.nth(0).unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 8 | let mut substr_chars = substr.chars(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `string_chars` [INFO] [stdout] --> src/utils/string_utils.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 9 | let string_chars = string.chars(); [INFO] [stdout] | ------------ move occurs because `string_chars` has type `Chars<'_>`, which does not implement the `Copy` trait [INFO] [stdout] 10 | for (i,c) in string_chars.enumerate() { [INFO] [stdout] | ----------- `string_chars` moved due to this method call [INFO] [stdout] ... [INFO] [stdout] 13 | let matches = string_chars.nth(i + y).unwrap() == x; [INFO] [stdout] | ^^^^^^^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: `enumerate` takes ownership of the receiver `self`, which moves `string_chars` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/iter/traits/iterator.rs:978:18 [INFO] [stdout] help: you can `clone` the value and consume it, but this might not be your desired behavior [INFO] [stdout] | [INFO] [stdout] 10 | for (i,c) in string_chars.clone().enumerate() { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `string_chars` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/utils/string_utils.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | let matches = string_chars.nth(i + y).unwrap() == x; [INFO] [stdout] | ^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 9 | let mut string_chars = string.chars(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `string_chars` [INFO] [stdout] --> src/utils/string_utils.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 9 | let string_chars = string.chars(); [INFO] [stdout] | ------------ move occurs because `string_chars` has type `Chars<'_>`, which does not implement the `Copy` trait [INFO] [stdout] 10 | for (i,c) in string_chars.enumerate() { [INFO] [stdout] | ----------- `string_chars` moved due to this method call [INFO] [stdout] ... [INFO] [stdout] 13 | let matches = string_chars.nth(i + y).unwrap() == x; [INFO] [stdout] | ^^^^^^^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: `enumerate` takes ownership of the receiver `self`, which moves `string_chars` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/iter/traits/iterator.rs:978:18 [INFO] [stdout] help: you can `clone` the value and consume it, but this might not be your desired behavior [INFO] [stdout] | [INFO] [stdout] 10 | for (i,c) in string_chars.clone().enumerate() { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `string_chars` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/utils/string_utils.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | let matches = string_chars.nth(i + y).unwrap() == x; [INFO] [stdout] | ^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 9 | let mut string_chars = string.chars(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0432, E0596, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0432, E0596, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `translator` (bin "translator") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `translator` (bin "translator" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "da4a5d97df0a47d200e154457745b8eb40745f460f84aa74d537b01600b727f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da4a5d97df0a47d200e154457745b8eb40745f460f84aa74d537b01600b727f3", kill_on_drop: false }` [INFO] [stdout] da4a5d97df0a47d200e154457745b8eb40745f460f84aa74d537b01600b727f3 [INFO] checking eolculnamo2/some-project against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feolculnamo2%2Fsome-project" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eolculnamo2/some-project on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eolculnamo2/some-project [INFO] finished tweaking git repo https://github.com/eolculnamo2/some-project [INFO] tweaked toml for git repo https://github.com/eolculnamo2/some-project written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/eolculnamo2/some-project already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f07e73d286d9e907b15090443891bae37777a69d1e74cc80fb7fc87491a6a4ae [INFO] running `Command { std: "docker" "start" "-a" "f07e73d286d9e907b15090443891bae37777a69d1e74cc80fb7fc87491a6a4ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f07e73d286d9e907b15090443891bae37777a69d1e74cc80fb7fc87491a6a4ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f07e73d286d9e907b15090443891bae37777a69d1e74cc80fb7fc87491a6a4ae", kill_on_drop: false }` [INFO] [stdout] f07e73d286d9e907b15090443891bae37777a69d1e74cc80fb7fc87491a6a4ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8765eae99f7c9907505ecbd19136886f84a346f7ebb34e48a92fbf9049eb536b [INFO] running `Command { std: "docker" "start" "-a" "8765eae99f7c9907505ecbd19136886f84a346f7ebb34e48a92fbf9049eb536b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "8765eae99f7c9907505ecbd19136886f84a346f7ebb34e48a92fbf9049eb536b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8765eae99f7c9907505ecbd19136886f84a346f7ebb34e48a92fbf9049eb536b", kill_on_drop: false }` [INFO] [stdout] 8765eae99f7c9907505ecbd19136886f84a346f7ebb34e48a92fbf9049eb536b