[INFO] fetching crate rox2d 0.1.0... [INFO] testing rox2d-0.1.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate rox2d 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate rox2d 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rox2d 0.1.0 [INFO] tweaked toml for crates.io crate rox2d 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rox2d 0.1.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rox2d 0.1.0 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c335d317ae1bc02694f7ee2265d5fce86ffa90e874a33e1228e89eea1f92246f [INFO] running `Command { std: "docker" "start" "-a" "c335d317ae1bc02694f7ee2265d5fce86ffa90e874a33e1228e89eea1f92246f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c335d317ae1bc02694f7ee2265d5fce86ffa90e874a33e1228e89eea1f92246f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c335d317ae1bc02694f7ee2265d5fce86ffa90e874a33e1228e89eea1f92246f", kill_on_drop: false }` [INFO] [stdout] c335d317ae1bc02694f7ee2265d5fce86ffa90e874a33e1228e89eea1f92246f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10aac85509aaf5eee79c16bcb8cf9e20eb43dc290900f807f3b55c059028bb16 [INFO] running `Command { std: "docker" "start" "-a" "10aac85509aaf5eee79c16bcb8cf9e20eb43dc290900f807f3b55c059028bb16", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling glam v0.22.0 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rox2d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rc::Rc` [INFO] [stdout] --> src/rox2d/body.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::Ordering, rc::Rc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/rox2d/joint.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `get_many_mut` has been stable since 1.86.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(get_many_mut)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_many_mut` found for struct `Vec` in the current scope [INFO] [stdout] --> src/rox2d/world.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | self.bodies.get_many_mut([key.body1, key.body2]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_mut` with a similar name [INFO] [stdout] | [INFO] [stdout] 103 - self.bodies.get_many_mut([key.body1, key.body2]).unwrap(); [INFO] [stdout] 103 + self.bodies.get_mut([key.body1, key.body2]).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_many_mut` found for struct `Vec` in the current scope [INFO] [stdout] --> src/rox2d/world.rs:109:29 [INFO] [stdout] | [INFO] [stdout] 109 | self.bodies.get_many_mut([*body1, *body2]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_mut` with a similar name [INFO] [stdout] | [INFO] [stdout] 109 - self.bodies.get_many_mut([*body1, *body2]).unwrap(); [INFO] [stdout] 109 + self.bodies.get_mut([*body1, *body2]).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_many_mut` found for struct `Vec` in the current scope [INFO] [stdout] --> src/rox2d/world.rs:117:33 [INFO] [stdout] | [INFO] [stdout] 117 | self.bodies.get_many_mut([key.body1, key.body2]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_mut` with a similar name [INFO] [stdout] | [INFO] [stdout] 117 - self.bodies.get_many_mut([key.body1, key.body2]).unwrap(); [INFO] [stdout] 117 + self.bodies.get_mut([key.body1, key.body2]).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_many_mut` found for struct `Vec` in the current scope [INFO] [stdout] --> src/rox2d/world.rs:123:33 [INFO] [stdout] | [INFO] [stdout] 123 | self.bodies.get_many_mut([*body1, *body2]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_mut` with a similar name [INFO] [stdout] | [INFO] [stdout] 123 - self.bodies.get_many_mut([*body1, *body2]).unwrap(); [INFO] [stdout] 123 + self.bodies.get_mut([*body1, *body2]).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `c` is never read [INFO] [stdout] --> src/rox2d/arbiter.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | let mut c = merged_contacts[i]; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `separation` is never read [INFO] [stdout] --> src/rox2d/collide.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | separation = face_b.y; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rox2d/collide.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | let mut front_normal; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rox2d/collide.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | let mut side_normal; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rox2d/collide.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | let mut front; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rox2d/collide.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | let mut neg_side; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rox2d/collide.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | let mut pos_side; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rox2d/collide.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | let mut neg_edge; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rox2d/collide.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | let mut pos_edge; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rox2d` (lib) due to 4 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "10aac85509aaf5eee79c16bcb8cf9e20eb43dc290900f807f3b55c059028bb16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10aac85509aaf5eee79c16bcb8cf9e20eb43dc290900f807f3b55c059028bb16", kill_on_drop: false }` [INFO] [stdout] 10aac85509aaf5eee79c16bcb8cf9e20eb43dc290900f807f3b55c059028bb16