[INFO] cloning repository https://github.com/mynameizzhafeez/regex-warrior [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mynameizzhafeez/regex-warrior" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmynameizzhafeez%2Fregex-warrior", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmynameizzhafeez%2Fregex-warrior'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6aeb9befe7f6d342ff65c87bc7357fce3b8a559d [INFO] checking mynameizzhafeez/regex-warrior against try#863511eff87e66198b396935f3b5c8a543022f53 for pr-139493-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmynameizzhafeez%2Fregex-warrior" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mynameizzhafeez/regex-warrior [INFO] finished tweaking git repo https://github.com/mynameizzhafeez/regex-warrior [INFO] tweaked toml for git repo https://github.com/mynameizzhafeez/regex-warrior written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mynameizzhafeez/regex-warrior on toolchain 863511eff87e66198b396935f3b5c8a543022f53 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mynameizzhafeez/regex-warrior 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" "+863511eff87e66198b396935f3b5c8a543022f53" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking mynameizzhafeez/regex-warrior against try#863511eff87e66198b396935f3b5c8a543022f53 for pr-139493-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmynameizzhafeez%2Fregex-warrior" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mynameizzhafeez/regex-warrior [INFO] finished tweaking git repo https://github.com/mynameizzhafeez/regex-warrior [INFO] tweaked toml for git repo https://github.com/mynameizzhafeez/regex-warrior written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mynameizzhafeez/regex-warrior on toolchain 863511eff87e66198b396935f3b5c8a543022f53 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mynameizzhafeez/regex-warrior 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" "+863511eff87e66198b396935f3b5c8a543022f53" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba861fa81b1d9bcbf36c3554f360faabfd1e1387a390e9fecb515bc94c5d1eef [INFO] running `Command { std: "docker" "start" "-a" "ba861fa81b1d9bcbf36c3554f360faabfd1e1387a390e9fecb515bc94c5d1eef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba861fa81b1d9bcbf36c3554f360faabfd1e1387a390e9fecb515bc94c5d1eef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba861fa81b1d9bcbf36c3554f360faabfd1e1387a390e9fecb515bc94c5d1eef", kill_on_drop: false }` [INFO] [stdout] ba861fa81b1d9bcbf36c3554f360faabfd1e1387a390e9fecb515bc94c5d1eef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1bc732ba771a96de9e273d2b1737a84937f6aee29ed2221df71d916b49c4d5ab [INFO] running `Command { std: "docker" "start" "-a" "1bc732ba771a96de9e273d2b1737a84937f6aee29ed2221df71d916b49c4d5ab", kill_on_drop: false }` [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking regex-warrior v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0596]: cannot borrow `*word` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/words.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | word.trigger(); [INFO] [stdout] | ^^^^ `word` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 26 | pub fn checkMatch(word: &mut Word, regex: &str) -> bool { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*word` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/words.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | word.trigger(); [INFO] [stdout] | ^^^^ `word` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 26 | pub fn checkMatch(word: &mut Word, regex: &str) -> bool { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> src/words.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn checkMatch(word: &Word, regex: &str) -> bool { [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | `word` is a reference that is only valid in the function body [INFO] [stdout] | has type `&Word<'1>` [INFO] [stdout] ... [INFO] [stdout] 30 | word.trigger(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `word` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] = note: requirement occurs because of a mutable reference to `Word<'static>` [INFO] [stdout] = note: mutable references are invariant over their type parameter [INFO] [stdout] = help: see for more information about variance [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> src/words.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn checkMatch(word: &Word, regex: &str) -> bool { [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | `word` is a reference that is only valid in the function body [INFO] [stdout] | has type `&Word<'1>` [INFO] [stdout] ... [INFO] [stdout] 30 | word.trigger(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `word` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] = note: requirement occurs because of a mutable reference to `Word<'static>` [INFO] [stdout] = note: mutable references are invariant over their type parameter [INFO] [stdout] = help: see for more information about variance [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0521, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0521`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0521, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0521`. [INFO] [stdout] [INFO] [stderr] error: could not compile `regex-warrior` (bin "regex-warrior") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `regex-warrior` (bin "regex-warrior" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "1bc732ba771a96de9e273d2b1737a84937f6aee29ed2221df71d916b49c4d5ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bc732ba771a96de9e273d2b1737a84937f6aee29ed2221df71d916b49c4d5ab", kill_on_drop: false }` [INFO] [stdout] 1bc732ba771a96de9e273d2b1737a84937f6aee29ed2221df71d916b49c4d5ab