[INFO] cloning repository https://github.com/christopherdumas/microeconomics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/christopherdumas/microeconomics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristopherdumas%2Fmicroeconomics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristopherdumas%2Fmicroeconomics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 66660ae85a1e928e4a543ee7e390d98381093eda [INFO] checking christopherdumas/microeconomics against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristopherdumas%2Fmicroeconomics" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/christopherdumas/microeconomics on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/christopherdumas/microeconomics [INFO] finished tweaking git repo https://github.com/christopherdumas/microeconomics [INFO] tweaked toml for git repo https://github.com/christopherdumas/microeconomics written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/christopherdumas/microeconomics 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded linefeed v0.6.0 [INFO] [stderr] Downloaded structopt-derive v0.4.7 [INFO] [stderr] Downloaded hermit-abi v0.1.13 [INFO] [stderr] Downloaded quote v1.0.6 [INFO] [stderr] Downloaded proc-macro2 v1.0.14 [INFO] [stderr] Downloaded terminfo v0.7.3 [INFO] [stderr] Downloaded structopt v0.3.14 [INFO] [stderr] Downloaded mortal v0.2.2 [INFO] [stderr] Downloaded syn v1.0.23 [INFO] [stderr] Downloaded libc v0.2.70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbec53a163515cc1d73392441dfa7d91b0bd9729ea69f02990ebfa7b6da9e1cc [INFO] running `Command { std: "docker" "start" "-a" "dbec53a163515cc1d73392441dfa7d91b0bd9729ea69f02990ebfa7b6da9e1cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbec53a163515cc1d73392441dfa7d91b0bd9729ea69f02990ebfa7b6da9e1cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbec53a163515cc1d73392441dfa7d91b0bd9729ea69f02990ebfa7b6da9e1cc", kill_on_drop: false }` [INFO] [stdout] dbec53a163515cc1d73392441dfa7d91b0bd9729ea69f02990ebfa7b6da9e1cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20b5e7916c6b949d4240e137251abef1f125730e9656d90d6e7d573d0f4ffdf2 [INFO] running `Command { std: "docker" "start" "-a" "20b5e7916c6b949d4240e137251abef1f125730e9656d90d6e7d573d0f4ffdf2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.23 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking smallstr v0.2.0 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling terminfo v0.7.3 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Checking structopt v0.3.14 [INFO] [stderr] Checking mortal v0.2.2 [INFO] [stderr] Checking linefeed v0.6.0 [INFO] [stderr] Checking microeconomics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/preference_list.rs:313:37 [INFO] [stdout] | [INFO] [stdout] 271 | ... let my_item = self [INFO] [stdout] | _____________________________________- [INFO] [stdout] 272 | | ... .inventory [INFO] [stdout] | |____________________________________- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 313 | ... self.add_item(goal_item.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 314 | ... self.inventory.remove(possible_item.0); [INFO] [stdout] | --------------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/preference_list.rs:313:37 [INFO] [stdout] | [INFO] [stdout] 271 | ... let my_item = self [INFO] [stdout] | _____________________________________- [INFO] [stdout] 272 | | ... .inventory [INFO] [stdout] | |____________________________________- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 313 | ... self.add_item(goal_item.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 314 | ... self.inventory.remove(possible_item.0); [INFO] [stdout] | --------------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.inventory` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/preference_list.rs:314:37 [INFO] [stdout] | [INFO] [stdout] 271 | ... let my_item = self [INFO] [stdout] | _____________________________________- [INFO] [stdout] 272 | | ... .inventory [INFO] [stdout] | |____________________________________- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 314 | ... self.inventory.remove(possible_item.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 315 | ... // remove my item from my inventory, add it to theirs [INFO] [stdout] 316 | ... other_actor.add_item(*possible_item.1); [INFO] [stdout] | ---------------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.inventory` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/preference_list.rs:314:37 [INFO] [stdout] | [INFO] [stdout] 271 | ... let my_item = self [INFO] [stdout] | _____________________________________- [INFO] [stdout] 272 | | ... .inventory [INFO] [stdout] | |____________________________________- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 314 | ... self.inventory.remove(possible_item.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 315 | ... // remove my item from my inventory, add it to theirs [INFO] [stdout] 316 | ... other_actor.add_item(*possible_item.1); [INFO] [stdout] | ---------------- immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `microeconomics` (bin "microeconomics") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `microeconomics` (bin "microeconomics" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "20b5e7916c6b949d4240e137251abef1f125730e9656d90d6e7d573d0f4ffdf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20b5e7916c6b949d4240e137251abef1f125730e9656d90d6e7d573d0f4ffdf2", kill_on_drop: false }` [INFO] [stdout] 20b5e7916c6b949d4240e137251abef1f125730e9656d90d6e7d573d0f4ffdf2 [INFO] checking christopherdumas/microeconomics against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristopherdumas%2Fmicroeconomics" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/christopherdumas/microeconomics on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/christopherdumas/microeconomics [INFO] finished tweaking git repo https://github.com/christopherdumas/microeconomics [INFO] tweaked toml for git repo https://github.com/christopherdumas/microeconomics written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/christopherdumas/microeconomics 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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ed834ddb4208948e4b642559269d29875748ca8154b701f90752a91187624289 [INFO] running `Command { std: "docker" "start" "-a" "ed834ddb4208948e4b642559269d29875748ca8154b701f90752a91187624289", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed834ddb4208948e4b642559269d29875748ca8154b701f90752a91187624289", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed834ddb4208948e4b642559269d29875748ca8154b701f90752a91187624289", kill_on_drop: false }` [INFO] [stdout] ed834ddb4208948e4b642559269d29875748ca8154b701f90752a91187624289 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00c707905edbccff41751b0f8355bd7a6696898879471d7deea90f1aafd1a0b4 [INFO] running `Command { std: "docker" "start" "-a" "00c707905edbccff41751b0f8355bd7a6696898879471d7deea90f1aafd1a0b4", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "00c707905edbccff41751b0f8355bd7a6696898879471d7deea90f1aafd1a0b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00c707905edbccff41751b0f8355bd7a6696898879471d7deea90f1aafd1a0b4", kill_on_drop: false }` [INFO] [stdout] 00c707905edbccff41751b0f8355bd7a6696898879471d7deea90f1aafd1a0b4