[INFO] updating cached repository https://github.com/christopherdumas/microeconomics [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 66660ae85a1e928e4a543ee7e390d98381093eda [INFO] testing christopherdumas/microeconomics against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristopherdumas%2Fmicroeconomics" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/christopherdumas/microeconomics on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [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-7/source/Cargo.toml [INFO] crate git repo https://github.com/christopherdumas/microeconomics already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 99fda7bfe54ea5c3e9ac1f729d22c29b213be424ad9a60ae82e31e461dc8a947 [INFO] running `"docker" "start" "-a" "99fda7bfe54ea5c3e9ac1f729d22c29b213be424ad9a60ae82e31e461dc8a947"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling proc-macro2 v1.0.14 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling syn v1.0.23 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling smallstr v0.2.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [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] Compiling structopt v0.3.14 [INFO] [stderr] Compiling mortal v0.2.2 [INFO] [stderr] Compiling linefeed v0.6.0 [INFO] [stderr] Compiling microeconomics v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/preference_list.rs:313:37 [INFO] [stderr] | [INFO] [stderr] 271 | ... let my_item = self [INFO] [stderr] | _____________________________________- [INFO] [stderr] 272 | | ... .inventory [INFO] [stderr] | |____________________________________- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 313 | ... self.add_item(goal_item.1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stderr] 314 | ... self.inventory.remove(possible_item.0); [INFO] [stderr] | --------------- immutable borrow later used here [INFO] [stderr] [INFO] [stderr] error[E0502]: cannot borrow `self.inventory` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/preference_list.rs:314:37 [INFO] [stderr] | [INFO] [stderr] 271 | ... let my_item = self [INFO] [stderr] | _____________________________________- [INFO] [stderr] 272 | | ... .inventory [INFO] [stderr] | |____________________________________- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 314 | ... self.inventory.remove(possible_item.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stderr] 315 | ... // remove my item from my inventory, add it to the... [INFO] [stderr] 316 | ... other_actor.add_item(*possible_item.1); [INFO] [stderr] | ---------------- immutable borrow later used here [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0502`. [INFO] [stderr] error: could not compile `microeconomics`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "99fda7bfe54ea5c3e9ac1f729d22c29b213be424ad9a60ae82e31e461dc8a947"` [INFO] running `"docker" "rm" "-f" "99fda7bfe54ea5c3e9ac1f729d22c29b213be424ad9a60ae82e31e461dc8a947"` [INFO] [stdout] 99fda7bfe54ea5c3e9ac1f729d22c29b213be424ad9a60ae82e31e461dc8a947