[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#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feolculnamo2%2Fsome-project" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eolculnamo2/some-project on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-5-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa2c22d0c01162c7c94da7d7aadefe31f37169228391ed0dc0112c8ac80106cd [INFO] running `Command { std: "docker" "start" "-a" "fa2c22d0c01162c7c94da7d7aadefe31f37169228391ed0dc0112c8ac80106cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa2c22d0c01162c7c94da7d7aadefe31f37169228391ed0dc0112c8ac80106cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa2c22d0c01162c7c94da7d7aadefe31f37169228391ed0dc0112c8ac80106cd", kill_on_drop: false }` [INFO] [stdout] fa2c22d0c01162c7c94da7d7aadefe31f37169228391ed0dc0112c8ac80106cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82f31d3c3d9d10c980c7d8a32f16d9a9d1c1b7b3d91c2b5c15e10c91bbd9f52f [INFO] running `Command { std: "docker" "start" "-a" "82f31d3c3d9d10c980c7d8a32f16d9a9d1c1b7b3d91c2b5c15e10c91bbd9f52f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.61 [INFO] [stderr] Compiling libc v0.2.87 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [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[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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/iter/traits/iterator.rs:973: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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/iter/traits/iterator.rs:973: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] 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") 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" test) due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "82f31d3c3d9d10c980c7d8a32f16d9a9d1c1b7b3d91c2b5c15e10c91bbd9f52f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82f31d3c3d9d10c980c7d8a32f16d9a9d1c1b7b3d91c2b5c15e10c91bbd9f52f", kill_on_drop: false }` [INFO] [stdout] 82f31d3c3d9d10c980c7d8a32f16d9a9d1c1b7b3d91c2b5c15e10c91bbd9f52f