[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 beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcedric-h%2Fsorry" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cedric-h/sorry on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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-9/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" "+beta" "fetch" "--locked" "--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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dec849872664ba563402e38e745859326e9e88e62c8eb36e643c28da9c740aaa [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" "dec849872664ba563402e38e745859326e9e88e62c8eb36e643c28da9c740aaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dec849872664ba563402e38e745859326e9e88e62c8eb36e643c28da9c740aaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dec849872664ba563402e38e745859326e9e88e62c8eb36e643c28da9c740aaa", kill_on_drop: false }` [INFO] [stdout] dec849872664ba563402e38e745859326e9e88e62c8eb36e643c28da9c740aaa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be77d38dfa2adec8328743fe125c18a419537bd5d7d3afdbc2660a0b4a3194ae [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" "be77d38dfa2adec8328743fe125c18a419537bd5d7d3afdbc2660a0b4a3194ae", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling stdweb-internal-runtime v0.1.4 [INFO] [stderr] Compiling base-x v0.2.5 [INFO] [stderr] Checking ordermap v0.3.5 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Checking slotmap v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling stdweb v0.4.18 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Checking petgraph v0.4.13 [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 approx v0.3.2 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking alga v0.9.1 [INFO] [stderr] Compiling stdweb-derive v0.5.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: 4 warnings emitted [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 39s [INFO] running `Command { std: "docker" "inspect" "be77d38dfa2adec8328743fe125c18a419537bd5d7d3afdbc2660a0b4a3194ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be77d38dfa2adec8328743fe125c18a419537bd5d7d3afdbc2660a0b4a3194ae", kill_on_drop: false }` [INFO] [stdout] be77d38dfa2adec8328743fe125c18a419537bd5d7d3afdbc2660a0b4a3194ae