[INFO] updating cached repository https://github.com/Tko1/Rustenstein3d [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92802e0807cd1c8142b8b70e037fbc7e27e292f9 [INFO] testing Tko1/Rustenstein3d against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTko1%2FRustenstein3d" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tko1/Rustenstein3d on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Tko1/Rustenstein3d [INFO] finished tweaking git repo https://github.com/Tko1/Rustenstein3d [INFO] tweaked toml for git repo https://github.com/Tko1/Rustenstein3d written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/Tko1/Rustenstein3d already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-9/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-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded piston2d-opengl_graphics v0.73.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 522cf7338dbd45471c35bd48ee0f90b06e23def507c20c55aaa1a8535e9b4ce6 [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" "522cf7338dbd45471c35bd48ee0f90b06e23def507c20c55aaa1a8535e9b4ce6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "522cf7338dbd45471c35bd48ee0f90b06e23def507c20c55aaa1a8535e9b4ce6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "522cf7338dbd45471c35bd48ee0f90b06e23def507c20c55aaa1a8535e9b4ce6", kill_on_drop: false }` [INFO] [stdout] 522cf7338dbd45471c35bd48ee0f90b06e23def507c20c55aaa1a8535e9b4ce6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5415e78fda410520974e1aec32dda28225cfbe34e68de0c91cc82df33ea60322 [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" "5415e78fda410520974e1aec32dda28225cfbe34e68de0c91cc82df33ea60322", kill_on_drop: false }` [INFO] [stderr] Compiling shader_version v0.7.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling glium v0.27.0 [INFO] [stderr] Compiling num-complex v0.3.0 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling num-bigint v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling pistoncore-input v1.0.0 [INFO] [stderr] Compiling winit v0.22.2 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling pistoncore-window v0.47.0 [INFO] [stderr] Compiling image v0.23.8 [INFO] [stderr] Compiling num v0.3.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.52.0 [INFO] [stderr] Compiling piston v0.52.0 [INFO] [stderr] Compiling glutin v0.24.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling winit v0.19.5 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.73.0 [INFO] [stderr] Compiling glutin v0.21.2 [INFO] [stderr] Compiling pistoncore-glutin_window v0.66.0 [INFO] [stderr] Compiling wolfenstein v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `num::Integer` [INFO] [stdout] --> src/math.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use num::Integer; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `math::Vec2` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use math::Vec2; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `math::Vec2f` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use math::Vec2f; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `math::Angle` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use math::Angle; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/raycasting.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | let (rotate_origin_by,_,_) = ray_ang_and_lengths[ray_ang_and_lengths.len() - 1]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ -------------------------------------------------- this expression has type `(math::Angle, f32)` [INFO] [stdout] | | [INFO] [stdout] | expected a tuple with 2 elements, found one with 3 elements [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(math::Angle, f32)` [INFO] [stdout] found tuple `(_, _, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | for (ray_angle,ray_length,color) in ray_ang_and_lengths.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -------------------------- this expression has type `&(math::Angle, f32)` [INFO] [stdout] | | [INFO] [stdout] | expected a tuple with 2 elements, found one with 3 elements [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(math::Angle, f32)` [INFO] [stdout] found tuple `(_, _, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | for (ray_angle,ray_length,color) in ray_ang_and_lengths.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -------------------------- this expression has type `&(math::Angle, f32)` [INFO] [stdout] | | [INFO] [stdout] | expected a tuple with 2 elements, found one with 3 elements [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(math::Angle, f32)` [INFO] [stdout] found tuple `(_, _, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::Float` [INFO] [stdout] --> src/math.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use num::Float; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wolfenstein`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "5415e78fda410520974e1aec32dda28225cfbe34e68de0c91cc82df33ea60322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5415e78fda410520974e1aec32dda28225cfbe34e68de0c91cc82df33ea60322", kill_on_drop: false }` [INFO] [stdout] 5415e78fda410520974e1aec32dda28225cfbe34e68de0c91cc82df33ea60322