[INFO] cloning repository https://github.com/legendiguess/simple_snake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/legendiguess/simple_snake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flegendiguess%2Fsimple_snake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flegendiguess%2Fsimple_snake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 51afc2f8cae26d2ac6dc38239d62add04ec78523 [INFO] checking legendiguess/simple_snake against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flegendiguess%2Fsimple_snake" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/legendiguess/simple_snake on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/legendiguess/simple_snake [INFO] finished tweaking git repo https://github.com/legendiguess/simple_snake [INFO] tweaked toml for git repo https://github.com/legendiguess/simple_snake written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/legendiguess/simple_snake already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-12/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tar v0.4.33 [INFO] [stderr] Downloaded unidiff v0.3.3 [INFO] [stderr] Downloaded xkb v0.2.1 [INFO] [stderr] Downloaded minifb v0.19.2 [INFO] [stderr] Downloaded xkbcommon-sys v0.7.5 [INFO] [stderr] Downloaded orbclient v0.3.31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db2701ffe34f61c72f39b972c6a918ba4ae6c5f82e29da86665ad70ebc23b731 [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" "db2701ffe34f61c72f39b972c6a918ba4ae6c5f82e29da86665ad70ebc23b731", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db2701ffe34f61c72f39b972c6a918ba4ae6c5f82e29da86665ad70ebc23b731", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db2701ffe34f61c72f39b972c6a918ba4ae6c5f82e29da86665ad70ebc23b731", kill_on_drop: false }` [INFO] [stdout] db2701ffe34f61c72f39b972c6a918ba4ae6c5f82e29da86665ad70ebc23b731 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] c9b0a9a3558411c256c359e4ed70811f591a5b89b20afd5c5b3619609f4919e8 [INFO] running `Command { std: "docker" "start" "-a" "c9b0a9a3558411c256c359e4ed70811f591a5b89b20afd5c5b3619609f4919e8", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling clang-sys v1.1.1 [INFO] [stderr] Compiling wayland-sys v0.27.0 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling minifb v0.19.2 [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Checking maybe-uninit v2.0.0 [INFO] [stderr] Checking nix v0.17.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling wayland-scanner v0.27.0 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Compiling wayland-client v0.27.0 [INFO] [stderr] Compiling wayland-protocols v0.27.0 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Checking wayland-commons v0.27.0 [INFO] [stderr] Checking wayland-cursor v0.27.0 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Checking xkb v0.2.1 [INFO] [stderr] Checking simple_snake v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:72:39 [INFO] [stdout] | [INFO] [stdout] 72 | let mut index = rand::thread_rng().gen_range(0, AREA_SIZE * AREA_SIZE) as usize; [INFO] [stdout] | ^^^^^^^^^ - --------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.8.3/src/rng.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:72:39 [INFO] [stdout] | [INFO] [stdout] 72 | let mut index = rand::thread_rng().gen_range(0, AREA_SIZE * AREA_SIZE) as usize; [INFO] [stdout] | ^^^^^^^^^ - --------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.8.3/src/rng.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | index = rand::thread_rng().gen_range(0, AREA_SIZE * AREA_SIZE) as usize; [INFO] [stdout] | ^^^^^^^^^ - --------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.8.3/src/rng.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 100 | area[rand::thread_rng().gen_range(0, AREA_SIZE * AREA_SIZE) as usize] = 0; [INFO] [stdout] | ^^^^^^^^^ - --------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.8.3/src/rng.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | index = rand::thread_rng().gen_range(0, AREA_SIZE * AREA_SIZE) as usize; [INFO] [stdout] | ^^^^^^^^^ - --------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.8.3/src/rng.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:136:10 [INFO] [stdout] | [INFO] [stdout] 136 | window.update_with_buffer(&buffer).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/minifb-0.19.2/src/lib.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn update_with_buffer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 100 | area[rand::thread_rng().gen_range(0, AREA_SIZE * AREA_SIZE) as usize] = 0; [INFO] [stdout] | ^^^^^^^^^ - --------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.8.3/src/rng.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:136:10 [INFO] [stdout] | [INFO] [stdout] 136 | window.update_with_buffer(&buffer).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/minifb-0.19.2/src/lib.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn update_with_buffer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `simple_snake` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c9b0a9a3558411c256c359e4ed70811f591a5b89b20afd5c5b3619609f4919e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9b0a9a3558411c256c359e4ed70811f591a5b89b20afd5c5b3619609f4919e8", kill_on_drop: false }` [INFO] [stdout] c9b0a9a3558411c256c359e4ed70811f591a5b89b20afd5c5b3619609f4919e8