[INFO] cloning repository https://github.com/romatthe/mudkip [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/romatthe/mudkip" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fromatthe%2Fmudkip", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fromatthe%2Fmudkip'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1d3586d415b1fa2fce7745ccf7ab7a752d04b847 [INFO] testing romatthe/mudkip against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fromatthe%2Fmudkip" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/romatthe/mudkip on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/romatthe/mudkip [INFO] finished tweaking git repo https://github.com/romatthe/mudkip [INFO] tweaked toml for git repo https://github.com/romatthe/mudkip written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/romatthe/mudkip already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85562462147d76a7f10068459977e2f95799c5335fc39704222d928c2d0bbb52 [INFO] running `Command { std: "docker" "start" "-a" "85562462147d76a7f10068459977e2f95799c5335fc39704222d928c2d0bbb52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85562462147d76a7f10068459977e2f95799c5335fc39704222d928c2d0bbb52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85562462147d76a7f10068459977e2f95799c5335fc39704222d928c2d0bbb52", kill_on_drop: false }` [INFO] [stdout] 85562462147d76a7f10068459977e2f95799c5335fc39704222d928c2d0bbb52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3595d4a225f8e97f6ae08e5fef7437d746bbb4ddb062cd6b1f3fe3c7b5e632de [INFO] running `Command { std: "docker" "start" "-a" "3595d4a225f8e97f6ae08e5fef7437d746bbb4ddb062cd6b1f3fe3c7b5e632de", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.35 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling atty v0.2.6 [INFO] [stderr] Compiling clap v2.29.1 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] LLVM ERROR: IO failure on output stream: No space left on device [INFO] [stderr] error: could not compile `clap` (lib) [INFO] running `Command { std: "docker" "inspect" "3595d4a225f8e97f6ae08e5fef7437d746bbb4ddb062cd6b1f3fe3c7b5e632de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3595d4a225f8e97f6ae08e5fef7437d746bbb4ddb062cd6b1f3fe3c7b5e632de", kill_on_drop: false }` [INFO] [stdout] 3595d4a225f8e97f6ae08e5fef7437d746bbb4ddb062cd6b1f3fe3c7b5e632de [INFO] testing romatthe/mudkip against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fromatthe%2Fmudkip" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/romatthe/mudkip on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/romatthe/mudkip [INFO] finished tweaking git repo https://github.com/romatthe/mudkip [INFO] tweaked toml for git repo https://github.com/romatthe/mudkip written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/romatthe/mudkip already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] Error response from daemon: mkdir /var/lib/docker/overlay2/1e9813954cd2271c2b7fdeef6adc6ed41553fef951a61d235166173cad0bcbf0/merged/opt/rustwide/workdir: no space left on device [INFO] testing romatthe/mudkip against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fromatthe%2Fmudkip" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/romatthe/mudkip on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/romatthe/mudkip [INFO] finished tweaking git repo https://github.com/romatthe/mudkip [INFO] tweaked toml for git repo https://github.com/romatthe/mudkip written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/romatthe/mudkip already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] Error response from daemon: mkdir /var/lib/docker/overlay2/dd88515be43e211b2a2d9c46fb3b5b3428d0ecfefb307b40a85d70be3f964f61/merged/opt/rustwide: no space left on device [INFO] testing romatthe/mudkip against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fromatthe%2Fmudkip" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/romatthe/mudkip on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/romatthe/mudkip [INFO] finished tweaking git repo https://github.com/romatthe/mudkip [INFO] tweaked toml for git repo https://github.com/romatthe/mudkip written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/romatthe/mudkip already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] Error response from daemon: chown /var/lib/docker/overlay2/7f266f58df297d228875ac5315eecd860e4b080b5b20a4e311de3e14ec851fe8/work/work: no such file or directory [INFO] testing romatthe/mudkip against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fromatthe%2Fmudkip" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/romatthe/mudkip on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/romatthe/mudkip [INFO] finished tweaking git repo https://github.com/romatthe/mudkip [INFO] tweaked toml for git repo https://github.com/romatthe/mudkip written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/romatthe/mudkip already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] Error response from daemon: mkdir /var/lib/docker/overlay2/4a844a12c39bfeb66c47a86f378bb81a21ae9f4c3eab9830c1bfb1587beb2ba4/merged: no space left on device [INFO] testing romatthe/mudkip against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fromatthe%2Fmudkip" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/romatthe/mudkip on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/romatthe/mudkip [INFO] finished tweaking git repo https://github.com/romatthe/mudkip [INFO] tweaked toml for git repo https://github.com/romatthe/mudkip written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/romatthe/mudkip already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] abcfad3bfed06fca991d0575b50763593a2aa2dc20db5b0b19478012ecc98992 [INFO] running `Command { std: "docker" "start" "-a" "abcfad3bfed06fca991d0575b50763593a2aa2dc20db5b0b19478012ecc98992", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abcfad3bfed06fca991d0575b50763593a2aa2dc20db5b0b19478012ecc98992", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abcfad3bfed06fca991d0575b50763593a2aa2dc20db5b0b19478012ecc98992", kill_on_drop: false }` [INFO] [stdout] abcfad3bfed06fca991d0575b50763593a2aa2dc20db5b0b19478012ecc98992 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 832c2035b58548c639b03741509774e4087c6de5ce2c240b013eb7d7e32d2018 [INFO] running `Command { std: "docker" "start" "-a" "832c2035b58548c639b03741509774e4087c6de5ce2c240b013eb7d7e32d2018", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.35 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling atty v0.2.6 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling clap v2.29.1 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling mudkip v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `cpu::instructions` [INFO] [stdout] --> src/cpu/disassembler.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cpu::instructions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instruction` [INFO] [stdout] --> src/cpu/disassembler.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use cpu::instructions::{Instruction, Mnemonic, OpCode}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/cpu/memory.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn fetch(&Address) -> u8; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Address` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/cpu/memory.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | fn store(&Address, &u8); [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Address` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/cpu/memory.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | fn store(&Address, &u8); [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: &u8` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/mod.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / bitflags! { [INFO] [stdout] 32 | | struct StatusRegister: u8 { [INFO] [stdout] 33 | | const C = 0b0000_0001; // Carry [INFO] [stdout] 34 | | const Z = 0b0000_0010; // Zero [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/mod.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / bitflags! { [INFO] [stdout] 32 | | struct StatusRegister: u8 { [INFO] [stdout] 33 | | const C = 0b0000_0001; // Carry [INFO] [stdout] 34 | | const Z = 0b0000_0010; // Zero [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/mod.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / bitflags! { [INFO] [stdout] 32 | | struct StatusRegister: u8 { [INFO] [stdout] 33 | | const C = 0b0000_0001; // Carry [INFO] [stdout] 34 | | const Z = 0b0000_0010; // Zero [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/nes/rom.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nes/rom.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / bitflags! { [INFO] [stdout] 35 | | struct Flags6: u8 { [INFO] [stdout] 36 | | const VERTICAL = 0b0000_0001; [INFO] [stdout] 37 | | const SRAM = 0b0000_0010; [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nes/rom.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / bitflags! { [INFO] [stdout] 35 | | struct Flags6: u8 { [INFO] [stdout] 36 | | const VERTICAL = 0b0000_0001; [INFO] [stdout] 37 | | const SRAM = 0b0000_0010; [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nes/rom.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / bitflags! { [INFO] [stdout] 35 | | struct Flags6: u8 { [INFO] [stdout] 36 | | const VERTICAL = 0b0000_0001; [INFO] [stdout] 37 | | const SRAM = 0b0000_0010; [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nes/rom.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / bitflags! { [INFO] [stdout] 48 | | struct Flags7: u8 { [INFO] [stdout] 49 | | const VS_UNISYSTEM = 0b0000_0001; [INFO] [stdout] 50 | | const PLAYCHOICE_10 = 0b0000_0010; [INFO] [stdout] 51 | | const NES_20 = 0b0000_1100; [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nes/rom.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / bitflags! { [INFO] [stdout] 48 | | struct Flags7: u8 { [INFO] [stdout] 49 | | const VS_UNISYSTEM = 0b0000_0001; [INFO] [stdout] 50 | | const PLAYCHOICE_10 = 0b0000_0010; [INFO] [stdout] 51 | | const NES_20 = 0b0000_1100; [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nes/rom.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / bitflags! { [INFO] [stdout] 48 | | struct Flags7: u8 { [INFO] [stdout] 49 | | const VS_UNISYSTEM = 0b0000_0001; [INFO] [stdout] 50 | | const PLAYCHOICE_10 = 0b0000_0010; [INFO] [stdout] 51 | | const NES_20 = 0b0000_1100; [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nes/rom.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / bitflags! { [INFO] [stdout] 58 | | struct Flags9: u8 { [INFO] [stdout] 59 | | const TV_SYSTEM = 0b0000_0001; // (0: NTSC; 1: PAL) [INFO] [stdout] 60 | | } [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nes/rom.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / bitflags! { [INFO] [stdout] 58 | | struct Flags9: u8 { [INFO] [stdout] 59 | | const TV_SYSTEM = 0b0000_0001; // (0: NTSC; 1: PAL) [INFO] [stdout] 60 | | } [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nes/rom.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / bitflags! { [INFO] [stdout] 58 | | struct Flags9: u8 { [INFO] [stdout] 59 | | const TV_SYSTEM = 0b0000_0001; // (0: NTSC; 1: PAL) [INFO] [stdout] 60 | | } [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cursor`, `Read` [INFO] [stdout] --> src/main.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | use std::io::{Cursor, Read}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LittleEndian`, `ReadBytesExt` [INFO] [stdout] --> src/main.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | use byteorder::{LittleEndian, ReadBytesExt}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpu::instructions` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use cpu::instructions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpu::instructions::Instruction` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use cpu::instructions::Instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nes::NES` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use nes::NES; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `needed` [INFO] [stdout] --> src/nes/rom.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | IResult::Incomplete(needed) => Err("Failed to parse ROM file"), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_needed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prg_ram` [INFO] [stdout] --> src/nes/rom.rs:138:70 [INFO] [stdout] | [INFO] [stdout] 138 | fn new(prg_size: usize, chr_size: usize, flags6: u8, flags7: u8, prg_ram: u8, flags9: u8, flags10: u8) -> Header { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prg_ram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags10` [INFO] [stdout] --> src/nes/rom.rs:138:95 [INFO] [stdout] | [INFO] [stdout] 138 | fn new(prg_size: usize, chr_size: usize, flags6: u8, flags7: u8, prg_ram: u8, flags9: u8, flags10: u8) -> Header { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_flags10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | Err(err) => eprintln!("{} Invalid path {:?} specified!", Red.bold().paint("error:"), path) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `WorkingMemory` is never used [INFO] [stdout] --> src/cpu/mod.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type WorkingMemory = [u8; 2048]; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RegisterA` is never used [INFO] [stdout] --> src/cpu/mod.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | type RegisterA = u8; // Accumulator [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RegisterX` is never used [INFO] [stdout] --> src/cpu/mod.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | type RegisterX = u8; // Index X register [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RegisterY` is never used [INFO] [stdout] --> src/cpu/mod.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | type RegisterY = u8; // Index Y register [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RegisterPC` is never used [INFO] [stdout] --> src/cpu/mod.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | type RegisterPC = Address; // Program Counter register [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RegisterSP` is never used [INFO] [stdout] --> src/cpu/mod.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | type RegisterSP = u8; // Stack pointer [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Address` is never used [INFO] [stdout] --> src/cpu/mod.rs:42:6 [INFO] [stdout] | [INFO] [stdout] 42 | type Address = u16; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImmediateAddressing` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | struct ImmediateAddressing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImmediateAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ZeroPageAddressing` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | struct ZeroPageAddressing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZeroPageAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AbsoluteAddressing` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | struct AbsoluteAddressing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AbsoluteAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImpliedAddressing` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | struct ImpliedAddressing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImpliedAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AccumulatorAddressing` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | struct AccumulatorAddressing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AccumulatorAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexedXAddressing` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | struct IndexedXAddressing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexedXAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexedYAddressing` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | struct IndexedYAddressing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexedYAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ZeroPageIndexedXAddressing` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | struct ZeroPageIndexedXAddressing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZeroPageIndexedXAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ZeroPageIndexedYAddressing` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | struct ZeroPageIndexedYAddressing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZeroPageIndexedYAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndirectAddressing` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | struct IndirectAddressing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndirectAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PreIndexedIndirect` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | struct PreIndexedIndirect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PreIndexedIndirect` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PostIndexedIndirectAddressing` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | struct PostIndexedIndirectAddressing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostIndexedIndirectAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RelativeAddressing` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | struct RelativeAddressing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RelativeAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cpu` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Cpu { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CpuRegisters` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | struct CpuRegisters { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cpu/mod.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 109 | impl CpuRegisters { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 110 | fn new() -> CpuRegisters { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `power_on`, `reset`, and `step` are never used [INFO] [stdout] --> src/cpu/mod.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 115 | impl Cpu { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 116 | pub fn new() -> Cpu { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn power_on (&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode` is never used [INFO] [stdout] --> src/cpu/instructions.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn decode(opcode: OpCode) -> Instruction { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cpu/instructions.rs:253:8 [INFO] [stdout] | [INFO] [stdout] 252 | impl Instruction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 253 | fn new(opcode: OpCode, mnemonic: Mnemonic, mode: AddressingMode, length: u8, cycles: u8) -> Instruction { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Address` is never used [INFO] [stdout] --> src/cpu/memory.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | type Address = u16; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Memory` is never used [INFO] [stdout] --> src/cpu/memory.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | trait Memory { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NES` is never constructed [INFO] [stdout] --> src/nes/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct NES { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `load_rom`, and `run` are never used [INFO] [stdout] --> src/nes/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl NES { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(mut file: File) -> NES { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn load_rom(&mut self, mut file: File) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn run(mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/nes/rom.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | file.read_to_end(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 125 | let _ = file.read_to_end(&mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.76s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "832c2035b58548c639b03741509774e4087c6de5ce2c240b013eb7d7e32d2018", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "832c2035b58548c639b03741509774e4087c6de5ce2c240b013eb7d7e32d2018", kill_on_drop: false }` [INFO] [stdout] 832c2035b58548c639b03741509774e4087c6de5ce2c240b013eb7d7e32d2018 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ebb0cf48c4e8a9c0462a3fcc87710943099a5c62c25533f2f9ffe8e76cd64ac [INFO] running `Command { std: "docker" "start" "-a" "8ebb0cf48c4e8a9c0462a3fcc87710943099a5c62c25533f2f9ffe8e76cd64ac", kill_on_drop: false }` [INFO] [stderr] Compiling mudkip v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `cpu::instructions` [INFO] [stdout] --> src/cpu/disassembler.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cpu::instructions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instruction` [INFO] [stdout] --> src/cpu/disassembler.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use cpu::instructions::{Instruction, Mnemonic, OpCode}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/cpu/memory.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn fetch(&Address) -> u8; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Address` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/cpu/memory.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | fn store(&Address, &u8); [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Address` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/cpu/memory.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | fn store(&Address, &u8); [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: &u8` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/mod.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / bitflags! { [INFO] [stdout] 32 | | struct StatusRegister: u8 { [INFO] [stdout] 33 | | const C = 0b0000_0001; // Carry [INFO] [stdout] 34 | | const Z = 0b0000_0010; // Zero [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/mod.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / bitflags! { [INFO] [stdout] 32 | | struct StatusRegister: u8 { [INFO] [stdout] 33 | | const C = 0b0000_0001; // Carry [INFO] [stdout] 34 | | const Z = 0b0000_0010; // Zero [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/mod.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / bitflags! { [INFO] [stdout] 32 | | struct StatusRegister: u8 { [INFO] [stdout] 33 | | const C = 0b0000_0001; // Carry [INFO] [stdout] 34 | | const Z = 0b0000_0010; // Zero [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/nes/rom.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nes/rom.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / bitflags! { [INFO] [stdout] 35 | | struct Flags6: u8 { [INFO] [stdout] 36 | | const VERTICAL = 0b0000_0001; [INFO] [stdout] 37 | | const SRAM = 0b0000_0010; [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nes/rom.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / bitflags! { [INFO] [stdout] 35 | | struct Flags6: u8 { [INFO] [stdout] 36 | | const VERTICAL = 0b0000_0001; [INFO] [stdout] 37 | | const SRAM = 0b0000_0010; [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nes/rom.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / bitflags! { [INFO] [stdout] 35 | | struct Flags6: u8 { [INFO] [stdout] 36 | | const VERTICAL = 0b0000_0001; [INFO] [stdout] 37 | | const SRAM = 0b0000_0010; [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nes/rom.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / bitflags! { [INFO] [stdout] 48 | | struct Flags7: u8 { [INFO] [stdout] 49 | | const VS_UNISYSTEM = 0b0000_0001; [INFO] [stdout] 50 | | const PLAYCHOICE_10 = 0b0000_0010; [INFO] [stdout] 51 | | const NES_20 = 0b0000_1100; [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nes/rom.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / bitflags! { [INFO] [stdout] 48 | | struct Flags7: u8 { [INFO] [stdout] 49 | | const VS_UNISYSTEM = 0b0000_0001; [INFO] [stdout] 50 | | const PLAYCHOICE_10 = 0b0000_0010; [INFO] [stdout] 51 | | const NES_20 = 0b0000_1100; [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nes/rom.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / bitflags! { [INFO] [stdout] 48 | | struct Flags7: u8 { [INFO] [stdout] 49 | | const VS_UNISYSTEM = 0b0000_0001; [INFO] [stdout] 50 | | const PLAYCHOICE_10 = 0b0000_0010; [INFO] [stdout] 51 | | const NES_20 = 0b0000_1100; [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nes/rom.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / bitflags! { [INFO] [stdout] 58 | | struct Flags9: u8 { [INFO] [stdout] 59 | | const TV_SYSTEM = 0b0000_0001; // (0: NTSC; 1: PAL) [INFO] [stdout] 60 | | } [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nes/rom.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / bitflags! { [INFO] [stdout] 58 | | struct Flags9: u8 { [INFO] [stdout] 59 | | const TV_SYSTEM = 0b0000_0001; // (0: NTSC; 1: PAL) [INFO] [stdout] 60 | | } [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nes/rom.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / bitflags! { [INFO] [stdout] 58 | | struct Flags9: u8 { [INFO] [stdout] 59 | | const TV_SYSTEM = 0b0000_0001; // (0: NTSC; 1: PAL) [INFO] [stdout] 60 | | } [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cursor`, `Read` [INFO] [stdout] --> src/main.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | use std::io::{Cursor, Read}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LittleEndian`, `ReadBytesExt` [INFO] [stdout] --> src/main.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | use byteorder::{LittleEndian, ReadBytesExt}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpu::instructions` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use cpu::instructions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpu::instructions::Instruction` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use cpu::instructions::Instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nes::NES` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use nes::NES; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `needed` [INFO] [stdout] --> src/nes/rom.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | IResult::Incomplete(needed) => Err("Failed to parse ROM file"), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_needed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prg_ram` [INFO] [stdout] --> src/nes/rom.rs:138:70 [INFO] [stdout] | [INFO] [stdout] 138 | fn new(prg_size: usize, chr_size: usize, flags6: u8, flags7: u8, prg_ram: u8, flags9: u8, flags10: u8) -> Header { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prg_ram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags10` [INFO] [stdout] --> src/nes/rom.rs:138:95 [INFO] [stdout] | [INFO] [stdout] 138 | fn new(prg_size: usize, chr_size: usize, flags6: u8, flags7: u8, prg_ram: u8, flags9: u8, flags10: u8) -> Header { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_flags10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | Err(err) => eprintln!("{} Invalid path {:?} specified!", Red.bold().paint("error:"), path) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `WorkingMemory` is never used [INFO] [stdout] --> src/cpu/mod.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type WorkingMemory = [u8; 2048]; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RegisterA` is never used [INFO] [stdout] --> src/cpu/mod.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | type RegisterA = u8; // Accumulator [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RegisterX` is never used [INFO] [stdout] --> src/cpu/mod.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | type RegisterX = u8; // Index X register [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RegisterY` is never used [INFO] [stdout] --> src/cpu/mod.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | type RegisterY = u8; // Index Y register [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RegisterPC` is never used [INFO] [stdout] --> src/cpu/mod.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | type RegisterPC = Address; // Program Counter register [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RegisterSP` is never used [INFO] [stdout] --> src/cpu/mod.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | type RegisterSP = u8; // Stack pointer [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Address` is never used [INFO] [stdout] --> src/cpu/mod.rs:42:6 [INFO] [stdout] | [INFO] [stdout] 42 | type Address = u16; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImmediateAddressing` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | struct ImmediateAddressing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImmediateAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ZeroPageAddressing` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | struct ZeroPageAddressing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZeroPageAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AbsoluteAddressing` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | struct AbsoluteAddressing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AbsoluteAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImpliedAddressing` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | struct ImpliedAddressing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImpliedAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AccumulatorAddressing` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | struct AccumulatorAddressing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AccumulatorAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexedXAddressing` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | struct IndexedXAddressing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexedXAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexedYAddressing` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | struct IndexedYAddressing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexedYAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ZeroPageIndexedXAddressing` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | struct ZeroPageIndexedXAddressing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZeroPageIndexedXAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ZeroPageIndexedYAddressing` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | struct ZeroPageIndexedYAddressing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZeroPageIndexedYAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndirectAddressing` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | struct IndirectAddressing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndirectAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PreIndexedIndirect` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | struct PreIndexedIndirect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PreIndexedIndirect` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PostIndexedIndirectAddressing` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | struct PostIndexedIndirectAddressing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostIndexedIndirectAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RelativeAddressing` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | struct RelativeAddressing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RelativeAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cpu` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Cpu { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CpuRegisters` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | struct CpuRegisters { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cpu/mod.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 109 | impl CpuRegisters { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 110 | fn new() -> CpuRegisters { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `power_on`, `reset`, and `step` are never used [INFO] [stdout] --> src/cpu/mod.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 115 | impl Cpu { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 116 | pub fn new() -> Cpu { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn power_on (&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode` is never used [INFO] [stdout] --> src/cpu/instructions.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn decode(opcode: OpCode) -> Instruction { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cpu/instructions.rs:253:8 [INFO] [stdout] | [INFO] [stdout] 252 | impl Instruction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 253 | fn new(opcode: OpCode, mnemonic: Mnemonic, mode: AddressingMode, length: u8, cycles: u8) -> Instruction { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Address` is never used [INFO] [stdout] --> src/cpu/memory.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | type Address = u16; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Memory` is never used [INFO] [stdout] --> src/cpu/memory.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | trait Memory { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NES` is never constructed [INFO] [stdout] --> src/nes/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct NES { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `load_rom`, and `run` are never used [INFO] [stdout] --> src/nes/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl NES { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(mut file: File) -> NES { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn load_rom(&mut self, mut file: File) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn run(mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/nes/rom.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | file.read_to_end(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 125 | let _ = file.read_to_end(&mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "8ebb0cf48c4e8a9c0462a3fcc87710943099a5c62c25533f2f9ffe8e76cd64ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ebb0cf48c4e8a9c0462a3fcc87710943099a5c62c25533f2f9ffe8e76cd64ac", kill_on_drop: false }` [INFO] [stdout] 8ebb0cf48c4e8a9c0462a3fcc87710943099a5c62c25533f2f9ffe8e76cd64ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 88ecc034d020d9174ac21d98d59d481d57fb028607a2d0cc1bc261323be0519f [INFO] running `Command { std: "docker" "start" "-a" "88ecc034d020d9174ac21d98d59d481d57fb028607a2d0cc1bc261323be0519f", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `cpu::instructions` [INFO] [stderr] --> src/cpu/disassembler.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use cpu::instructions; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Instruction` [INFO] [stderr] --> src/cpu/disassembler.rs:6:25 [INFO] [stderr] | [INFO] [stderr] 6 | use cpu::instructions::{Instruction, Mnemonic, OpCode}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/cpu/memory.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 6 | fn fetch(&Address) -> u8; [INFO] [stderr] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Address` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/cpu/memory.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | fn store(&Address, &u8); [INFO] [stderr] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Address` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/cpu/memory.rs:7:24 [INFO] [stderr] | [INFO] [stderr] 7 | fn store(&Address, &u8); [INFO] [stderr] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: &u8` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/cpu/mod.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | / bitflags! { [INFO] [stderr] 32 | | struct StatusRegister: u8 { [INFO] [stderr] 33 | | const C = 0b0000_0001; // Carry [INFO] [stderr] 34 | | const Z = 0b0000_0010; // Zero [INFO] [stderr] ... | [INFO] [stderr] 39 | | } [INFO] [stderr] 40 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/cpu/mod.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | / bitflags! { [INFO] [stderr] 32 | | struct StatusRegister: u8 { [INFO] [stderr] 33 | | const C = 0b0000_0001; // Carry [INFO] [stderr] 34 | | const Z = 0b0000_0010; // Zero [INFO] [stderr] ... | [INFO] [stderr] 39 | | } [INFO] [stderr] 40 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Cursor` [INFO] [stderr] --> src/nes/rom.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::Cursor; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/nes/rom.rs:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | / bitflags! { [INFO] [stderr] 35 | | struct Flags6: u8 { [INFO] [stderr] 36 | | const VERTICAL = 0b0000_0001; [INFO] [stderr] 37 | | const SRAM = 0b0000_0010; [INFO] [stderr] ... | [INFO] [stderr] 41 | | } [INFO] [stderr] 42 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/nes/rom.rs:47:1 [INFO] [stderr] | [INFO] [stderr] 47 | / bitflags! { [INFO] [stderr] 48 | | struct Flags7: u8 { [INFO] [stderr] 49 | | const VS_UNISYSTEM = 0b0000_0001; [INFO] [stderr] 50 | | const PLAYCHOICE_10 = 0b0000_0010; [INFO] [stderr] 51 | | const NES_20 = 0b0000_1100; [INFO] [stderr] 52 | | } [INFO] [stderr] 53 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/nes/rom.rs:57:1 [INFO] [stderr] | [INFO] [stderr] 57 | / bitflags! { [INFO] [stderr] 58 | | struct Flags9: u8 { [INFO] [stderr] 59 | | const TV_SYSTEM = 0b0000_0001; // (0: NTSC; 1: PAL) [INFO] [stderr] 60 | | } [INFO] [stderr] 61 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Cursor`, `Read` [INFO] [stderr] --> src/main.rs:15:15 [INFO] [stderr] | [INFO] [stderr] 15 | use std::io::{Cursor, Read}; [INFO] [stderr] | ^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `LittleEndian`, `ReadBytesExt` [INFO] [stderr] --> src/main.rs:18:17 [INFO] [stderr] | [INFO] [stderr] 18 | use byteorder::{LittleEndian, ReadBytesExt}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `cpu::instructions` [INFO] [stderr] --> src/main.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use cpu::instructions; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `cpu::instructions::Instruction` [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use cpu::instructions::Instruction; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `nes::NES` [INFO] [stderr] --> src/main.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | use nes::NES; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `needed` [INFO] [stderr] --> src/nes/rom.rs:131:29 [INFO] [stderr] | [INFO] [stderr] 131 | IResult::Incomplete(needed) => Err("Failed to parse ROM file"), [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_needed` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prg_ram` [INFO] [stderr] --> src/nes/rom.rs:138:70 [INFO] [stderr] | [INFO] [stderr] 138 | fn new(prg_size: usize, chr_size: usize, flags6: u8, flags7: u8, prg_ram: u8, flags9: u8, flags10: u8) -> Header { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prg_ram` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `flags10` [INFO] [stderr] --> src/nes/rom.rs:138:95 [INFO] [stderr] | [INFO] [stderr] 138 | fn new(prg_size: usize, chr_size: usize, flags6: u8, flags7: u8, prg_ram: u8, flags9: u8, flags10: u8) -> Header { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_flags10` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/main.rs:55:21 [INFO] [stderr] | [INFO] [stderr] 55 | Err(err) => eprintln!("{} Invalid path {:?} specified!", Red.bold().paint("error:"), path) [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] [INFO] [stderr] warning: type alias `WorkingMemory` is never used [INFO] [stderr] --> src/cpu/mod.rs:7:6 [INFO] [stderr] | [INFO] [stderr] 7 | type WorkingMemory = [u8; 2048]; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type alias `RegisterA` is never used [INFO] [stderr] --> src/cpu/mod.rs:11:6 [INFO] [stderr] | [INFO] [stderr] 11 | type RegisterA = u8; // Accumulator [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `RegisterX` is never used [INFO] [stderr] --> src/cpu/mod.rs:12:6 [INFO] [stderr] | [INFO] [stderr] 12 | type RegisterX = u8; // Index X register [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `RegisterY` is never used [INFO] [stderr] --> src/cpu/mod.rs:13:6 [INFO] [stderr] | [INFO] [stderr] 13 | type RegisterY = u8; // Index Y register [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `RegisterPC` is never used [INFO] [stderr] --> src/cpu/mod.rs:14:6 [INFO] [stderr] | [INFO] [stderr] 14 | type RegisterPC = Address; // Program Counter register [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `RegisterSP` is never used [INFO] [stderr] --> src/cpu/mod.rs:15:6 [INFO] [stderr] | [INFO] [stderr] 15 | type RegisterSP = u8; // Stack pointer [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Address` is never used [INFO] [stderr] --> src/cpu/mod.rs:42:6 [INFO] [stderr] | [INFO] [stderr] 42 | type Address = u16; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ImmediateAddressing` is never constructed [INFO] [stderr] --> src/cpu/mod.rs:68:8 [INFO] [stderr] | [INFO] [stderr] 68 | struct ImmediateAddressing; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ImmediateAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `ZeroPageAddressing` is never constructed [INFO] [stderr] --> src/cpu/mod.rs:70:8 [INFO] [stderr] | [INFO] [stderr] 70 | struct ZeroPageAddressing; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ZeroPageAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `AbsoluteAddressing` is never constructed [INFO] [stderr] --> src/cpu/mod.rs:72:8 [INFO] [stderr] | [INFO] [stderr] 72 | struct AbsoluteAddressing; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AbsoluteAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `ImpliedAddressing` is never constructed [INFO] [stderr] --> src/cpu/mod.rs:74:8 [INFO] [stderr] | [INFO] [stderr] 74 | struct ImpliedAddressing; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ImpliedAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `AccumulatorAddressing` is never constructed [INFO] [stderr] --> src/cpu/mod.rs:76:8 [INFO] [stderr] | [INFO] [stderr] 76 | struct AccumulatorAddressing; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AccumulatorAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `IndexedXAddressing` is never constructed [INFO] [stderr] --> src/cpu/mod.rs:78:8 [INFO] [stderr] | [INFO] [stderr] 78 | struct IndexedXAddressing; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `IndexedXAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `IndexedYAddressing` is never constructed [INFO] [stderr] --> src/cpu/mod.rs:80:8 [INFO] [stderr] | [INFO] [stderr] 80 | struct IndexedYAddressing; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `IndexedYAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `ZeroPageIndexedXAddressing` is never constructed [INFO] [stderr] --> src/cpu/mod.rs:82:8 [INFO] [stderr] | [INFO] [stderr] 82 | struct ZeroPageIndexedXAddressing; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ZeroPageIndexedXAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `ZeroPageIndexedYAddressing` is never constructed [INFO] [stderr] --> src/cpu/mod.rs:84:8 [INFO] [stderr] | [INFO] [stderr] 84 | struct ZeroPageIndexedYAddressing; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ZeroPageIndexedYAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `IndirectAddressing` is never constructed [INFO] [stderr] --> src/cpu/mod.rs:86:8 [INFO] [stderr] | [INFO] [stderr] 86 | struct IndirectAddressing; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `IndirectAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `PreIndexedIndirect` is never constructed [INFO] [stderr] --> src/cpu/mod.rs:88:8 [INFO] [stderr] | [INFO] [stderr] 88 | struct PreIndexedIndirect; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PreIndexedIndirect` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `PostIndexedIndirectAddressing` is never constructed [INFO] [stderr] --> src/cpu/mod.rs:90:8 [INFO] [stderr] | [INFO] [stderr] 90 | struct PostIndexedIndirectAddressing; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PostIndexedIndirectAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `RelativeAddressing` is never constructed [INFO] [stderr] --> src/cpu/mod.rs:92:8 [INFO] [stderr] | [INFO] [stderr] 92 | struct RelativeAddressing; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RelativeAddressing` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `Cpu` is never constructed [INFO] [stderr] --> src/cpu/mod.rs:94:12 [INFO] [stderr] | [INFO] [stderr] 94 | pub struct Cpu { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CpuRegisters` is never constructed [INFO] [stderr] --> src/cpu/mod.rs:101:8 [INFO] [stderr] | [INFO] [stderr] 101 | struct CpuRegisters { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/cpu/mod.rs:110:8 [INFO] [stderr] | [INFO] [stderr] 109 | impl CpuRegisters { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] 110 | fn new() -> CpuRegisters { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `power_on`, `reset`, and `step` are never used [INFO] [stderr] --> src/cpu/mod.rs:116:12 [INFO] [stderr] | [INFO] [stderr] 115 | impl Cpu { [INFO] [stderr] | -------- associated items in this implementation [INFO] [stderr] 116 | pub fn new() -> Cpu { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 124 | pub fn power_on (&mut self) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 133 | pub fn reset(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 140 | pub fn step(&mut self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `decode` is never used [INFO] [stderr] --> src/cpu/instructions.rs:26:8 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn decode(opcode: OpCode) -> Instruction { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/cpu/instructions.rs:253:8 [INFO] [stderr] | [INFO] [stderr] 252 | impl Instruction { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] 253 | fn new(opcode: OpCode, mnemonic: Mnemonic, mode: AddressingMode, length: u8, cycles: u8) -> Instruction { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Address` is never used [INFO] [stderr] --> src/cpu/memory.rs:1:6 [INFO] [stderr] | [INFO] [stderr] 1 | type Address = u16; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Memory` is never used [INFO] [stderr] --> src/cpu/memory.rs:3:7 [INFO] [stderr] | [INFO] [stderr] 3 | trait Memory { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `NES` is never constructed [INFO] [stderr] --> src/nes/mod.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct NES { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `load_rom`, and `run` are never used [INFO] [stderr] --> src/nes/mod.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl NES { [INFO] [stderr] | -------- associated items in this implementation [INFO] [stderr] 15 | pub fn new(mut file: File) -> NES { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 19 | pub fn load_rom(&mut self, mut file: File) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 24 | pub fn run(mut self) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/nes/rom.rs:125:5 [INFO] [stderr] | [INFO] [stderr] 125 | file.read_to_end(&mut buf); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 125 | let _ = file.read_to_end(&mut buf); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `mudkip` (bin "mudkip" test) generated 58 warnings (7 duplicates) (run `cargo fix --bin "mudkip" --tests` to apply 11 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mudkip-1d887f8286ef7982) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "88ecc034d020d9174ac21d98d59d481d57fb028607a2d0cc1bc261323be0519f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88ecc034d020d9174ac21d98d59d481d57fb028607a2d0cc1bc261323be0519f", kill_on_drop: false }` [INFO] [stdout] 88ecc034d020d9174ac21d98d59d481d57fb028607a2d0cc1bc261323be0519f