[INFO] updating cached repository https://github.com/danielbartsch/Platformer2D-rust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 3e19a48374c6fb4a1ede6ad9d3484d4668d0bc46 [INFO] testing danielbartsch/Platformer2D-rust against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielbartsch%2FPlatformer2D-rust" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danielbartsch/Platformer2D-rust on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/danielbartsch/Platformer2D-rust [INFO] finished tweaking git repo https://github.com/danielbartsch/Platformer2D-rust [INFO] tweaked toml for git repo https://github.com/danielbartsch/Platformer2D-rust written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/danielbartsch/Platformer2D-rust already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 18f2a8566362de689ffc5e3d4f23bafda25a14c4ebfac95b4200b7b3eb4f90b5 [INFO] running `"docker" "start" "-a" "18f2a8566362de689ffc5e3d4f23bafda25a14c4ebfac95b4200b7b3eb4f90b5"` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling sdl2 v0.33.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling sdl2-sys v0.33.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling serde_json v1.0.45 [INFO] [stderr] Compiling platformer_2d v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused variable: `health` [INFO] [stderr] --> src/entity.rs:209:21 [INFO] [stderr] | [INFO] [stderr] 209 | if let Some(health) = bottom_to_self.health { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_health` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `damage_factor` [INFO] [stderr] --> src/entity.rs:210:23 [INFO] [stderr] | [INFO] [stderr] 210 | if let Some(damage_factor) = self.damage_factor { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_damage_factor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `health` [INFO] [stderr] --> src/entity.rs:225:21 [INFO] [stderr] | [INFO] [stderr] 225 | if let Some(health) = top_to_self.health { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_health` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `damage_factor` [INFO] [stderr] --> src/entity.rs:226:23 [INFO] [stderr] | [INFO] [stderr] 226 | if let Some(damage_factor) = self.damage_factor { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_damage_factor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `health` [INFO] [stderr] --> src/entity.rs:247:23 [INFO] [stderr] | [INFO] [stderr] 247 | if let Some(health) = right_to_self.health { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_health` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `damage_factor` [INFO] [stderr] --> src/entity.rs:248:25 [INFO] [stderr] | [INFO] [stderr] 248 | if let Some(damage_factor) = self.damage_factor { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_damage_factor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `health` [INFO] [stderr] --> src/entity.rs:269:23 [INFO] [stderr] | [INFO] [stderr] 269 | if let Some(health) = left_to_self.health { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_health` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `damage_factor` [INFO] [stderr] --> src/entity.rs:270:25 [INFO] [stderr] | [INFO] [stderr] 270 | if let Some(damage_factor) = self.damage_factor { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_damage_factor` [INFO] [stderr] [INFO] [stderr] warning: 8 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `"docker" "inspect" "18f2a8566362de689ffc5e3d4f23bafda25a14c4ebfac95b4200b7b3eb4f90b5"` [INFO] running `"docker" "rm" "-f" "18f2a8566362de689ffc5e3d4f23bafda25a14c4ebfac95b4200b7b3eb4f90b5"` [INFO] [stdout] 18f2a8566362de689ffc5e3d4f23bafda25a14c4ebfac95b4200b7b3eb4f90b5 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen" "--no-run"` [INFO] [stdout] cf1696167102c33323377121f4c90a1795e8d6850fadc7f3cc602020a61c9574 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "cf1696167102c33323377121f4c90a1795e8d6850fadc7f3cc602020a61c9574"` [INFO] [stderr] Compiling platformer_2d v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused variable: `health` [INFO] [stderr] --> src/entity.rs:209:21 [INFO] [stderr] | [INFO] [stderr] 209 | if let Some(health) = bottom_to_self.health { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_health` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `damage_factor` [INFO] [stderr] --> src/entity.rs:210:23 [INFO] [stderr] | [INFO] [stderr] 210 | if let Some(damage_factor) = self.damage_factor { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_damage_factor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `health` [INFO] [stderr] --> src/entity.rs:225:21 [INFO] [stderr] | [INFO] [stderr] 225 | if let Some(health) = top_to_self.health { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_health` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `damage_factor` [INFO] [stderr] --> src/entity.rs:226:23 [INFO] [stderr] | [INFO] [stderr] 226 | if let Some(damage_factor) = self.damage_factor { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_damage_factor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `health` [INFO] [stderr] --> src/entity.rs:247:23 [INFO] [stderr] | [INFO] [stderr] 247 | if let Some(health) = right_to_self.health { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_health` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `damage_factor` [INFO] [stderr] --> src/entity.rs:248:25 [INFO] [stderr] | [INFO] [stderr] 248 | if let Some(damage_factor) = self.damage_factor { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_damage_factor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `health` [INFO] [stderr] --> src/entity.rs:269:23 [INFO] [stderr] | [INFO] [stderr] 269 | if let Some(health) = left_to_self.health { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_health` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `damage_factor` [INFO] [stderr] --> src/entity.rs:270:25 [INFO] [stderr] | [INFO] [stderr] 270 | if let Some(damage_factor) = self.damage_factor { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_damage_factor` [INFO] [stderr] [INFO] [stderr] warning: 8 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.90s [INFO] running `"docker" "inspect" "cf1696167102c33323377121f4c90a1795e8d6850fadc7f3cc602020a61c9574"` [INFO] running `"docker" "rm" "-f" "cf1696167102c33323377121f4c90a1795e8d6850fadc7f3cc602020a61c9574"` [INFO] [stdout] cf1696167102c33323377121f4c90a1795e8d6850fadc7f3cc602020a61c9574 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] dc23e90dcf314c66d08cfa887fe0630ad93cec86d5ead32b63e9ec88f4302723 [INFO] running `"docker" "start" "-a" "dc23e90dcf314c66d08cfa887fe0630ad93cec86d5ead32b63e9ec88f4302723"` [INFO] [stderr] warning: unused variable: `health` [INFO] [stderr] --> src/entity.rs:209:21 [INFO] [stderr] | [INFO] [stderr] 209 | if let Some(health) = bottom_to_self.health { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_health` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `damage_factor` [INFO] [stderr] --> src/entity.rs:210:23 [INFO] [stderr] | [INFO] [stderr] 210 | if let Some(damage_factor) = self.damage_factor { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_damage_factor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `health` [INFO] [stderr] --> src/entity.rs:225:21 [INFO] [stderr] | [INFO] [stderr] 225 | if let Some(health) = top_to_self.health { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_health` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `damage_factor` [INFO] [stderr] --> src/entity.rs:226:23 [INFO] [stderr] | [INFO] [stderr] 226 | if let Some(damage_factor) = self.damage_factor { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_damage_factor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `health` [INFO] [stderr] --> src/entity.rs:247:23 [INFO] [stderr] | [INFO] [stderr] 247 | if let Some(health) = right_to_self.health { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_health` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `damage_factor` [INFO] [stderr] --> src/entity.rs:248:25 [INFO] [stderr] | [INFO] [stderr] 248 | if let Some(damage_factor) = self.damage_factor { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_damage_factor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `health` [INFO] [stderr] --> src/entity.rs:269:23 [INFO] [stderr] | [INFO] [stderr] 269 | if let Some(health) = left_to_self.health { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_health` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `damage_factor` [INFO] [stderr] --> src/entity.rs:270:25 [INFO] [stderr] | [INFO] [stderr] 270 | if let Some(damage_factor) = self.damage_factor { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_damage_factor` [INFO] [stderr] [INFO] [stderr] warning: 8 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/platformer_2d-ddb0f415223f452d [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test app::entity::window_entity_coordinates_vs_actual_coordinates_entity_at_center ... ok [INFO] [stdout] test app::entity::window_entity_coordinates_vs_actual_coordinates_entity_at_start ... ok [INFO] [stdout] test app::entity::window_entity_coordinates_vs_actual_coordinates ... ok [INFO] [stdout] test app::entity::window_entity_coordinates_vs_actual_coordinates_plus_scale ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "dc23e90dcf314c66d08cfa887fe0630ad93cec86d5ead32b63e9ec88f4302723"` [INFO] running `"docker" "rm" "-f" "dc23e90dcf314c66d08cfa887fe0630ad93cec86d5ead32b63e9ec88f4302723"` [INFO] [stdout] dc23e90dcf314c66d08cfa887fe0630ad93cec86d5ead32b63e9ec88f4302723