[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] checking ISSOtm/word_search/7b3b97cba4c7a5e1f850a2a7032de73f8d3b2f81 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FISSOtm%2Fword_search" "/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/ISSOtm/word_search 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/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-0-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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53f07c04b044131749bc3a024a11470e2aac9d383f4018340ec6ef2de59a37df [INFO] running `Command { std: "docker" "start" "-a" "53f07c04b044131749bc3a024a11470e2aac9d383f4018340ec6ef2de59a37df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53f07c04b044131749bc3a024a11470e2aac9d383f4018340ec6ef2de59a37df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53f07c04b044131749bc3a024a11470e2aac9d383f4018340ec6ef2de59a37df", kill_on_drop: false }` [INFO] [stdout] 53f07c04b044131749bc3a024a11470e2aac9d383f4018340ec6ef2de59a37df [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=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] 1a9eaffd852aa1073bf14f186a9bbae11191eda1fe23b8a70642929bdb39ca55 [INFO] running `Command { std: "docker" "start" "-a" "1a9eaffd852aa1073bf14f186a9bbae11191eda1fe23b8a70642929bdb39ca55", 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 unicode-segmentation v1.7.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking word-search v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `read_file` in this scope [INFO] [stdout] --> src/main.rs:214:26 [INFO] [stdout] | [INFO] [stdout] 214 | let (board, words) = read_file("test".as_bytes_mut()).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [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`, 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] 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`, 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, E0425, E0515. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [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" test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `word-search` (bin "word-search") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "1a9eaffd852aa1073bf14f186a9bbae11191eda1fe23b8a70642929bdb39ca55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a9eaffd852aa1073bf14f186a9bbae11191eda1fe23b8a70642929bdb39ca55", kill_on_drop: false }` [INFO] [stdout] 1a9eaffd852aa1073bf14f186a9bbae11191eda1fe23b8a70642929bdb39ca55