[INFO] updating cached repository https://github.com/23marabi/physics-engine [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] 961f7134fd37a44f585eb72c6216209811c1ac7d [INFO] testing 23marabi/physics-engine against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F23marabi%2Fphysics-engine" "/workspace/builds/worker-10/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/23marabi/physics-engine on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/23marabi/physics-engine [INFO] finished tweaking git repo https://github.com/23marabi/physics-engine [INFO] tweaked toml for git repo https://github.com/23marabi/physics-engine written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/23marabi/physics-engine already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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" "+1.44.0" "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] 7bd9dbbb669e848243ee68110e6d17cbe89382e7e4b6e91d8e63b478c416e5d5 [INFO] running `"docker" "start" "-a" "7bd9dbbb669e848243ee68110e6d17cbe89382e7e4b6e91d8e63b478c416e5d5"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling piston-float v1.0.0 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling piston-graphics_api_version v0.2.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling deflate v0.8.4 [INFO] [stderr] Compiling tiff v0.4.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling piston-viewport v1.0.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.19 [INFO] [stderr] Compiling shader_version v0.6.0 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling png v0.16.3 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling piston2d-graphics v0.36.0 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling image v0.23.4 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling winit v0.19.5 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling glutin v0.21.2 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.72.0 [INFO] [stderr] Compiling pistoncore-input v0.28.0 [INFO] [stderr] Compiling pistoncore-window v0.44.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.49.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.63.0 [INFO] [stderr] Compiling piston v0.49.0 [INFO] [stderr] Compiling physics v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0609]: no field `velocity` on type `T` [INFO] [stderr] --> src/main.rs:71:26 [INFO] [stderr] | [INFO] [stderr] 69 | fn ResolveCollision(A: T, B: T) { [INFO] [stderr] | - type parameter 'T' declared here [INFO] [stderr] 70 | //Calculate relative velocity [INFO] [stderr] 71 | let rv: Vec = B.velocity - A.velocity; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `velocity` on type `T` [INFO] [stderr] --> src/main.rs:71:39 [INFO] [stderr] | [INFO] [stderr] 69 | fn ResolveCollision(A: T, B: T) { [INFO] [stderr] | - type parameter 'T' declared here [INFO] [stderr] 70 | //Calculate relative velocity [INFO] [stderr] 71 | let rv: Vec = B.velocity - A.velocity; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `restitution` on type `T` [INFO] [stderr] --> src/main.rs:80:20 [INFO] [stderr] | [INFO] [stderr] 69 | fn ResolveCollision(A: T, B: T) { [INFO] [stderr] | - type parameter 'T' declared here [INFO] [stderr] ... [INFO] [stderr] 80 | let e: f64 = A.restitution.min(B.restitution); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `restitution` on type `T` [INFO] [stderr] --> src/main.rs:80:38 [INFO] [stderr] | [INFO] [stderr] 69 | fn ResolveCollision(A: T, B: T) { [INFO] [stderr] | - type parameter 'T' declared here [INFO] [stderr] ... [INFO] [stderr] 80 | let e: f64 = A.restitution.min(B.restitution); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: cannot add `f64` to `{integer}` [INFO] [stderr] --> src/main.rs:83:25 [INFO] [stderr] | [INFO] [stderr] 83 | let mut j: f64 = -(1+e) * velAlongNormal; [INFO] [stderr] | ^ no implementation for `{integer} + f64` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Add` is not implemented for `{integer}` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `mass` on type `T` [INFO] [stderr] --> src/main.rs:84:18 [INFO] [stderr] | [INFO] [stderr] 69 | fn ResolveCollision(A: T, B: T) { [INFO] [stderr] | - type parameter 'T' declared here [INFO] [stderr] ... [INFO] [stderr] 84 | j /= 1.0 / A.mass + 1.0 / B.mass; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `mass` on type `T` [INFO] [stderr] --> src/main.rs:84:33 [INFO] [stderr] | [INFO] [stderr] 69 | fn ResolveCollision(A: T, B: T) { [INFO] [stderr] | - type parameter 'T' declared here [INFO] [stderr] ... [INFO] [stderr] 84 | j /= 1.0 / A.mass + 1.0 / B.mass; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `velocity` on type `T` [INFO] [stderr] --> src/main.rs:88:7 [INFO] [stderr] | [INFO] [stderr] 69 | fn ResolveCollision(A: T, B: T) { [INFO] [stderr] | - type parameter 'T' declared here [INFO] [stderr] ... [INFO] [stderr] 88 | A.velocity -= 1.0 / A.mass * impulse; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `mass` on type `T` [INFO] [stderr] --> src/main.rs:88:27 [INFO] [stderr] | [INFO] [stderr] 69 | fn ResolveCollision(A: T, B: T) { [INFO] [stderr] | - type parameter 'T' declared here [INFO] [stderr] ... [INFO] [stderr] 88 | A.velocity -= 1.0 / A.mass * impulse; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `velocity` on type `T` [INFO] [stderr] --> src/main.rs:89:7 [INFO] [stderr] | [INFO] [stderr] 69 | fn ResolveCollision(A: T, B: T) { [INFO] [stderr] | - type parameter 'T' declared here [INFO] [stderr] ... [INFO] [stderr] 89 | B.velocity += 1.0 / B.mass * impulse; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `mass` on type `T` [INFO] [stderr] --> src/main.rs:89:27 [INFO] [stderr] | [INFO] [stderr] 69 | fn ResolveCollision(A: T, B: T) { [INFO] [stderr] | - type parameter 'T' declared here [INFO] [stderr] ... [INFO] [stderr] 89 | B.velocity += 1.0 / B.mass * impulse; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0609. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `physics`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "7bd9dbbb669e848243ee68110e6d17cbe89382e7e4b6e91d8e63b478c416e5d5"` [INFO] running `"docker" "rm" "-f" "7bd9dbbb669e848243ee68110e6d17cbe89382e7e4b6e91d8e63b478c416e5d5"` [INFO] [stdout] 7bd9dbbb669e848243ee68110e6d17cbe89382e7e4b6e91d8e63b478c416e5d5