[INFO] cloning repository https://github.com/frostblooded/tribes_sim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/frostblooded/tribes_sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrostblooded%2Ftribes_sim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrostblooded%2Ftribes_sim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e180cc4a78318400d1b5cd0555870bcccedf8e98 [INFO] testing frostblooded/tribes_sim against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrostblooded%2Ftribes_sim" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/frostblooded/tribes_sim on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/frostblooded/tribes_sim [INFO] finished tweaking git repo https://github.com/frostblooded/tribes_sim [INFO] tweaked toml for git repo https://github.com/frostblooded/tribes_sim written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/frostblooded/tribes_sim already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccd5fea172226914eecd66ef538c92c67c2b6a1b27221559cf161461d493bd97 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ccd5fea172226914eecd66ef538c92c67c2b6a1b27221559cf161461d493bd97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccd5fea172226914eecd66ef538c92c67c2b6a1b27221559cf161461d493bd97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccd5fea172226914eecd66ef538c92c67c2b6a1b27221559cf161461d493bd97", kill_on_drop: false }` [INFO] [stdout] ccd5fea172226914eecd66ef538c92c67c2b6a1b27221559cf161461d493bd97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6c99f345427e0cb184bf66949c54d697e2cf377d1811ad3700d293e83e3618a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d6c99f345427e0cb184bf66949c54d697e2cf377d1811ad3700d293e83e3618a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling tribes_sim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/agent.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | fn update(&mut self, world: &mut World) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `position` [INFO] [stdout] --> src/agent.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | position: Position, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/agent.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | fn update(&mut self, world: &mut World) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `agents` [INFO] [stdout] --> src/world.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | agents: Vec<&'a Agent>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `world` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 7 | world.generate(); [INFO] [stdout] | ---------------- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 12 | world.update(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | second mutable borrow occurs here [INFO] [stdout] | first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `world` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 7 | world.generate(); [INFO] [stdout] | ---------------- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 15 | world.draw(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | second mutable borrow occurs here [INFO] [stdout] | first 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 E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tribes_sim` due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "d6c99f345427e0cb184bf66949c54d697e2cf377d1811ad3700d293e83e3618a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6c99f345427e0cb184bf66949c54d697e2cf377d1811ad3700d293e83e3618a", kill_on_drop: false }` [INFO] [stdout] d6c99f345427e0cb184bf66949c54d697e2cf377d1811ad3700d293e83e3618a