[INFO] fetching crate minigrep_by_shyoy 0.1.0...
[INFO] checking minigrep_by_shyoy-0.1.0 against master#df1ae0f7dd168513de2d89beb2cb7a95d4fdc118 for pr-159343
[INFO] extracting crate minigrep_by_shyoy 0.1.0 into /workspace/builds/worker-3-tc1/source
[INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml
[INFO] started tweaking crates.io crate minigrep_by_shyoy 0.1.0
[INFO] finished tweaking crates.io crate minigrep_by_shyoy 0.1.0
[INFO] tweaked toml for crates.io crate minigrep_by_shyoy 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate minigrep_by_shyoy 0.1.0 on toolchain df1ae0f7dd168513de2d89beb2cb7a95d4fdc118
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate minigrep_by_shyoy 0.1.0 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" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] aade80d62e734ae9d6f240e7c98e63247dfb58f32b05588ef36c14b184c41f3b
[INFO] running `Command { std: "docker" "start" "aade80d62e734ae9d6f240e7c98e63247dfb58f32b05588ef36c14b184c41f3b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aade80d62e734ae9d6f240e7c98e63247dfb58f32b05588ef36c14b184c41f3b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "aade80d62e734ae9d6f240e7c98e63247dfb58f32b05588ef36c14b184c41f3b" "/opt/rustwide/cargo-home/bin/cargo" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aade80d62e734ae9d6f240e7c98e63247dfb58f32b05588ef36c14b184c41f3b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "aade80d62e734ae9d6f240e7c98e63247dfb58f32b05588ef36c14b184c41f3b" "/opt/rustwide/cargo-home/bin/cargo" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking minigrep_by_shyoy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0502]: cannot borrow `self.result` as mutable because it is also borrowed as immutable
[INFO] [stdout]   --> src/bin/test1.rs:70:17
[INFO] [stdout]    |
[INFO] [stdout] 65 |     fn result(&mut self, ar: i32) -> &i32 {
[INFO] [stdout]    |               - let's call the lifetime of this reference `'1`
[INFO] [stdout] 66 |         let vv = (self.bag)(ar);
[INFO] [stdout] 67 |         match self.result.get(&ar) {
[INFO] [stdout]    |               ----------- immutable borrow occurs here
[INFO] [stdout] 68 |             Some(v) => v,
[INFO] [stdout]    |                        - returning this value requires that `self.result` is borrowed for `'1`
[INFO] [stdout] 69 |             None => {
[INFO] [stdout] 70 |                 self.result.insert(ar, vv);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `minigrep_by_shyoy` (bin "test1") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0502]: cannot borrow `self.result` as mutable because it is also borrowed as immutable
[INFO] [stdout]   --> src/bin/test1.rs:70:17
[INFO] [stdout]    |
[INFO] [stdout] 65 |     fn result(&mut self, ar: i32) -> &i32 {
[INFO] [stdout]    |               - let's call the lifetime of this reference `'1`
[INFO] [stdout] 66 |         let vv = (self.bag)(ar);
[INFO] [stdout] 67 |         match self.result.get(&ar) {
[INFO] [stdout]    |               ----------- immutable borrow occurs here
[INFO] [stdout] 68 |             Some(v) => v,
[INFO] [stdout]    |                        - returning this value requires that `self.result` is borrowed for `'1`
[INFO] [stdout] 69 |             None => {
[INFO] [stdout] 70 |                 self.result.insert(ar, vv);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `minigrep_by_shyoy` (bin "test1" test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "aade80d62e734ae9d6f240e7c98e63247dfb58f32b05588ef36c14b184c41f3b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aade80d62e734ae9d6f240e7c98e63247dfb58f32b05588ef36c14b184c41f3b", kill_on_drop: false }`
[INFO] [stdout] aade80d62e734ae9d6f240e7c98e63247dfb58f32b05588ef36c14b184c41f3b
