[INFO] cloning repository https://github.com/ISSOtm/word_search
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ISSOtm/word_search" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FISSOtm%2Fword_search", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FISSOtm%2Fword_search'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7b3b97cba4c7a5e1f850a2a7032de73f8d3b2f81
[INFO] building ISSOtm/word_search against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FISSOtm%2Fword_search" "/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/ISSOtm/word_search on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ISSOtm/word_search
[INFO] finished tweaking git repo https://github.com/ISSOtm/word_search
[INFO] tweaked toml for git repo https://github.com/ISSOtm/word_search written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/ISSOtm/word_search 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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded clap v3.0.0-beta.2
[INFO] [stderr]   Downloaded clap_derive v3.0.0-beta.2
[INFO] [stderr]   Downloaded os_str_bytes v2.4.0
[INFO] [stderr]   Downloaded textwrap v0.12.1
[INFO] [stderr]   Downloaded syn v1.0.53
[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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 095fcec5cd8da929cdb5d2ffb98ee9b4c4211344dada25edb2dcc1688df83126
[INFO] running `Command { std: "docker" "start" "-a" "095fcec5cd8da929cdb5d2ffb98ee9b4c4211344dada25edb2dcc1688df83126", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "095fcec5cd8da929cdb5d2ffb98ee9b4c4211344dada25edb2dcc1688df83126", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "095fcec5cd8da929cdb5d2ffb98ee9b4c4211344dada25edb2dcc1688df83126", kill_on_drop: false }`
[INFO] [stdout] 095fcec5cd8da929cdb5d2ffb98ee9b4c4211344dada25edb2dcc1688df83126
[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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e008e9b75ff9a2a3795c603aa6456187734673b786b4239379f9ca29ec2f4e52
[INFO] running `Command { std: "docker" "start" "-a" "e008e9b75ff9a2a3795c603aa6456187734673b786b4239379f9ca29ec2f4e52", 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 syn v1.0.53
[INFO] [stderr]    Compiling libc v0.2.80
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling unicode-segmentation v1.7.1
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling textwrap v0.12.1
[INFO] [stderr]    Compiling indexmap v1.6.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling os_str_bytes v2.4.0
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling aho-corasick v0.7.15
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap_derive v3.0.0-beta.2
[INFO] [stderr]    Compiling clap v3.0.0-beta.2
[INFO] [stderr]    Compiling word-search v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `board` is never read
[INFO] [stdout]   --> src/lib.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct WordSearch<'a> {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 55 |     board: &'a Board,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `WordSearch` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `board`
[INFO] [stdout]   --> src/main.rs:49:21
[INFO] [stdout]    |
[INFO] [stdout] 49 |                 Ok((board, words, matches)) => {
[INFO] [stdout]    |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_board`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `words`
[INFO] [stdout]   --> src/main.rs:49:28
[INFO] [stdout]    |
[INFO] [stdout] 49 |                 Ok((board, words, matches)) => {
[INFO] [stdout]    |                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_words`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `matches`
[INFO] [stdout]   --> src/main.rs:49:35
[INFO] [stdout]    |
[INFO] [stdout] 49 |                 Ok((board, words, matches)) => {
[INFO] [stdout]    |                                   ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `board`
[INFO] [stdout]   --> src/main.rs:87:25
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let (board, words) = match path {
[INFO] [stdout]    |          ----- move occurs because `board` has type `Board`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 85 |         board,
[INFO] [stdout]    |         ----- value moved here
[INFO] [stdout] 86 |         words,
[INFO] [stdout] 87 |         WordSearch::new(&board, &words, allow_backwards)?,
[INFO] [stdout]    |                         ^^^^^^ value borrowed here after move
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `words`
[INFO] [stdout]   --> src/main.rs:87:33
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let (board, words) = match path {
[INFO] [stdout]    |                 ----- move occurs because `words` has type `Vec<String>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 86 |         words,
[INFO] [stdout]    |         ----- value moved here
[INFO] [stdout] 87 |         WordSearch::new(&board, &words, allow_backwards)?,
[INFO] [stdout]    |                                 ^^^^^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 86 |         words.clone(),
[INFO] [stdout]    |              ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `board`
[INFO] [stdout]   --> src/main.rs:89:5
[INFO] [stdout]    |
[INFO] [stdout] 87 |         WordSearch::new(&board, &words, allow_backwards)?,
[INFO] [stdout]    |                         ------ `board` is borrowed here
[INFO] [stdout] 88 |     );
[INFO] [stdout] 89 |     Ok(ret)
[INFO] [stdout]    |     ^^^^^^^ returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0382, E0515.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `word-search` (bin "word-search") due to 3 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e008e9b75ff9a2a3795c603aa6456187734673b786b4239379f9ca29ec2f4e52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e008e9b75ff9a2a3795c603aa6456187734673b786b4239379f9ca29ec2f4e52", kill_on_drop: false }`
[INFO] [stdout] e008e9b75ff9a2a3795c603aa6456187734673b786b4239379f9ca29ec2f4e52
