[INFO] cloning repository https://github.com/Bietola/rustroids [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bietola/rustroids" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBietola%2Frustroids", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBietola%2Frustroids'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b8ef6d1d40d6752bec42fdfe69492903aa21876f [INFO] checking Bietola/rustroids against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBietola%2Frustroids" "/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/Bietola/rustroids on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Bietola/rustroids [INFO] finished tweaking git repo https://github.com/Bietola/rustroids [INFO] tweaked toml for git repo https://github.com/Bietola/rustroids written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/Bietola/rustroids already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simplelog v0.7.3 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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] a4ba3fb889088652297dc71ca07f6d525bce64c79178d71748b8107059bc5daf [INFO] running `Command { std: "docker" "start" "-a" "a4ba3fb889088652297dc71ca07f6d525bce64c79178d71748b8107059bc5daf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4ba3fb889088652297dc71ca07f6d525bce64c79178d71748b8107059bc5daf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4ba3fb889088652297dc71ca07f6d525bce64c79178d71748b8107059bc5daf", kill_on_drop: false }` [INFO] [stdout] a4ba3fb889088652297dc71ca07f6d525bce64c79178d71748b8107059bc5daf [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17cb27c0c91d5fc096efa26ac1279f83846c48b0888d654f1b2b242370edb466 [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" "17cb27c0c91d5fc096efa26ac1279f83846c48b0888d654f1b2b242370edb466", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] failure v0.1.5: default [INFO] [stderr] [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking sfml v0.14.0 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Checking simplelog v0.7.3 [INFO] [stderr] Checking backtrace v0.3.38 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking single v1.0.0 [INFO] [stderr] Checking dlfiroids v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/system/physics.rs (2 fixes) [INFO] [stdout] error[E0599]: no function or associated item named `zero` found for type `f32` in the current scope [INFO] [stdout] --> src/sf/vec.rs:204:31 [INFO] [stdout] | [INFO] [stdout] 204 | let rads_zero = Rads::zero(); [INFO] [stdout] | ^^^^ function or associated item not found in `f32` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::sf::vectors::num_traits::Zero;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `zero` found for type `f32` in the current scope [INFO] [stdout] --> src/sf/vec.rs:230:33 [INFO] [stdout] | [INFO] [stdout] 230 | assert_eq!(angle, Rads::zero()); [INFO] [stdout] | ^^^^ function or associated item not found in `f32` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::sf::vectors::num_traits::Zero;` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dlfiroids` due to 3 previous errors [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] Fixed src/sf/vec.rs (1 fix) [INFO] [stdout] warning: associated function is never used: `ent_at` [INFO] [stdout] --> src/game_state.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn ent_at(&self, idx: EntityIndex) -> &Entity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dir` [INFO] [stdout] --> src/sf/vectors.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn dir(v: &sf::Vector2) -> sf::Vector2 [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `clamp_magnitude` [INFO] [stdout] --> src/sf/vectors.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn clamp_magnitude(v: sf::Vector2, min: T, max: T) -> sf::Vector2 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `change_magnitude` [INFO] [stdout] --> src/sf/vectors.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn change_magnitude(v: sf::Vector2, new_mag: T) -> sf::Vector2 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `magnitude` [INFO] [stdout] --> src/sf/vectors.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn magnitude(v: &sf::Vector2) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `scalar_mul` [INFO] [stdout] --> src/sf/vectors.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn scalar_mul(s: T, v: &sf::Vector2) -> sf::Vector2 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add` [INFO] [stdout] --> src/sf/vectors.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn add(lhs: &sf::Vector2, rhs: &sf::Vector2) -> sf::Vector2 [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_sf_vec` [INFO] [stdout] --> src/sf/vec_sf_integration.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | fn into_sf_vec(self) -> sf::Vector2 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update_collision_data` [INFO] [stdout] --> src/system/physics.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn update_collision_data(_game_state: &mut GameState, _delta: sf::Time) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "17cb27c0c91d5fc096efa26ac1279f83846c48b0888d654f1b2b242370edb466", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17cb27c0c91d5fc096efa26ac1279f83846c48b0888d654f1b2b242370edb466", kill_on_drop: false }` [INFO] [stdout] 17cb27c0c91d5fc096efa26ac1279f83846c48b0888d654f1b2b242370edb466