[INFO] cloning repository https://github.com/cumet04/csProject-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cumet04/csProject-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcumet04%2FcsProject-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcumet04%2FcsProject-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1495ccfdf2380dd9a87a954d15074d986266fc53 [INFO] checking cumet04/csProject-rust against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcumet04%2FcsProject-rust" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cumet04/csProject-rust 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/cumet04/csProject-rust [INFO] finished tweaking git repo https://github.com/cumet04/csProject-rust [INFO] tweaked toml for git repo https://github.com/cumet04/csProject-rust written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/cumet04/csProject-rust 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2b1de8c7cb36bb694e66d72aaaa9863475df6c284dc465bbb4881d238931ae41 [INFO] running `Command { std: "docker" "start" "-a" "2b1de8c7cb36bb694e66d72aaaa9863475df6c284dc465bbb4881d238931ae41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b1de8c7cb36bb694e66d72aaaa9863475df6c284dc465bbb4881d238931ae41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b1de8c7cb36bb694e66d72aaaa9863475df6c284dc465bbb4881d238931ae41", kill_on_drop: false }` [INFO] [stdout] 2b1de8c7cb36bb694e66d72aaaa9863475df6c284dc465bbb4881d238931ae41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 121e4803c6203018a4047541e09b896beb386c2df40b5c3eaa7bf284b511eb21 [INFO] running `Command { std: "docker" "start" "-a" "121e4803c6203018a4047541e09b896beb386c2df40b5c3eaa7bf284b511eb21", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling cmake v0.1.42 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking png v0.16.3 [INFO] [stderr] Checking rayon-core v1.7.0 [INFO] [stderr] Checking cgmath v0.17.0 [INFO] [stderr] Checking num-iter v0.1.40 [INFO] [stderr] Compiling glfw-sys v3.3.2 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Checking glfw v0.37.0 [INFO] [stderr] Checking jpeg-decoder v0.1.19 [INFO] [stderr] Compiling include_dir_impl v0.6.0 [INFO] [stderr] Checking image v0.23.4 [INFO] [stderr] Checking include_dir v0.6.0 [INFO] [stderr] Checking cs_project-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/world/mod.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | (self.timer_func)(self, delta); [INFO] [stdout] | ----------------- ^^^^ second mutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | first borrow later used by call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/world/mod.rs:48:27 [INFO] [stdout] | [INFO] [stdout] 48 | (self.timer_func)(self, delta); [INFO] [stdout] | ----------------- ^^^^ second mutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | first borrow later used by call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/world/mod.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | (self.timer_func)(self, delta); [INFO] [stdout] | ----------------- ^^^^ second mutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | first borrow later used by call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/world/mod.rs:48:27 [INFO] [stdout] | [INFO] [stdout] 48 | (self.timer_func)(self, delta); [INFO] [stdout] | ----------------- ^^^^ second mutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | first borrow later used by call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `objects`, a captured variable in an `FnMut` closure [INFO] [stdout] --> src/world/mod.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 103 | let objects = self.objects; [INFO] [stdout] | ------- captured outer variable [INFO] [stdout] ... [INFO] [stdout] 117 | for o in objects { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | move occurs because `objects` has type `Vec>`, which does not implement the `Copy` trait [INFO] [stdout] | help: consider iterating over a slice of the `Vec<_>`'s content: `&objects` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `objects`, a captured variable in an `FnMut` closure [INFO] [stdout] --> src/world/mod.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 103 | let objects = self.objects; [INFO] [stdout] | ------- captured outer variable [INFO] [stdout] ... [INFO] [stdout] 117 | for o in objects { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | move occurs because `objects` has type `Vec>`, which does not implement the `Copy` trait [INFO] [stdout] | help: consider iterating over a slice of the `Vec<_>`'s content: `&objects` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*o` as mutable, as `o` is not declared as mutable [INFO] [stdout] --> src/world/mod.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 117 | for o in objects { [INFO] [stdout] | - help: consider changing this to be mutable: `mut o` [INFO] [stdout] 118 | o.elapse_time(delta); [INFO] [stdout] | ^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*o` as mutable, as `o` is not declared as mutable [INFO] [stdout] --> src/world/mod.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 117 | for o in objects { [INFO] [stdout] | - help: consider changing this to be mutable: `mut o` [INFO] [stdout] 118 | o.elapse_time(delta); [INFO] [stdout] | ^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/world/sphere.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | (self.timer_func)(self, delta); [INFO] [stdout] | ----------------- ^^^^ second mutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | first borrow later used by call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/world/sphere.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | (self.timer_func)(self, delta); [INFO] [stdout] | ----------------- ^^^^ second mutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | first borrow later used by call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0507, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0507, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cs_project-rust` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "121e4803c6203018a4047541e09b896beb386c2df40b5c3eaa7bf284b511eb21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "121e4803c6203018a4047541e09b896beb386c2df40b5c3eaa7bf284b511eb21", kill_on_drop: false }` [INFO] [stdout] 121e4803c6203018a4047541e09b896beb386c2df40b5c3eaa7bf284b511eb21