[INFO] cloning repository https://github.com/CoherentThought/tsygote_engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CoherentThought/tsygote_engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCoherentThought%2Ftsygote_engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCoherentThought%2Ftsygote_engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c8a08b190973696f0c49fb802b8c20dc5679529 [INFO] checking CoherentThought/tsygote_engine against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCoherentThought%2Ftsygote_engine" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CoherentThought/tsygote_engine 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/CoherentThought/tsygote_engine [INFO] finished tweaking git repo https://github.com/CoherentThought/tsygote_engine [INFO] tweaked toml for git repo https://github.com/CoherentThought/tsygote_engine written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/CoherentThought/tsygote_engine 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] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 6df732932ff9b7109e94095f8aeada05477d44b1929528a79fa8e4ecbdd7a315 [INFO] running `Command { std: "docker" "start" "-a" "6df732932ff9b7109e94095f8aeada05477d44b1929528a79fa8e4ecbdd7a315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6df732932ff9b7109e94095f8aeada05477d44b1929528a79fa8e4ecbdd7a315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6df732932ff9b7109e94095f8aeada05477d44b1929528a79fa8e4ecbdd7a315", kill_on_drop: false }` [INFO] [stdout] 6df732932ff9b7109e94095f8aeada05477d44b1929528a79fa8e4ecbdd7a315 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 9217dc1b41ae0f97900e965d7fa9a12570273729b17d0fb3da54f3a3bffa2145 [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" "9217dc1b41ae0f97900e965d7fa9a12570273729b17d0fb3da54f3a3bffa2145", kill_on_drop: false }` [INFO] [stderr] Compiling ears v0.7.0 [INFO] [stderr] Checking takeable-option v0.4.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking wayland-client v0.21.13 [INFO] [stderr] Checking image v0.21.3 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glium v0.25.1 [INFO] [stderr] Checking wayland-protocols v0.21.13 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.19.5 [INFO] [stderr] Checking glutin v0.21.2 [INFO] [stderr] Checking tsygote_engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(nll, vec_remove_item, clamp, associated_type_bounds, specialization)] //type_ascription [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:1:65 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(nll, vec_remove_item, clamp, associated_type_bounds, specialization)] //type_ascription [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/shape/vector.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | (v1.x * v2.x + v1.y * v2.y) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(nll, vec_remove_item, clamp, associated_type_bounds, specialization)] //type_ascription [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:1:65 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(nll, vec_remove_item, clamp, associated_type_bounds, specialization)] //type_ascription [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/shape/vector.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | (v1.x * v2.x + v1.y * v2.y) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::vec::Vec::::remove_item`: Removing the first item equal to a needle is already easily possible with iterators and the current Vec methods. Furthermore, having a method for one particular case of removal (linear search, only the first item, no swap remove) but not for others is inconsistent. This method will be removed soon. [INFO] [stdout] --> src/input.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | self.heldlist.remove_item(&key); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::vec::Vec::::remove_item`: Removing the first item equal to a needle is already easily possible with iterators and the current Vec methods. Furthermore, having a method for one particular case of removal (linear search, only the first item, no swap remove) but not for others is inconsistent. This method will be removed soon. [INFO] [stdout] --> src/input.rs:88:30 [INFO] [stdout] | [INFO] [stdout] 88 | self.pressedlist.remove_item(&key); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::vec::Vec::::remove_item`: Removing the first item equal to a needle is already easily possible with iterators and the current Vec methods. Furthermore, having a method for one particular case of removal (linear search, only the first item, no swap remove) but not for others is inconsistent. This method will be removed soon. [INFO] [stdout] --> src/input.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | self.heldlist.remove_item(&key); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::vec::Vec::::remove_item`: Removing the first item equal to a needle is already easily possible with iterators and the current Vec methods. Furthermore, having a method for one particular case of removal (linear search, only the first item, no swap remove) but not for others is inconsistent. This method will be removed soon. [INFO] [stdout] --> src/input.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | self.mouse_heldlist.remove_item(&key); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::vec::Vec::::remove_item`: Removing the first item equal to a needle is already easily possible with iterators and the current Vec methods. Furthermore, having a method for one particular case of removal (linear search, only the first item, no swap remove) but not for others is inconsistent. This method will be removed soon. [INFO] [stdout] --> src/input.rs:88:30 [INFO] [stdout] | [INFO] [stdout] 88 | self.pressedlist.remove_item(&key); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::vec::Vec::::remove_item`: Removing the first item equal to a needle is already easily possible with iterators and the current Vec methods. Furthermore, having a method for one particular case of removal (linear search, only the first item, no swap remove) but not for others is inconsistent. This method will be removed soon. [INFO] [stdout] --> src/input.rs:107:36 [INFO] [stdout] | [INFO] [stdout] 107 | self.mouse_pressedlist.remove_item(&key); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::vec::Vec::::remove_item`: Removing the first item equal to a needle is already easily possible with iterators and the current Vec methods. Furthermore, having a method for one particular case of removal (linear search, only the first item, no swap remove) but not for others is inconsistent. This method will be removed soon. [INFO] [stdout] --> src/input.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | self.mouse_heldlist.remove_item(&key); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::vec::Vec::::remove_item`: Removing the first item equal to a needle is already easily possible with iterators and the current Vec methods. Furthermore, having a method for one particular case of removal (linear search, only the first item, no swap remove) but not for others is inconsistent. This method will be removed soon. [INFO] [stdout] --> src/input.rs:107:36 [INFO] [stdout] | [INFO] [stdout] 107 | self.mouse_pressedlist.remove_item(&key); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gamestate/entity.rs:57:45 [INFO] [stdout] | [INFO] [stdout] 57 | self.all[i].step(&mut game, game.gamestate_stack[0]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&mut T`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut T` [INFO] [stdout] found struct `Box<(dyn gamestate::Gamestate + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gamestate/entity.rs:57:45 [INFO] [stdout] | [INFO] [stdout] 57 | self.all[i].step(&mut game, game.gamestate_stack[0]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&mut T`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut T` [INFO] [stdout] found struct `Box<(dyn gamestate::Gamestate + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gamestate/entity.rs:69:45 [INFO] [stdout] | [INFO] [stdout] 69 | self.all[i].draw(&mut game, game.gamestate_stack[0]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&mut T`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut T` [INFO] [stdout] found struct `Box<(dyn gamestate::Gamestate + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tsygote_engine` [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] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gamestate/entity.rs:69:45 [INFO] [stdout] | [INFO] [stdout] 69 | self.all[i].draw(&mut game, game.gamestate_stack[0]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&mut T`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut T` [INFO] [stdout] found struct `Box<(dyn gamestate::Gamestate + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9217dc1b41ae0f97900e965d7fa9a12570273729b17d0fb3da54f3a3bffa2145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9217dc1b41ae0f97900e965d7fa9a12570273729b17d0fb3da54f3a3bffa2145", kill_on_drop: false }` [INFO] [stdout] 9217dc1b41ae0f97900e965d7fa9a12570273729b17d0fb3da54f3a3bffa2145