[INFO] cloning repository https://github.com/UgiNyaa/square [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/UgiNyaa/square" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUgiNyaa%2Fsquare", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUgiNyaa%2Fsquare'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90101182e05e46e421fdd23a8fdeb103741a711d [INFO] testing UgiNyaa/square against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUgiNyaa%2Fsquare" "/workspace/builds/worker-117/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-117/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/UgiNyaa/square on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/UgiNyaa/square [INFO] finished tweaking git repo https://github.com/UgiNyaa/square [INFO] tweaked toml for git repo https://github.com/UgiNyaa/square written to /workspace/builds/worker-117/source/Cargo.toml [INFO] crate git repo https://github.com/UgiNyaa/square already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smallvec v0.4.4 [INFO] [stderr] Downloaded atom v0.3.4 [INFO] [stderr] Downloaded specs v0.10.0 [INFO] [stderr] Downloaded pulse v0.5.3 [INFO] [stderr] Downloaded hibitset v0.3.2 [INFO] [stderr] Downloaded serde_json v1.0.16 [INFO] [stderr] Downloaded serde v1.0.42 [INFO] [stderr] Downloaded shred v0.5.2 [INFO] [stderr] Downloaded shred-derive v0.3.0 [INFO] [stderr] Downloaded arrayvec v0.3.25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fddd4085fb74594ea062f3acddc50fec3742df251eed3f30f424d51a98408f4c [INFO] running `Command { std: "docker" "start" "-a" "fddd4085fb74594ea062f3acddc50fec3742df251eed3f30f424d51a98408f4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fddd4085fb74594ea062f3acddc50fec3742df251eed3f30f424d51a98408f4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fddd4085fb74594ea062f3acddc50fec3742df251eed3f30f424d51a98408f4c", kill_on_drop: false }` [INFO] [stdout] fddd4085fb74594ea062f3acddc50fec3742df251eed3f30f424d51a98408f4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de3fcff522f2090ed2f3738eec3678047615c191edcbfd128d46a8b9bfdbd029 [INFO] running `Command { std: "docker" "start" "-a" "de3fcff522f2090ed2f3738eec3678047615c191edcbfd128d46a8b9bfdbd029", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling libc v0.2.40 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling atom v0.3.4 [INFO] [stderr] Compiling odds v0.2.26 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling smallvec v0.4.4 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling tuple_utils v0.2.0 [INFO] [stderr] Compiling crossbeam v0.3.2 [INFO] [stderr] Compiling serde v1.0.42 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling itoa v0.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling arrayvec v0.3.25 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling time v0.1.39 [INFO] [stderr] Compiling pulse v0.5.3 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling shred-derive v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.16 [INFO] [stderr] Compiling rayon v0.8.2 [INFO] [stderr] Compiling derivative v1.0.0 [INFO] [stderr] Compiling hibitset v0.3.2 [INFO] [stderr] Compiling shred v0.5.2 [INFO] [stderr] Compiling specs v0.10.0 [INFO] [stderr] Compiling square-backend v0.1.0 (/opt/rustwide/workdir/square-backend) [INFO] [stdout] error: expected pattern, found `.` [INFO] [stdout] --> square-backend/src/systems/ipc_handler.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | .map(|p| match p.as_str() { [INFO] [stdout] | ^ expected pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WriteStorage` in this scope [INFO] [stdout] --> square-backend/src/systems/ipc_handler.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | WriteStorage<'a, Position>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use specs::WriteStorage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WriteStorage` in this scope [INFO] [stdout] --> square-backend/src/systems/ipc_handler.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | WriteStorage<'a, Velocity>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use specs::WriteStorage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `velocity` in this scope [INFO] [stdout] --> square-backend/src/systems/ipc_handler.rs:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | velocity.get_mut(entity_id) = Velocity { x: x, y: y }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `to_string` [INFO] [stdout] --> square-backend/src/systems/ipc_handler.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::{ to_string, from_str, Value, Error }; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> square-backend/src/systems/ipc_handler.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 104 | let params = match map.get("params") { [INFO] [stdout] | ______________________- [INFO] [stdout] 105 | | Some(params) => match params.as_array() { [INFO] [stdout] 106 | | Some(params) => match params.iter() { [INFO] [stdout] 107 | | .map(|p| match p.as_str() { [INFO] [stdout] ... | [INFO] [stdout] 141 | | }, [INFO] [stdout] 142 | | }; [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 143 | [INFO] [stdout] 144 | / let response = match method { [INFO] [stdout] 145 | | "spawn" => { [INFO] [stdout] 146 | | let entity = entities.create(); [INFO] [stdout] 147 | | updater.insert(entity, Position { x: 0.0, y: 0.0 }); [INFO] [stdout] ... | [INFO] [stdout] 180 | | }).to_string() [INFO] [stdout] 181 | | }; [INFO] [stdout] | |__________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0070]: invalid left-hand side of assignment [INFO] [stdout] --> square-backend/src/systems/ipc_handler.rs:171:45 [INFO] [stdout] | [INFO] [stdout] 171 | velocity.get_mut(entity_id) = Velocity { x: x, y: y }; [INFO] [stdout] | --------------------------- ^ [INFO] [stdout] | | [INFO] [stdout] | cannot assign to this expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0070, E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0070`. [INFO] [stdout] [INFO] [stderr] error: could not compile `square-backend` due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "de3fcff522f2090ed2f3738eec3678047615c191edcbfd128d46a8b9bfdbd029", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de3fcff522f2090ed2f3738eec3678047615c191edcbfd128d46a8b9bfdbd029", kill_on_drop: false }` [INFO] [stdout] de3fcff522f2090ed2f3738eec3678047615c191edcbfd128d46a8b9bfdbd029