[INFO] cloning repository https://github.com/cedric-h/sorry [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cedric-h/sorry" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcedric-h%2Fsorry", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcedric-h%2Fsorry'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 99d0839f367d28a732e0a9791900621f340737a1 [INFO] checking cedric-h/sorry against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcedric-h%2Fsorry" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cedric-h/sorry on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cedric-h/sorry [INFO] finished tweaking git repo https://github.com/cedric-h/sorry [INFO] tweaked toml for git repo https://github.com/cedric-h/sorry written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/cedric-h/sorry already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b5d9f3fa88bd2b890d6099ac796f8118f644fe0a4a1d1980dccdbbbe8d755c12 [INFO] running `Command { std: "docker" "start" "-a" "b5d9f3fa88bd2b890d6099ac796f8118f644fe0a4a1d1980dccdbbbe8d755c12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5d9f3fa88bd2b890d6099ac796f8118f644fe0a4a1d1980dccdbbbe8d755c12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5d9f3fa88bd2b890d6099ac796f8118f644fe0a4a1d1980dccdbbbe8d755c12", kill_on_drop: false }` [INFO] [stdout] b5d9f3fa88bd2b890d6099ac796f8118f644fe0a4a1d1980dccdbbbe8d755c12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80616a69cedb3e40bb9c6b3d4a0bb869b044bc613bb175ba59d58d6927ce15b4 [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" "80616a69cedb3e40bb9c6b3d4a0bb869b044bc613bb175ba59d58d6927ce15b4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling stdweb-internal-runtime v0.1.4 [INFO] [stderr] Compiling base-x v0.2.5 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Checking slotmap v0.4.0 [INFO] [stderr] Checking downcast-rs v1.0.4 [INFO] [stderr] Checking discard v1.0.4 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking matrixmultiply v0.2.2 [INFO] [stderr] Compiling stdweb v0.4.18 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking getrandom v0.1.12 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling stdweb-derive v0.5.1 [INFO] [stderr] Checking alga v0.9.1 [INFO] [stderr] Checking nalgebra v0.19.0 [INFO] [stderr] Compiling stdweb-internal-macros v0.2.7 [INFO] [stderr] Checking ncollide2d v0.21.0 [INFO] [stderr] Checking degen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:187:33 [INFO] [stdout] | [INFO] [stdout] 187 | ... for i in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:242:33 [INFO] [stdout] | [INFO] [stdout] 242 | ... for i in 0..20 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*game` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 96 | ... let enemy_pos = game.isos.get(i_enemy).expect("enemy with no pos"); [INFO] [stdout] | --------- immutable borrow occurs here [INFO] [stdout] 97 | ... [INFO] [stdout] 98 | ... game.insert_bullet( [INFO] [stdout] | ^^^^ mutable borrow occurs here [INFO] [stdout] 99 | ... "Flower3", [INFO] [stdout] 100 | ... enemy_pos.clone(), [INFO] [stdout] | --------- immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*game` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:319:29 [INFO] [stdout] | [INFO] [stdout] 317 | ... let enemy_pos = game.isos.get(i_enemy).expect("enemy with no pos"); [INFO] [stdout] | --------- immutable borrow occurs here [INFO] [stdout] 318 | ... [INFO] [stdout] 319 | ... game.insert_bullet( [INFO] [stdout] | ^^^^ mutable borrow occurs here [INFO] [stdout] 320 | ... "Flower3", [INFO] [stdout] 321 | ... enemy_pos.clone(), [INFO] [stdout] | --------- immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:187:33 [INFO] [stdout] | [INFO] [stdout] 187 | ... for i in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:242:33 [INFO] [stdout] | [INFO] [stdout] 242 | ... for i in 0..20 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*game` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 96 | ... let enemy_pos = game.isos.get(i_enemy).expect("enemy with no pos"); [INFO] [stdout] | --------- immutable borrow occurs here [INFO] [stdout] 97 | ... [INFO] [stdout] 98 | ... game.insert_bullet( [INFO] [stdout] | ^^^^ mutable borrow occurs here [INFO] [stdout] 99 | ... "Flower3", [INFO] [stdout] 100 | ... enemy_pos.clone(), [INFO] [stdout] | --------- immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*game` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:319:29 [INFO] [stdout] | [INFO] [stdout] 317 | ... let enemy_pos = game.isos.get(i_enemy).expect("enemy with no pos"); [INFO] [stdout] | --------- immutable borrow occurs here [INFO] [stdout] 318 | ... [INFO] [stdout] 319 | ... game.insert_bullet( [INFO] [stdout] | ^^^^ mutable borrow occurs here [INFO] [stdout] 320 | ... "Flower3", [INFO] [stdout] 321 | ... enemy_pos.clone(), [INFO] [stdout] | --------- immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 38s [INFO] running `Command { std: "docker" "inspect" "80616a69cedb3e40bb9c6b3d4a0bb869b044bc613bb175ba59d58d6927ce15b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80616a69cedb3e40bb9c6b3d4a0bb869b044bc613bb175ba59d58d6927ce15b4", kill_on_drop: false }` [INFO] [stdout] 80616a69cedb3e40bb9c6b3d4a0bb869b044bc613bb175ba59d58d6927ce15b4