[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/1495ccfdf2380dd9a87a954d15074d986266fc53 against master#89a99936d9e76a50e8df622e7242190841fd871b for pr-156160-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcumet04%2FcsProject-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[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-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/cumet04/csProject-rust on toolchain 89a99936d9e76a50e8df622e7242190841fd871b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+89a99936d9e76a50e8df622e7242190841fd871b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/cumet04/csProject-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+89a99936d9e76a50e8df622e7242190841fd871b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded quote v1.0.5
[INFO] [stderr]   Downloaded include_dir_impl v0.6.0
[INFO] [stderr]   Downloaded proc-macro-hack v0.5.15
[INFO] [stderr]   Downloaded include_dir v0.6.0
[INFO] [stderr]   Downloaded syn v1.0.22
[INFO] [stderr]   Downloaded gl v0.14.0
[INFO] [stderr]   Downloaded scoped_threadpool v0.1.9
[INFO] [stderr]   Downloaded byteorder v1.3.4
[INFO] [stderr]   Downloaded crossbeam-deque v0.7.3
[INFO] [stderr]   Downloaded either v1.5.3
[INFO] [stderr]   Downloaded bytemuck v1.2.0
[INFO] [stderr]   Downloaded cmake v0.1.42
[INFO] [stderr]   Downloaded cc v1.0.52
[INFO] [stderr]   Downloaded num_cpus v1.13.0
[INFO] [stderr]   Downloaded hermit-abi v0.1.12
[INFO] [stderr]   Downloaded crossbeam-queue v0.2.1
[INFO] [stderr]   Downloaded memoffset v0.5.4
[INFO] [stderr]   Downloaded tiff v0.4.0
[INFO] [stderr]   Downloaded anyhow v1.0.31
[INFO] [stderr]   Downloaded proc-macro2 v1.0.13
[INFO] [stderr]   Downloaded png v0.16.3
[INFO] [stderr]   Downloaded deflate v0.8.4
[INFO] [stderr]   Downloaded crossbeam-epoch v0.8.2
[INFO] [stderr]   Downloaded miniz_oxide v0.3.6
[INFO] [stderr]   Downloaded xml-rs v0.8.3
[INFO] [stderr]   Downloaded rayon-core v1.7.0
[INFO] [stderr]   Downloaded cgmath v0.17.0
[INFO] [stderr]   Downloaded glfw v0.37.0
[INFO] [stderr]   Downloaded rayon v1.3.0
[INFO] [stderr]   Downloaded image v0.23.4
[INFO] [stderr]   Downloaded jpeg-decoder v0.1.19
[INFO] [stderr]   Downloaded libc v0.2.69
[INFO] [stderr]   Downloaded glfw-sys v3.3.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:fd22e2154e7db748230f413534f3a6d034160c9d2b7c14b90fba4e9bfc1a36d4" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4d3016f8a9e01bfbfdb26ade12e74ddbfff50873db6ec2f450053117d22286b9
[INFO] running `Command { std: "docker" "start" "4d3016f8a9e01bfbfdb26ade12e74ddbfff50873db6ec2f450053117d22286b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4d3016f8a9e01bfbfdb26ade12e74ddbfff50873db6ec2f450053117d22286b9" "/opt/rustwide/cargo-home/bin/cargo" "+89a99936d9e76a50e8df622e7242190841fd871b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4d3016f8a9e01bfbfdb26ade12e74ddbfff50873db6ec2f450053117d22286b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4d3016f8a9e01bfbfdb26ade12e74ddbfff50873db6ec2f450053117d22286b9" "/opt/rustwide/cargo-home/bin/cargo" "+89a99936d9e76a50e8df622e7242190841fd871b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling libc v0.2.69
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]     Checking adler32 v1.0.4
[INFO] [stderr]    Compiling proc-macro2 v1.0.13
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling cc v1.0.52
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]    Compiling cmake v0.1.42
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]     Checking crossbeam-queue v0.2.1
[INFO] [stderr]    Compiling syn v1.0.22
[INFO] [stderr]    Compiling xml-rs v0.8.3
[INFO] [stderr]    Compiling anyhow v1.0.31
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling glfw-sys v3.3.2
[INFO] [stderr]    Compiling quote v1.0.5
[INFO] [stderr]    Compiling num-iter v0.1.40
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking either v1.5.3
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]     Checking rayon v1.3.0
[INFO] [stderr]     Checking deflate v0.8.4
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking inflate v0.4.5
[INFO] [stderr]     Checking miniz_oxide v0.3.6
[INFO] [stderr]    Compiling cgmath v0.17.0
[INFO] [stderr]     Checking color_quant v1.0.1
[INFO] [stderr]    Compiling gl v0.14.0
[INFO] [stderr]     Checking semver-parser v0.7.0
[INFO] [stderr]    Compiling proc-macro-hack v0.5.15
[INFO] [stderr]     Checking semver v0.9.0
[INFO] [stderr]     Checking png v0.16.3
[INFO] [stderr]     Checking tiff v0.4.0
[INFO] [stderr]     Checking gif v0.10.3
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking raw-window-handle v0.3.3
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking bytemuck v1.2.0
[INFO] [stderr]     Checking glob v0.3.0
[INFO] [stderr]     Checking jpeg-decoder v0.1.19
[INFO] [stderr]     Checking image v0.23.4
[INFO] [stderr]    Compiling include_dir_impl v0.6.0
[INFO] [stderr]     Checking include_dir v0.6.0
[INFO] [stderr]     Checking glfw v0.37.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/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/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]     |             -------   ------------ move occurs because `objects` has type `Vec<Box<dyn world::Object>>`, which does not implement the `Copy` trait
[INFO] [stdout]     |             |
[INFO] [stdout]     |             captured outer variable
[INFO] [stdout] 104 |         self.window.render_loop(|delta| unsafe {
[INFO] [stdout]     |                                 ------- captured by this `FnMut` closure
[INFO] [stdout] ...
[INFO] [stdout] 117 |             for o in objects {
[INFO] [stdout]     |                      ^^^^^^^
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      `objects` moved due to this implicit call to `.into_iter()`
[INFO] [stdout]     |                      `objects` is moved here
[INFO] [stdout]     |
[INFO] [stdout] help: `Fn` and `FnMut` closures require captured values to be able to be consumed multiple times, but `FnOnce` closures may consume them only once
[INFO] [stdout]    --> src/world/graphics/window.rs:51:27
[INFO] [stdout]     |
[INFO] [stdout]  51 |     pub fn render_loop<F: FnMut(f64)>(&mut self, mut f: F) {
[INFO] [stdout]     |                           ^^^^^^^^^^
[INFO] [stdout] note: `into_iter` takes ownership of the receiver `self`, which moves `objects`
[INFO] [stdout]    --> /rustc/89a99936d9e76a50e8df622e7242190841fd871b/library/core/src/iter/traits/collect.rs:312:17
[INFO] [stdout] help: consider iterating over a slice of the `Vec<Box<dyn world::Object>>`'s content to avoid moving into the `for` loop
[INFO] [stdout]     |
[INFO] [stdout] 117 |             for o in &objects {
[INFO] [stdout]     |                      +
[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] 118 |                 o.elapse_time(delta);
[INFO] [stdout]     |                 ^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 117 |             for mut o in objects {
[INFO] [stdout]     |                 +++
[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[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/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]     |             -------   ------------ move occurs because `objects` has type `Vec<Box<dyn world::Object>>`, which does not implement the `Copy` trait
[INFO] [stdout]     |             |
[INFO] [stdout]     |             captured outer variable
[INFO] [stdout] 104 |         self.window.render_loop(|delta| unsafe {
[INFO] [stdout]     |                                 ------- captured by this `FnMut` closure
[INFO] [stdout] ...
[INFO] [stdout] 117 |             for o in objects {
[INFO] [stdout]     |                      ^^^^^^^
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      `objects` moved due to this implicit call to `.into_iter()`
[INFO] [stdout]     |                      `objects` is moved here
[INFO] [stdout]     |
[INFO] [stdout] help: `Fn` and `FnMut` closures require captured values to be able to be consumed multiple times, but `FnOnce` closures may consume them only once
[INFO] [stdout]    --> src/world/graphics/window.rs:51:27
[INFO] [stdout]     |
[INFO] [stdout]  51 |     pub fn render_loop<F: FnMut(f64)>(&mut self, mut f: F) {
[INFO] [stdout]     |                           ^^^^^^^^^^
[INFO] [stdout] note: `into_iter` takes ownership of the receiver `self`, which moves `objects`
[INFO] [stdout]    --> /rustc/89a99936d9e76a50e8df622e7242190841fd871b/library/core/src/iter/traits/collect.rs:312:17
[INFO] [stdout] help: consider iterating over a slice of the `Vec<Box<dyn world::Object>>`'s content to avoid moving into the `for` loop
[INFO] [stdout]     |
[INFO] [stdout] 117 |             for o in &objects {
[INFO] [stdout]     |                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cs_project-rust` (bin "cs_project-rust" test) due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `cs_project-rust` (bin "cs_project-rust") due to 5 previous errors
[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] 118 |                 o.elapse_time(delta);
[INFO] [stdout]     |                 ^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 117 |             for mut o in objects {
[INFO] [stdout]     |                 +++
[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] running `Command { std: "docker" "inspect" "4d3016f8a9e01bfbfdb26ade12e74ddbfff50873db6ec2f450053117d22286b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4d3016f8a9e01bfbfdb26ade12e74ddbfff50873db6ec2f450053117d22286b9", kill_on_drop: false }`
[INFO] [stdout] 4d3016f8a9e01bfbfdb26ade12e74ddbfff50873db6ec2f450053117d22286b9
