[INFO] cloning repository https://github.com/finnkauski/RustSnek [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/finnkauski/RustSnek" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffinnkauski%2FRustSnek", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffinnkauski%2FRustSnek'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 64bebbcae66b0a0b20d7b1d674567ad240476092 [INFO] testing finnkauski/RustSnek against 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffinnkauski%2FRustSnek" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/finnkauski/RustSnek on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/finnkauski/RustSnek [INFO] finished tweaking git repo https://github.com/finnkauski/RustSnek [INFO] tweaked toml for git repo https://github.com/finnkauski/RustSnek written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/finnkauski/RustSnek already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-4/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" "+1.49.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "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] dcde4aae8d67f9a4bd990f41c4d3584f06eeab48a7dc00400f26f9499a02bced [INFO] running `Command { std: "docker" "start" "-a" "dcde4aae8d67f9a4bd990f41c4d3584f06eeab48a7dc00400f26f9499a02bced", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dcde4aae8d67f9a4bd990f41c4d3584f06eeab48a7dc00400f26f9499a02bced", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcde4aae8d67f9a4bd990f41c4d3584f06eeab48a7dc00400f26f9499a02bced", kill_on_drop: false }` [INFO] [stdout] dcde4aae8d67f9a4bd990f41c4d3584f06eeab48a7dc00400f26f9499a02bced [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b3b50ea77f25c77d9041afb3e4f1525b4e138c0a879b2b6a3d5b01d1f06d6af [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" "5b3b50ea77f25c77d9041afb3e4f1525b4e138c0a879b2b6a3d5b01d1f06d6af", kill_on_drop: false }` [INFO] [stderr] Compiling piston-float v0.3.0 [INFO] [stderr] Compiling shader_version v0.3.0 [INFO] [stderr] Compiling getrandom v0.2.1 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling png v0.14.1 [INFO] [stderr] Compiling tiff v0.2.2 [INFO] [stderr] Compiling piston-viewport v0.5.0 [INFO] [stderr] Compiling vecmath v0.3.1 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling pistoncore-input v0.24.0 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling image v0.21.3 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling piston2d-graphics v0.30.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Compiling rand v0.8.1 [INFO] [stderr] Compiling pistoncore-window v0.37.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.42.0 [INFO] [stderr] Compiling piston v0.42.0 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.59.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling winit v0.18.1 [INFO] [stderr] Compiling pistoncore-glutin_window v0.54.0 [INFO] [stderr] Compiling snake_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `graphics` is imported redundantly [INFO] [stdout] --> src/main.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate graphics; [INFO] [stdout] | ---------------------- the item `graphics` is already imported here [INFO] [stdout] ... [INFO] [stdout] 107 | use graphics; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | let ediX = rng.gen_range(0.0, &self.max_coords.x).round(); [INFO] [stdout] | ^^^^^^^^^ --- ------------------ supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | let ediY = rng.gen_range(0.0, &self.max_coords.y).round(); [INFO] [stdout] | ^^^^^^^^^ --- ------------------ supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `snake_game` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "5b3b50ea77f25c77d9041afb3e4f1525b4e138c0a879b2b6a3d5b01d1f06d6af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b3b50ea77f25c77d9041afb3e4f1525b4e138c0a879b2b6a3d5b01d1f06d6af", kill_on_drop: false }` [INFO] [stdout] 5b3b50ea77f25c77d9041afb3e4f1525b4e138c0a879b2b6a3d5b01d1f06d6af