[INFO] cloning repository https://github.com/aelred/nes-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aelred/nes-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faelred%2Fnes-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faelred%2Fnes-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4deb07e9f9bdf56aacac46ed1a5bfda2fb1005f3 [INFO] checking aelred/nes-rust against try#4a04890980766cc79878135f5ade8c0c4321e943 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faelred%2Fnes-rust" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aelred/nes-rust on toolchain 4a04890980766cc79878135f5ade8c0c4321e943 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aelred/nes-rust [INFO] finished tweaking git repo https://github.com/aelred/nes-rust [INFO] tweaked toml for git repo https://github.com/aelred/nes-rust written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/aelred/nes-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded odds v0.2.26 [INFO] [stderr] Downloaded arrayvec v0.3.25 [INFO] [stderr] Downloaded hexdump v0.1.0 [INFO] [stderr] Downloaded sdl2-sys v0.32.5 [INFO] [stderr] Downloaded sdl2 v0.32.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fad30483663355b92a832a794cfb4ac5a674af54a86e301db44e86810cf4ae21 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fad30483663355b92a832a794cfb4ac5a674af54a86e301db44e86810cf4ae21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fad30483663355b92a832a794cfb4ac5a674af54a86e301db44e86810cf4ae21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fad30483663355b92a832a794cfb4ac5a674af54a86e301db44e86810cf4ae21", kill_on_drop: false }` [INFO] [stdout] fad30483663355b92a832a794cfb4ac5a674af54a86e301db44e86810cf4ae21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56684d15f345e08d8653d8ad5417204e55160b83104b8e883ceb0812de606a2e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "56684d15f345e08d8653d8ad5417204e55160b83104b8e883ceb0812de606a2e", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling libc v0.2.47 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Checking odds v0.2.26 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking itertools v0.4.19 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling sdl2-sys v0.32.5 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking arrayvec v0.3.25 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking hexdump v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Checking rand_os v0.1.1 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking env_logger v0.6.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum-primitive-derive v0.1.2 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking sdl2 v0.32.1 [INFO] [stderr] Checking nes-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/cpu.rs:408:89 [INFO] [stdout] | [INFO] [stdout] 408 | fn shift(&mut self, reference: Reference, carry_bit: u8, op: impl FnOnce(u8, u8) -> (u8)) { [INFO] [stdout] | ^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/cpu.rs:408:89 [INFO] [stdout] | [INFO] [stdout] 408 | fn shift(&mut self, reference: Reference, carry_bit: u8, op: impl FnOnce(u8, u8) -> (u8)) { [INFO] [stdout] | ^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `oam_address` [INFO] [stdout] --> src/ppu.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | oam_address: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as Iterator>::Item == &_` [INFO] [stdout] --> tests/simple_programs.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | let params: Vec = $params.into_iter().cloned().collect(); [INFO] [stdout] | ^^^^^^ expected integer, found reference [INFO] [stdout] ... [INFO] [stdout] 80 | / run!([1, 2] -> [3]; [INFO] [stdout] 81 | | LDA_ABSOLUTE, PARAM_ADDRESS, 0, [INFO] [stdout] 82 | | INX, [INFO] [stdout] 83 | | ADC_ABSOLUTE_X, PARAM_ADDRESS, 0, [INFO] [stdout] ... | [INFO] [stdout] 86 | | STA_ABSOLUTE, HALT_ADDRESS, 0 [INFO] [stdout] 87 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `{integer}` [INFO] [stdout] found reference `&_` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `Cloned>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/simple_programs.rs:15:60 [INFO] [stdout] | [INFO] [stdout] 15 | let params: Vec = $params.into_iter().cloned().collect(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `Cloned>` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 80 | / run!([1, 2] -> [3]; [INFO] [stdout] 81 | | LDA_ABSOLUTE, PARAM_ADDRESS, 0, [INFO] [stdout] 82 | | INX, [INFO] [stdout] 83 | | ADC_ABSOLUTE_X, PARAM_ADDRESS, 0, [INFO] [stdout] ... | [INFO] [stdout] 86 | | STA_ABSOLUTE, HALT_ADDRESS, 0 [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as Iterator>::Item = &_` [INFO] [stdout] which is required by `Cloned>: Iterator` [INFO] [stdout] `Cloned>: Iterator` [INFO] [stdout] which is required by `&mut Cloned>: Iterator` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as Iterator>::Item == &_` [INFO] [stdout] --> tests/simple_programs.rs:16:55 [INFO] [stdout] | [INFO] [stdout] 16 | let expected: Vec = $expected.into_iter().cloned().collect(); [INFO] [stdout] | ^^^^^^ expected integer, found reference [INFO] [stdout] ... [INFO] [stdout] 80 | / run!([1, 2] -> [3]; [INFO] [stdout] 81 | | LDA_ABSOLUTE, PARAM_ADDRESS, 0, [INFO] [stdout] 82 | | INX, [INFO] [stdout] 83 | | ADC_ABSOLUTE_X, PARAM_ADDRESS, 0, [INFO] [stdout] ... | [INFO] [stdout] 86 | | STA_ABSOLUTE, HALT_ADDRESS, 0 [INFO] [stdout] 87 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `{integer}` [INFO] [stdout] found reference `&_` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `Cloned>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/simple_programs.rs:16:64 [INFO] [stdout] | [INFO] [stdout] 16 | let expected: Vec = $expected.into_iter().cloned().collect(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `Cloned>` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 80 | / run!([1, 2] -> [3]; [INFO] [stdout] 81 | | LDA_ABSOLUTE, PARAM_ADDRESS, 0, [INFO] [stdout] 82 | | INX, [INFO] [stdout] 83 | | ADC_ABSOLUTE_X, PARAM_ADDRESS, 0, [INFO] [stdout] ... | [INFO] [stdout] 86 | | STA_ABSOLUTE, HALT_ADDRESS, 0 [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as Iterator>::Item = &_` [INFO] [stdout] which is required by `Cloned>: Iterator` [INFO] [stdout] `Cloned>: Iterator` [INFO] [stdout] which is required by `&mut Cloned>: Iterator` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as Iterator>::Item == &_` [INFO] [stdout] --> tests/simple_programs.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | let params: Vec = $params.into_iter().cloned().collect(); [INFO] [stdout] | ^^^^^^ expected integer, found reference [INFO] [stdout] ... [INFO] [stdout] 92 | / run!([7, 6] -> [42]; [INFO] [stdout] 93 | | LDA_IMMEDIATE, 0u8, [INFO] [stdout] 94 | | LDY_ABSOLUTE, PARAM_ADDRESS, 0, [INFO] [stdout] 95 | | INX, [INFO] [stdout] ... | [INFO] [stdout] 101 | | STA_ABSOLUTE, HALT_ADDRESS, 0 [INFO] [stdout] 102 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `{integer}` [INFO] [stdout] found reference `&_` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `Cloned>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/simple_programs.rs:15:60 [INFO] [stdout] | [INFO] [stdout] 15 | let params: Vec = $params.into_iter().cloned().collect(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `Cloned>` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 92 | / run!([7, 6] -> [42]; [INFO] [stdout] 93 | | LDA_IMMEDIATE, 0u8, [INFO] [stdout] 94 | | LDY_ABSOLUTE, PARAM_ADDRESS, 0, [INFO] [stdout] 95 | | INX, [INFO] [stdout] ... | [INFO] [stdout] 101 | | STA_ABSOLUTE, HALT_ADDRESS, 0 [INFO] [stdout] 102 | | ); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as Iterator>::Item = &_` [INFO] [stdout] which is required by `Cloned>: Iterator` [INFO] [stdout] `Cloned>: Iterator` [INFO] [stdout] which is required by `&mut Cloned>: Iterator` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as Iterator>::Item == &_` [INFO] [stdout] --> tests/simple_programs.rs:16:55 [INFO] [stdout] | [INFO] [stdout] 16 | let expected: Vec = $expected.into_iter().cloned().collect(); [INFO] [stdout] | ^^^^^^ expected integer, found reference [INFO] [stdout] ... [INFO] [stdout] 92 | / run!([7, 6] -> [42]; [INFO] [stdout] 93 | | LDA_IMMEDIATE, 0u8, [INFO] [stdout] 94 | | LDY_ABSOLUTE, PARAM_ADDRESS, 0, [INFO] [stdout] 95 | | INX, [INFO] [stdout] ... | [INFO] [stdout] 101 | | STA_ABSOLUTE, HALT_ADDRESS, 0 [INFO] [stdout] 102 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `{integer}` [INFO] [stdout] found reference `&_` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `Cloned>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/simple_programs.rs:16:64 [INFO] [stdout] | [INFO] [stdout] 16 | let expected: Vec = $expected.into_iter().cloned().collect(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `Cloned>` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 92 | / run!([7, 6] -> [42]; [INFO] [stdout] 93 | | LDA_IMMEDIATE, 0u8, [INFO] [stdout] 94 | | LDY_ABSOLUTE, PARAM_ADDRESS, 0, [INFO] [stdout] 95 | | INX, [INFO] [stdout] ... | [INFO] [stdout] 101 | | STA_ABSOLUTE, HALT_ADDRESS, 0 [INFO] [stdout] 102 | | ); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as Iterator>::Item = &_` [INFO] [stdout] which is required by `Cloned>: Iterator` [INFO] [stdout] `Cloned>: Iterator` [INFO] [stdout] which is required by `&mut Cloned>: Iterator` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as Iterator>::Item == &_` [INFO] [stdout] --> tests/simple_programs.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | let params: Vec = $params.into_iter().cloned().collect(); [INFO] [stdout] | ^^^^^^ expected integer, found reference [INFO] [stdout] ... [INFO] [stdout] 107 | / run!([20] -> [210]; [INFO] [stdout] 108 | | LDA_IMMEDIATE, 0u8, [INFO] [stdout] 109 | | LDX_ABSOLUTE, PARAM_ADDRESS, 0, [INFO] [stdout] 110 | | ADC_ABSOLUTE, PARAM_ADDRESS, 0, [INFO] [stdout] ... | [INFO] [stdout] 115 | | STA_ABSOLUTE, HALT_ADDRESS, 0 [INFO] [stdout] 116 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `{integer}` [INFO] [stdout] found reference `&_` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `Cloned>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/simple_programs.rs:15:60 [INFO] [stdout] | [INFO] [stdout] 15 | let params: Vec = $params.into_iter().cloned().collect(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `Cloned>` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 107 | / run!([20] -> [210]; [INFO] [stdout] 108 | | LDA_IMMEDIATE, 0u8, [INFO] [stdout] 109 | | LDX_ABSOLUTE, PARAM_ADDRESS, 0, [INFO] [stdout] 110 | | ADC_ABSOLUTE, PARAM_ADDRESS, 0, [INFO] [stdout] ... | [INFO] [stdout] 115 | | STA_ABSOLUTE, HALT_ADDRESS, 0 [INFO] [stdout] 116 | | ); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as Iterator>::Item = &_` [INFO] [stdout] which is required by `Cloned>: Iterator` [INFO] [stdout] `Cloned>: Iterator` [INFO] [stdout] which is required by `&mut Cloned>: Iterator` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as Iterator>::Item == &_` [INFO] [stdout] --> tests/simple_programs.rs:16:55 [INFO] [stdout] | [INFO] [stdout] 16 | let expected: Vec = $expected.into_iter().cloned().collect(); [INFO] [stdout] | ^^^^^^ expected integer, found reference [INFO] [stdout] ... [INFO] [stdout] 107 | / run!([20] -> [210]; [INFO] [stdout] 108 | | LDA_IMMEDIATE, 0u8, [INFO] [stdout] 109 | | LDX_ABSOLUTE, PARAM_ADDRESS, 0, [INFO] [stdout] 110 | | ADC_ABSOLUTE, PARAM_ADDRESS, 0, [INFO] [stdout] ... | [INFO] [stdout] 115 | | STA_ABSOLUTE, HALT_ADDRESS, 0 [INFO] [stdout] 116 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `{integer}` [INFO] [stdout] found reference `&_` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `Cloned>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/simple_programs.rs:16:64 [INFO] [stdout] | [INFO] [stdout] 16 | let expected: Vec = $expected.into_iter().cloned().collect(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `Cloned>` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 107 | / run!([20] -> [210]; [INFO] [stdout] 108 | | LDA_IMMEDIATE, 0u8, [INFO] [stdout] 109 | | LDX_ABSOLUTE, PARAM_ADDRESS, 0, [INFO] [stdout] 110 | | ADC_ABSOLUTE, PARAM_ADDRESS, 0, [INFO] [stdout] ... | [INFO] [stdout] 115 | | STA_ABSOLUTE, HALT_ADDRESS, 0 [INFO] [stdout] 116 | | ); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as Iterator>::Item = &_` [INFO] [stdout] which is required by `Cloned>: Iterator` [INFO] [stdout] `Cloned>: Iterator` [INFO] [stdout] which is required by `&mut Cloned>: Iterator` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as Iterator>::Item == &_` [INFO] [stdout] --> tests/simple_programs.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | let params: Vec = $params.into_iter().cloned().collect(); [INFO] [stdout] | ^^^^^^ expected integer, found reference [INFO] [stdout] ... [INFO] [stdout] 121 | / run!([20] -> [210]; [INFO] [stdout] 122 | | 0 => { [INFO] [stdout] 123 | | JSR, 0x34, 0x12, [INFO] [stdout] 124 | | LDA_IMMEDIATE, 1u8, [INFO] [stdout] ... | [INFO] [stdout] 135 | | } [INFO] [stdout] 136 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `{integer}` [INFO] [stdout] found reference `&_` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `Cloned>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/simple_programs.rs:15:60 [INFO] [stdout] | [INFO] [stdout] 15 | let params: Vec = $params.into_iter().cloned().collect(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `Cloned>` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 121 | / run!([20] -> [210]; [INFO] [stdout] 122 | | 0 => { [INFO] [stdout] 123 | | JSR, 0x34, 0x12, [INFO] [stdout] 124 | | LDA_IMMEDIATE, 1u8, [INFO] [stdout] ... | [INFO] [stdout] 135 | | } [INFO] [stdout] 136 | | ); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as Iterator>::Item = &_` [INFO] [stdout] which is required by `Cloned>: Iterator` [INFO] [stdout] `Cloned>: Iterator` [INFO] [stdout] which is required by `&mut Cloned>: Iterator` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as Iterator>::Item == &_` [INFO] [stdout] --> tests/simple_programs.rs:16:55 [INFO] [stdout] | [INFO] [stdout] 16 | let expected: Vec = $expected.into_iter().cloned().collect(); [INFO] [stdout] | ^^^^^^ expected integer, found reference [INFO] [stdout] ... [INFO] [stdout] 121 | / run!([20] -> [210]; [INFO] [stdout] 122 | | 0 => { [INFO] [stdout] 123 | | JSR, 0x34, 0x12, [INFO] [stdout] 124 | | LDA_IMMEDIATE, 1u8, [INFO] [stdout] ... | [INFO] [stdout] 135 | | } [INFO] [stdout] 136 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `{integer}` [INFO] [stdout] found reference `&_` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `Cloned>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/simple_programs.rs:16:64 [INFO] [stdout] | [INFO] [stdout] 16 | let expected: Vec = $expected.into_iter().cloned().collect(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `Cloned>` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 121 | / run!([20] -> [210]; [INFO] [stdout] 122 | | 0 => { [INFO] [stdout] 123 | | JSR, 0x34, 0x12, [INFO] [stdout] 124 | | LDA_IMMEDIATE, 1u8, [INFO] [stdout] ... | [INFO] [stdout] 135 | | } [INFO] [stdout] 136 | | ); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as Iterator>::Item = &_` [INFO] [stdout] which is required by `Cloned>: Iterator` [INFO] [stdout] `Cloned>: Iterator` [INFO] [stdout] which is required by `&mut Cloned>: Iterator` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as Iterator>::Item == &_` [INFO] [stdout] --> tests/simple_programs.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | let params: Vec = $params.into_iter().cloned().collect(); [INFO] [stdout] | ^^^^^^ expected integer, found reference [INFO] [stdout] ... [INFO] [stdout] 141 | / run!([11] -> [89]; [INFO] [stdout] 142 | | LDX_IMMEDIATE, 0x01u8, [INFO] [stdout] 143 | | STX_ZERO_PAGE, 0xefu8, [INFO] [stdout] 144 | | SEC, [INFO] [stdout] ... | [INFO] [stdout] 160 | | STA_ABSOLUTE, HALT_ADDRESS, 0 [INFO] [stdout] 161 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `{integer}` [INFO] [stdout] found reference `&_` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `Cloned>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/simple_programs.rs:15:60 [INFO] [stdout] | [INFO] [stdout] 15 | let params: Vec = $params.into_iter().cloned().collect(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `Cloned>` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 141 | / run!([11] -> [89]; [INFO] [stdout] 142 | | LDX_IMMEDIATE, 0x01u8, [INFO] [stdout] 143 | | STX_ZERO_PAGE, 0xefu8, [INFO] [stdout] 144 | | SEC, [INFO] [stdout] ... | [INFO] [stdout] 160 | | STA_ABSOLUTE, HALT_ADDRESS, 0 [INFO] [stdout] 161 | | ); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as Iterator>::Item = &_` [INFO] [stdout] which is required by `Cloned>: Iterator` [INFO] [stdout] `Cloned>: Iterator` [INFO] [stdout] which is required by `&mut Cloned>: Iterator` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as Iterator>::Item == &_` [INFO] [stdout] --> tests/simple_programs.rs:16:55 [INFO] [stdout] | [INFO] [stdout] 16 | let expected: Vec = $expected.into_iter().cloned().collect(); [INFO] [stdout] | ^^^^^^ expected integer, found reference [INFO] [stdout] ... [INFO] [stdout] 141 | / run!([11] -> [89]; [INFO] [stdout] 142 | | LDX_IMMEDIATE, 0x01u8, [INFO] [stdout] 143 | | STX_ZERO_PAGE, 0xefu8, [INFO] [stdout] 144 | | SEC, [INFO] [stdout] ... | [INFO] [stdout] 160 | | STA_ABSOLUTE, HALT_ADDRESS, 0 [INFO] [stdout] 161 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected type `{integer}` [INFO] [stdout] found reference `&_` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `Cloned>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/simple_programs.rs:16:64 [INFO] [stdout] | [INFO] [stdout] 16 | let expected: Vec = $expected.into_iter().cloned().collect(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `Cloned>` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 141 | / run!([11] -> [89]; [INFO] [stdout] 142 | | LDX_IMMEDIATE, 0x01u8, [INFO] [stdout] 143 | | STX_ZERO_PAGE, 0xefu8, [INFO] [stdout] 144 | | SEC, [INFO] [stdout] ... | [INFO] [stdout] 160 | | STA_ABSOLUTE, HALT_ADDRESS, 0 [INFO] [stdout] 161 | | ); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as Iterator>::Item = &_` [INFO] [stdout] which is required by `Cloned>: Iterator` [INFO] [stdout] `Cloned>: Iterator` [INFO] [stdout] which is required by `&mut Cloned>: Iterator` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nes-rust` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "56684d15f345e08d8653d8ad5417204e55160b83104b8e883ceb0812de606a2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56684d15f345e08d8653d8ad5417204e55160b83104b8e883ceb0812de606a2e", kill_on_drop: false }` [INFO] [stdout] 56684d15f345e08d8653d8ad5417204e55160b83104b8e883ceb0812de606a2e