[INFO] cloning repository https://github.com/zhmu/rs-c64emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhmu/rs-c64emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhmu%2Frs-c64emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhmu%2Frs-c64emu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d7584845c4b27cd5ef05fad8de8784bfe71c06f1 [INFO] checking zhmu/rs-c64emu against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhmu%2Frs-c64emu" "/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/zhmu/rs-c64emu on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zhmu/rs-c64emu [INFO] finished tweaking git repo https://github.com/zhmu/rs-c64emu [INFO] tweaked toml for git repo https://github.com/zhmu/rs-c64emu written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/zhmu/rs-c64emu already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b029b3b0a7cdfa9c2b526993a61d7fc8dd6aacc00d79c56bf64e700da36aaf9 [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" "2b029b3b0a7cdfa9c2b526993a61d7fc8dd6aacc00d79c56bf64e700da36aaf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b029b3b0a7cdfa9c2b526993a61d7fc8dd6aacc00d79c56bf64e700da36aaf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b029b3b0a7cdfa9c2b526993a61d7fc8dd6aacc00d79c56bf64e700da36aaf9", kill_on_drop: false }` [INFO] [stdout] 2b029b3b0a7cdfa9c2b526993a61d7fc8dd6aacc00d79c56bf64e700da36aaf9 [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=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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 321cb06b9905c6371fa26381ab3fc896ad8bd2004586dd44c04f25dbda176b73 [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" "321cb06b9905c6371fa26381ab3fc896ad8bd2004586dd44c04f25dbda176b73", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_pcg v0.1.2 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking c64 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/c64/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | ((first as u16) | ((second as u16) << 8)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/c64/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | ((first as u16) | ((second as u16) << 8)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/c64/mod.rs:635:19 [INFO] [stdout] | [INFO] [stdout] 635 | let mut cpu = MOS6502::new(&mut memory); [INFO] [stdout] | ^^^^^^^^^^^^ ----------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/c64/mod.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn new() -> MOS6502 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/c64/mod.rs:639:9 [INFO] [stdout] | [INFO] [stdout] 639 | cpu.execute().unwrap(); [INFO] [stdout] | ^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/c64/mod.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn execute(&mut self, mem: &mut Memory) -> Result { [INFO] [stdout] | ^^^^^^^ --------- ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/c64/mod.rs:645:9 [INFO] [stdout] | [INFO] [stdout] 645 | cpu.execute().unwrap(); [INFO] [stdout] | ^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/c64/mod.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn execute(&mut self, mem: &mut Memory) -> Result { [INFO] [stdout] | ^^^^^^^ --------- ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/c64/mod.rs:652:9 [INFO] [stdout] | [INFO] [stdout] 652 | cpu.execute().unwrap(); [INFO] [stdout] | ^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/c64/mod.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn execute(&mut self, mem: &mut Memory) -> Result { [INFO] [stdout] | ^^^^^^^ --------- ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/c64/mod.rs:665:23 [INFO] [stdout] | [INFO] [stdout] 665 | let mut cpu = MOS6502::new(&mut memory); [INFO] [stdout] | ^^^^^^^^^^^^ ----------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/c64/mod.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn new() -> MOS6502 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/c64/mod.rs:667:27 [INFO] [stdout] | [INFO] [stdout] 667 | assert_eq!(3, cpu.execute().unwrap()); [INFO] [stdout] | ^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/c64/mod.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn execute(&mut self, mem: &mut Memory) -> Result { [INFO] [stdout] | ^^^^^^^ --------- ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 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 `c64` [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] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "321cb06b9905c6371fa26381ab3fc896ad8bd2004586dd44c04f25dbda176b73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "321cb06b9905c6371fa26381ab3fc896ad8bd2004586dd44c04f25dbda176b73", kill_on_drop: false }` [INFO] [stdout] 321cb06b9905c6371fa26381ab3fc896ad8bd2004586dd44c04f25dbda176b73