[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] testing mynameizzhafeez/regex-warrior against master#595316b4006932405a63862d8fe65f71a6356293 for pr-128254 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmynameizzhafeez%2Fregex-warrior" "/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/mynameizzhafeez/regex-warrior on toolchain 595316b4006932405a63862d8fe65f71a6356293 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [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" "+595316b4006932405a63862d8fe65f71a6356293" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing mynameizzhafeez/regex-warrior against try#5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b for pr-128254 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmynameizzhafeez%2Fregex-warrior" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mynameizzhafeez/regex-warrior on toolchain 5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc2/source/Cargo.toml [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" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "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] testing mynameizzhafeez/regex-warrior against try#5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b for pr-128254 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmynameizzhafeez%2Fregex-warrior" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mynameizzhafeez/regex-warrior on toolchain 5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc2/source/Cargo.toml [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" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9745bbbae4e3596f1249bf3981cec71b0c682d9cfd3bb7ddcf2ec72228a72108 [INFO] running `Command { std: "docker" "start" "-a" "9745bbbae4e3596f1249bf3981cec71b0c682d9cfd3bb7ddcf2ec72228a72108", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9745bbbae4e3596f1249bf3981cec71b0c682d9cfd3bb7ddcf2ec72228a72108", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9745bbbae4e3596f1249bf3981cec71b0c682d9cfd3bb7ddcf2ec72228a72108", kill_on_drop: false }` [INFO] [stdout] 9745bbbae4e3596f1249bf3981cec71b0c682d9cfd3bb7ddcf2ec72228a72108 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+5e89635d7bf1d3033c2eb20378b7b3cbe2dd1a9b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2af3b549e2d9af2d0840f7042b0c064cc4df0be1aca7361f99cdf06d621ca8e [INFO] running `Command { std: "docker" "start" "-a" "c2af3b549e2d9af2d0840f7042b0c064cc4df0be1aca7361f99cdf06d621ca8e", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling 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[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: aborting due to 2 previous errors [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] [stderr] error: could not compile `regex-warrior` (bin "regex-warrior") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "c2af3b549e2d9af2d0840f7042b0c064cc4df0be1aca7361f99cdf06d621ca8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2af3b549e2d9af2d0840f7042b0c064cc4df0be1aca7361f99cdf06d621ca8e", kill_on_drop: false }` [INFO] [stdout] c2af3b549e2d9af2d0840f7042b0c064cc4df0be1aca7361f99cdf06d621ca8e