[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#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feolculnamo2%2Fsome-project" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eolculnamo2/some-project on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-0-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v1.0.61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ed852b024e9ca0e85faa3d76e2ebe28bc4e8cbcf36795fb8a1c7fbfd5f2c4db [INFO] running `Command { std: "docker" "start" "-a" "8ed852b024e9ca0e85faa3d76e2ebe28bc4e8cbcf36795fb8a1c7fbfd5f2c4db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ed852b024e9ca0e85faa3d76e2ebe28bc4e8cbcf36795fb8a1c7fbfd5f2c4db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ed852b024e9ca0e85faa3d76e2ebe28bc4e8cbcf36795fb8a1c7fbfd5f2c4db", kill_on_drop: false }` [INFO] [stdout] 8ed852b024e9ca0e85faa3d76e2ebe28bc4e8cbcf36795fb8a1c7fbfd5f2c4db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 727cd9514dc860fc961d5871da8b2470d4f01020139e81d02c45642220afec33 [INFO] running `Command { std: "docker" "start" "-a" "727cd9514dc860fc961d5871da8b2470d4f01020139e81d02c45642220afec33", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling libc v0.2.87 [INFO] [stderr] Compiling syn v1.0.61 [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] warning: unused variable: `stringified_dom` [INFO] [stdout] --> src/dom/dom.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | let stringified_dom = fs::read_to_string(file_path).expect("Unable to read file at provided path"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stringified_dom` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stringified_dom` [INFO] [stdout] --> src/dom/dom.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | let stringified_dom = fs::read_to_string(file_path).expect("Unable to read file at provided path"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stringified_dom` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/iter/traits/iterator.rs:976: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 `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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/iter/traits/iterator.rs:976: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] warning: unused variable: `dom_meta_data_list` [INFO] [stdout] --> src/main.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | let dom_meta_data_list: Vec = dom::dom::gather_metadata(cli_args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dom_meta_data_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dom_meta_data_list` [INFO] [stdout] --> src/main.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | let dom_meta_data_list: Vec = dom::dom::gather_metadata(cli_args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dom_meta_data_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [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; 2 warnings emitted [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" test) due to 6 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `translator` (bin "translator") due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "727cd9514dc860fc961d5871da8b2470d4f01020139e81d02c45642220afec33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "727cd9514dc860fc961d5871da8b2470d4f01020139e81d02c45642220afec33", kill_on_drop: false }` [INFO] [stdout] 727cd9514dc860fc961d5871da8b2470d4f01020139e81d02c45642220afec33