[INFO] cloning repository https://github.com/letsgetrusty/borrow-checker-repro [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/letsgetrusty/borrow-checker-repro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fletsgetrusty%2Fborrow-checker-repro", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fletsgetrusty%2Fborrow-checker-repro'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eabfe63dcdd170d7f4f1c48f95fa5fa03948d5ae [INFO] checking letsgetrusty/borrow-checker-repro against try#8cf44c88fc5805dc578c5c987397615b47d2e2b2 for pr-136764 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fletsgetrusty%2Fborrow-checker-repro" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/fsmonitor-watchman.sample' to '/workspace/builds/worker-7-tc2/source/.git/hooks/fsmonitor-watchman.sample': No space left on device [INFO] checking letsgetrusty/borrow-checker-repro against try#8cf44c88fc5805dc578c5c987397615b47d2e2b2 for pr-136764 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fletsgetrusty%2Fborrow-checker-repro" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/pre-merge-commit.sample' to '/workspace/builds/worker-7-tc2/source/.git/hooks/pre-merge-commit.sample': No space left on device [INFO] checking letsgetrusty/borrow-checker-repro against try#8cf44c88fc5805dc578c5c987397615b47d2e2b2 for pr-136764 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fletsgetrusty%2Fborrow-checker-repro" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] error: failed to write new configuration file /workspace/builds/worker-7-tc2/source/.git/config.lock [INFO] [stderr] fatal: could not set 'core.repositoryformatversion' to '0' [INFO] checking letsgetrusty/borrow-checker-repro against try#8cf44c88fc5805dc578c5c987397615b47d2e2b2 for pr-136764 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fletsgetrusty%2Fborrow-checker-repro" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] /workspace/builds/worker-7-tc2/source/.git/objects/pack: No space left on device [INFO] checking letsgetrusty/borrow-checker-repro against try#8cf44c88fc5805dc578c5c987397615b47d2e2b2 for pr-136764 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fletsgetrusty%2Fborrow-checker-repro" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/letsgetrusty/borrow-checker-repro on toolchain 8cf44c88fc5805dc578c5c987397615b47d2e2b2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8cf44c88fc5805dc578c5c987397615b47d2e2b2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/letsgetrusty/borrow-checker-repro [INFO] finished tweaking git repo https://github.com/letsgetrusty/borrow-checker-repro [INFO] tweaked toml for git repo https://github.com/letsgetrusty/borrow-checker-repro written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/letsgetrusty/borrow-checker-repro 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" "+8cf44c88fc5805dc578c5c987397615b47d2e2b2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+8cf44c88fc5805dc578c5c987397615b47d2e2b2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b16060a69c390683b743bd90753d88d881e4958a43c898da2fe65d3e03391341 [INFO] running `Command { std: "docker" "start" "-a" "b16060a69c390683b743bd90753d88d881e4958a43c898da2fe65d3e03391341", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b16060a69c390683b743bd90753d88d881e4958a43c898da2fe65d3e03391341", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b16060a69c390683b743bd90753d88d881e4958a43c898da2fe65d3e03391341", kill_on_drop: false }` [INFO] [stdout] b16060a69c390683b743bd90753d88d881e4958a43c898da2fe65d3e03391341 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+8cf44c88fc5805dc578c5c987397615b47d2e2b2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfdee5991475b78d051769dfec2d7ab9716a22fd85fdb75fc67312ac5291a15a [INFO] running `Command { std: "docker" "start" "-a" "cfdee5991475b78d051769dfec2d7ab9716a22fd85fdb75fc67312ac5291a15a", kill_on_drop: false }` [INFO] [stderr] Checking borrow-error-repro v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | fn method_2(&mut self, x: &AnotherStruct) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | fn method_2(&mut self, x: &AnotherStruct) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | let x = self.method_1(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 24 | self.method_2(x); [INFO] [stdout] | ^^^^^--------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used by call [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | let x = self.method_1(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 24 | self.method_2(x); [INFO] [stdout] | ^^^^^--------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used by call [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] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `borrow-error-repro` (bin "borrow-error-repro" test) due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `borrow-error-repro` (bin "borrow-error-repro") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "cfdee5991475b78d051769dfec2d7ab9716a22fd85fdb75fc67312ac5291a15a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfdee5991475b78d051769dfec2d7ab9716a22fd85fdb75fc67312ac5291a15a", kill_on_drop: false }` [INFO] [stdout] cfdee5991475b78d051769dfec2d7ab9716a22fd85fdb75fc67312ac5291a15a