[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/b18272bd00da6e7afd0f94db6bbdc89cdcd7f620 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feolculnamo2%2Fsome-project" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eolculnamo2/some-project on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-4-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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded version_check v0.9.2 [INFO] [stderr] Downloaded heck v0.3.2 [INFO] [stderr] Downloaded unicode-xid v0.2.1 [INFO] [stderr] Downloaded structopt-derive v0.4.14 [INFO] [stderr] Downloaded bitflags v1.2.1 [INFO] [stderr] Downloaded ansi_term v0.11.0 [INFO] [stderr] Downloaded structopt v0.3.21 [INFO] [stderr] Downloaded proc-macro2 v1.0.24 [INFO] [stderr] Downloaded hermit-abi v0.1.18 [INFO] [stderr] Downloaded quote v1.0.9 [INFO] [stderr] Downloaded unicode-segmentation v1.7.1 [INFO] [stderr] Downloaded unicode-width v0.1.8 [INFO] [stderr] Downloaded clap v2.33.3 [INFO] [stderr] Downloaded syn v1.0.61 [INFO] [stderr] Downloaded libc v0.2.87 [INFO] [stderr] Downloaded winapi v0.3.9 [INFO] [stderr] Downloaded winapi-i686-pc-windows-gnu v0.4.0 [INFO] [stderr] Downloaded winapi-x86_64-pc-windows-gnu v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 727a058d2c46c30e21498d77c89ed6c60873701acfb87dfc7fcf3345f0834e93 [INFO] running `Command { std: "docker" "start" "-a" "727a058d2c46c30e21498d77c89ed6c60873701acfb87dfc7fcf3345f0834e93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "727a058d2c46c30e21498d77c89ed6c60873701acfb87dfc7fcf3345f0834e93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "727a058d2c46c30e21498d77c89ed6c60873701acfb87dfc7fcf3345f0834e93", kill_on_drop: false }` [INFO] [stdout] 727a058d2c46c30e21498d77c89ed6c60873701acfb87dfc7fcf3345f0834e93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 243ab10d1fc3ffd1716b90e3563494aac9dba0ccdb061d80867d44196a594a7f [INFO] running `Command { std: "docker" "start" "-a" "243ab10d1fc3ffd1716b90e3563494aac9dba0ccdb061d80867d44196a594a7f", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.87 [INFO] [stderr] Compiling syn v1.0.61 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [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] Compiling heck v0.3.2 [INFO] [stderr] Compiling quote v1.0.9 [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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/iter/traits/iterator.rs:958: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[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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/iter/traits/iterator.rs:958: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[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] 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] 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 5 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 5 previous errors [INFO] running `Command { std: "docker" "inspect" "243ab10d1fc3ffd1716b90e3563494aac9dba0ccdb061d80867d44196a594a7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "243ab10d1fc3ffd1716b90e3563494aac9dba0ccdb061d80867d44196a594a7f", kill_on_drop: false }` [INFO] [stdout] 243ab10d1fc3ffd1716b90e3563494aac9dba0ccdb061d80867d44196a594a7f