[INFO] cloning repository https://github.com/wwared/rgb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wwared/rgb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwwared%2Frgb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwwared%2Frgb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d63ec1874cb333fadf6067622487425f53512930 [INFO] checking wwared/rgb against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwwared%2Frgb" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wwared/rgb on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wwared/rgb [INFO] finished tweaking git repo https://github.com/wwared/rgb [INFO] tweaked toml for git repo https://github.com/wwared/rgb written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wwared/rgb 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a3a9eb7887b7b5b9b7f51ff99301e4be2d8f0fa9a6d52536804eede40d09620 [INFO] running `Command { std: "docker" "start" "-a" "8a3a9eb7887b7b5b9b7f51ff99301e4be2d8f0fa9a6d52536804eede40d09620", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a3a9eb7887b7b5b9b7f51ff99301e4be2d8f0fa9a6d52536804eede40d09620", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a3a9eb7887b7b5b9b7f51ff99301e4be2d8f0fa9a6d52536804eede40d09620", kill_on_drop: false }` [INFO] [stdout] 8a3a9eb7887b7b5b9b7f51ff99301e4be2d8f0fa9a6d52536804eede40d09620 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b7cea334ac7778abc1e4b1262f12ccad1d158ec0041cd959b77fdeff5d0dd5f [INFO] running `Command { std: "docker" "start" "-a" "8b7cea334ac7778abc1e4b1262f12ccad1d158ec0041cd959b77fdeff5d0dd5f", kill_on_drop: false }` [INFO] [stderr] Checking rgb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:820:19 [INFO] [stdout] | [INFO] [stdout] 820 | cpu.regs.pc = 0; [INFO] [stdout] | ----------- ^ expected `Wrapping`, found integer [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Wrapping` [INFO] [stdout] found type `{integer}` [INFO] [stdout] help: try wrapping the expression in `std::num::Wrapping` [INFO] [stdout] | [INFO] [stdout] 820 | cpu.regs.pc = std::num::Wrapping(0); [INFO] [stdout] | +++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:822:22 [INFO] [stdout] | [INFO] [stdout] 822 | cpu.mem.write8(cpu.regs.pc, opcode as u8); [INFO] [stdout] | ------ ^^^^^^^^^^^ expected `u16`, found `Wrapping` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `u16` [INFO] [stdout] found struct `Wrapping` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/mem.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | fn write8(&mut self, pos: u16, val: u8) { [INFO] [stdout] | ^^^^^^ -------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:825:19 [INFO] [stdout] | [INFO] [stdout] 825 | cpu.regs.pc = 0; [INFO] [stdout] | ----------- ^ expected `Wrapping`, found integer [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Wrapping` [INFO] [stdout] found type `{integer}` [INFO] [stdout] help: try wrapping the expression in `std::num::Wrapping` [INFO] [stdout] | [INFO] [stdout] 825 | cpu.regs.pc = std::num::Wrapping(0); [INFO] [stdout] | +++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:842:19 [INFO] [stdout] | [INFO] [stdout] 842 | cpu.regs.pc = 0; [INFO] [stdout] | ----------- ^ expected `Wrapping`, found integer [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Wrapping` [INFO] [stdout] found type `{integer}` [INFO] [stdout] help: try wrapping the expression in `std::num::Wrapping` [INFO] [stdout] | [INFO] [stdout] 842 | cpu.regs.pc = std::num::Wrapping(0); [INFO] [stdout] | +++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:844:22 [INFO] [stdout] | [INFO] [stdout] 844 | cpu.mem.write8(cpu.regs.pc, 0xCB as u8); [INFO] [stdout] | ------ ^^^^^^^^^^^ expected `u16`, found `Wrapping` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `u16` [INFO] [stdout] found struct `Wrapping` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/mem.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | fn write8(&mut self, pos: u16, val: u8) { [INFO] [stdout] | ^^^^^^ -------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:846:22 [INFO] [stdout] | [INFO] [stdout] 846 | cpu.mem.write8(cpu.regs.pc, opcode as u8); [INFO] [stdout] | ------ ^^^^^^^^^^^ expected `u16`, found `Wrapping` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `u16` [INFO] [stdout] found struct `Wrapping` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/mem.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | fn write8(&mut self, pos: u16, val: u8) { [INFO] [stdout] | ^^^^^^ -------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:849:19 [INFO] [stdout] | [INFO] [stdout] 849 | cpu.regs.pc = 0; [INFO] [stdout] | ----------- ^ expected `Wrapping`, found integer [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Wrapping` [INFO] [stdout] found type `{integer}` [INFO] [stdout] help: try wrapping the expression in `std::num::Wrapping` [INFO] [stdout] | [INFO] [stdout] 849 | cpu.regs.pc = std::num::Wrapping(0); [INFO] [stdout] | +++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:870:20 [INFO] [stdout] | [INFO] [stdout] 870 | cpu.mem.write8(cpu.regs.pc, 0); [INFO] [stdout] | ------ ^^^^^^^^^^^ expected `u16`, found `Wrapping` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `u16` [INFO] [stdout] found struct `Wrapping` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/mem.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | fn write8(&mut self, pos: u16, val: u8) { [INFO] [stdout] | ^^^^^^ -------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/cpu.rs:902:16 [INFO] [stdout] | [INFO] [stdout] 902 | assert_eq!(concat_u8(0, 0), 0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: expected `Wrapping`, found integer [INFO] [stdout] --> src/cpu.rs:902:26 [INFO] [stdout] | [INFO] [stdout] 902 | assert_eq!(concat_u8(0, 0), 0); [INFO] [stdout] | ^ [INFO] [stdout] = note: expected struct `Wrapping` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: expected `Wrapping`, found integer [INFO] [stdout] --> src/cpu.rs:902:29 [INFO] [stdout] | [INFO] [stdout] 902 | assert_eq!(concat_u8(0, 0), 0); [INFO] [stdout] | ^ [INFO] [stdout] = note: expected struct `Wrapping` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/cpu.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn concat_u8(h: W, l: W) -> W { [INFO] [stdout] | ^^^^^^^^^ -------- -------- [INFO] [stdout] help: try wrapping the expression in `std::num::Wrapping` [INFO] [stdout] | [INFO] [stdout] 902 | assert_eq!(concat_u8(std::num::Wrapping(0), 0), 0); [INFO] [stdout] | +++++++++++++++++++ + [INFO] [stdout] help: try wrapping the expression in `std::num::Wrapping` [INFO] [stdout] | [INFO] [stdout] 902 | assert_eq!(concat_u8(0, std::num::Wrapping(0)), 0); [INFO] [stdout] | +++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:902:33 [INFO] [stdout] | [INFO] [stdout] 902 | assert_eq!(concat_u8(0, 0), 0); [INFO] [stdout] | ^ expected `Wrapping`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Wrapping` [INFO] [stdout] found type `{integer}` [INFO] [stdout] help: try wrapping the expression in `std::num::Wrapping` [INFO] [stdout] | [INFO] [stdout] 902 | assert_eq!(concat_u8(0, 0), std::num::Wrapping(0)); [INFO] [stdout] | +++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/cpu.rs:903:16 [INFO] [stdout] | [INFO] [stdout] 903 | assert_eq!(concat_u8(0xFF, 0), 0xFF00); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: expected `Wrapping`, found integer [INFO] [stdout] --> src/cpu.rs:903:26 [INFO] [stdout] | [INFO] [stdout] 903 | assert_eq!(concat_u8(0xFF, 0), 0xFF00); [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: expected struct `Wrapping` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: expected `Wrapping`, found integer [INFO] [stdout] --> src/cpu.rs:903:32 [INFO] [stdout] | [INFO] [stdout] 903 | assert_eq!(concat_u8(0xFF, 0), 0xFF00); [INFO] [stdout] | ^ [INFO] [stdout] = note: expected struct `Wrapping` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/cpu.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn concat_u8(h: W, l: W) -> W { [INFO] [stdout] | ^^^^^^^^^ -------- -------- [INFO] [stdout] help: try wrapping the expression in `std::num::Wrapping` [INFO] [stdout] | [INFO] [stdout] 903 | assert_eq!(concat_u8(std::num::Wrapping(0xFF), 0), 0xFF00); [INFO] [stdout] | +++++++++++++++++++ + [INFO] [stdout] help: try wrapping the expression in `std::num::Wrapping` [INFO] [stdout] | [INFO] [stdout] 903 | assert_eq!(concat_u8(0xFF, std::num::Wrapping(0)), 0xFF00); [INFO] [stdout] | +++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:903:36 [INFO] [stdout] | [INFO] [stdout] 903 | assert_eq!(concat_u8(0xFF, 0), 0xFF00); [INFO] [stdout] | ^^^^^^ expected `Wrapping`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Wrapping` [INFO] [stdout] found type `{integer}` [INFO] [stdout] help: try wrapping the expression in `std::num::Wrapping` [INFO] [stdout] | [INFO] [stdout] 903 | assert_eq!(concat_u8(0xFF, 0), std::num::Wrapping(0xFF00)); [INFO] [stdout] | +++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/cpu.rs:904:16 [INFO] [stdout] | [INFO] [stdout] 904 | assert_eq!(concat_u8(0, 0xFF), 0xFF); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: expected `Wrapping`, found integer [INFO] [stdout] --> src/cpu.rs:904:26 [INFO] [stdout] | [INFO] [stdout] 904 | assert_eq!(concat_u8(0, 0xFF), 0xFF); [INFO] [stdout] | ^ [INFO] [stdout] = note: expected struct `Wrapping` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: expected `Wrapping`, found integer [INFO] [stdout] --> src/cpu.rs:904:29 [INFO] [stdout] | [INFO] [stdout] 904 | assert_eq!(concat_u8(0, 0xFF), 0xFF); [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: expected struct `Wrapping` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/cpu.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn concat_u8(h: W, l: W) -> W { [INFO] [stdout] | ^^^^^^^^^ -------- -------- [INFO] [stdout] help: try wrapping the expression in `std::num::Wrapping` [INFO] [stdout] | [INFO] [stdout] 904 | assert_eq!(concat_u8(std::num::Wrapping(0), 0xFF), 0xFF); [INFO] [stdout] | +++++++++++++++++++ + [INFO] [stdout] help: try wrapping the expression in `std::num::Wrapping` [INFO] [stdout] | [INFO] [stdout] 904 | assert_eq!(concat_u8(0, std::num::Wrapping(0xFF)), 0xFF); [INFO] [stdout] | +++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:904:36 [INFO] [stdout] | [INFO] [stdout] 904 | assert_eq!(concat_u8(0, 0xFF), 0xFF); [INFO] [stdout] | ^^^^ expected `Wrapping`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Wrapping` [INFO] [stdout] found type `{integer}` [INFO] [stdout] help: try wrapping the expression in `std::num::Wrapping` [INFO] [stdout] | [INFO] [stdout] 904 | assert_eq!(concat_u8(0, 0xFF), std::num::Wrapping(0xFF)); [INFO] [stdout] | +++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/cpu.rs:905:16 [INFO] [stdout] | [INFO] [stdout] 905 | assert_eq!(concat_u8(0xFF, 0xFF), 0xFFFF); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: expected `Wrapping`, found integer [INFO] [stdout] --> src/cpu.rs:905:26 [INFO] [stdout] | [INFO] [stdout] 905 | assert_eq!(concat_u8(0xFF, 0xFF), 0xFFFF); [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: expected struct `Wrapping` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: expected `Wrapping`, found integer [INFO] [stdout] --> src/cpu.rs:905:32 [INFO] [stdout] | [INFO] [stdout] 905 | assert_eq!(concat_u8(0xFF, 0xFF), 0xFFFF); [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: expected struct `Wrapping` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/cpu.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn concat_u8(h: W, l: W) -> W { [INFO] [stdout] | ^^^^^^^^^ -------- -------- [INFO] [stdout] help: try wrapping the expression in `std::num::Wrapping` [INFO] [stdout] | [INFO] [stdout] 905 | assert_eq!(concat_u8(std::num::Wrapping(0xFF), 0xFF), 0xFFFF); [INFO] [stdout] | +++++++++++++++++++ + [INFO] [stdout] help: try wrapping the expression in `std::num::Wrapping` [INFO] [stdout] | [INFO] [stdout] 905 | assert_eq!(concat_u8(0xFF, std::num::Wrapping(0xFF)), 0xFFFF); [INFO] [stdout] | +++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:905:39 [INFO] [stdout] | [INFO] [stdout] 905 | assert_eq!(concat_u8(0xFF, 0xFF), 0xFFFF); [INFO] [stdout] | ^^^^^^ expected `Wrapping`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Wrapping` [INFO] [stdout] found type `{integer}` [INFO] [stdout] help: try wrapping the expression in `std::num::Wrapping` [INFO] [stdout] | [INFO] [stdout] 905 | assert_eq!(concat_u8(0xFF, 0xFF), std::num::Wrapping(0xFFFF)); [INFO] [stdout] | +++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/cpu.rs:906:16 [INFO] [stdout] | [INFO] [stdout] 906 | assert_eq!(concat_u8(0x12, 0x34), 0x1234); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: expected `Wrapping`, found integer [INFO] [stdout] --> src/cpu.rs:906:26 [INFO] [stdout] | [INFO] [stdout] 906 | assert_eq!(concat_u8(0x12, 0x34), 0x1234); [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: expected struct `Wrapping` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: expected `Wrapping`, found integer [INFO] [stdout] --> src/cpu.rs:906:32 [INFO] [stdout] | [INFO] [stdout] 906 | assert_eq!(concat_u8(0x12, 0x34), 0x1234); [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: expected struct `Wrapping` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/cpu.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn concat_u8(h: W, l: W) -> W { [INFO] [stdout] | ^^^^^^^^^ -------- -------- [INFO] [stdout] help: try wrapping the expression in `std::num::Wrapping` [INFO] [stdout] | [INFO] [stdout] 906 | assert_eq!(concat_u8(std::num::Wrapping(0x12), 0x34), 0x1234); [INFO] [stdout] | +++++++++++++++++++ + [INFO] [stdout] help: try wrapping the expression in `std::num::Wrapping` [INFO] [stdout] | [INFO] [stdout] 906 | assert_eq!(concat_u8(0x12, std::num::Wrapping(0x34)), 0x1234); [INFO] [stdout] | +++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:906:39 [INFO] [stdout] | [INFO] [stdout] 906 | assert_eq!(concat_u8(0x12, 0x34), 0x1234); [INFO] [stdout] | ^^^^^^ expected `Wrapping`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Wrapping` [INFO] [stdout] found type `{integer}` [INFO] [stdout] help: try wrapping the expression in `std::num::Wrapping` [INFO] [stdout] | [INFO] [stdout] 906 | assert_eq!(concat_u8(0x12, 0x34), std::num::Wrapping(0x1234)); [INFO] [stdout] | +++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:911:26 [INFO] [stdout] | [INFO] [stdout] 911 | assert_eq!(break_u16(0xFFFF), (0xFF, 0xFF)); [INFO] [stdout] | --------- ^^^^^^ expected `Wrapping`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Wrapping` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/cpu.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 179 | fn break_u16(val: W) -> (W, W) { [INFO] [stdout] | ^^^^^^^^^ ----------- [INFO] [stdout] help: try wrapping the expression in `std::num::Wrapping` [INFO] [stdout] | [INFO] [stdout] 911 | assert_eq!(break_u16(std::num::Wrapping(0xFFFF)), (0xFF, 0xFF)); [INFO] [stdout] | +++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:911:35 [INFO] [stdout] | [INFO] [stdout] 911 | assert_eq!(break_u16(0xFFFF), (0xFF, 0xFF)); [INFO] [stdout] | ^^^^^^^^^^^^ expected `(Wrapping, Wrapping)`, found `({integer}, {integer})` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(Wrapping, Wrapping)` [INFO] [stdout] found tuple `({integer}, {integer})` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:912:26 [INFO] [stdout] | [INFO] [stdout] 912 | assert_eq!(break_u16(0x1234), (0x12, 0x34)); [INFO] [stdout] | --------- ^^^^^^ expected `Wrapping`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Wrapping` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/cpu.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 179 | fn break_u16(val: W) -> (W, W) { [INFO] [stdout] | ^^^^^^^^^ ----------- [INFO] [stdout] help: try wrapping the expression in `std::num::Wrapping` [INFO] [stdout] | [INFO] [stdout] 912 | assert_eq!(break_u16(std::num::Wrapping(0x1234)), (0x12, 0x34)); [INFO] [stdout] | +++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:912:35 [INFO] [stdout] | [INFO] [stdout] 912 | assert_eq!(break_u16(0x1234), (0x12, 0x34)); [INFO] [stdout] | ^^^^^^^^^^^^ expected `(Wrapping, Wrapping)`, found `({integer}, {integer})` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(Wrapping, Wrapping)` [INFO] [stdout] found tuple `({integer}, {integer})` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:913:26 [INFO] [stdout] | [INFO] [stdout] 913 | assert_eq!(break_u16(0), (0, 0)); [INFO] [stdout] | --------- ^ expected `Wrapping`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Wrapping` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/cpu.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 179 | fn break_u16(val: W) -> (W, W) { [INFO] [stdout] | ^^^^^^^^^ ----------- [INFO] [stdout] help: try wrapping the expression in `std::num::Wrapping` [INFO] [stdout] | [INFO] [stdout] 913 | assert_eq!(break_u16(std::num::Wrapping(0)), (0, 0)); [INFO] [stdout] | +++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:913:30 [INFO] [stdout] | [INFO] [stdout] 913 | assert_eq!(break_u16(0), (0, 0)); [INFO] [stdout] | ^^^^^^ expected `(Wrapping, Wrapping)`, found `({integer}, {integer})` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(Wrapping, Wrapping)` [INFO] [stdout] found tuple `({integer}, {integer})` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:914:26 [INFO] [stdout] | [INFO] [stdout] 914 | assert_eq!(break_u16(0xFF), (0, 0xFF)); [INFO] [stdout] | --------- ^^^^ expected `Wrapping`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Wrapping` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/cpu.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 179 | fn break_u16(val: W) -> (W, W) { [INFO] [stdout] | ^^^^^^^^^ ----------- [INFO] [stdout] help: try wrapping the expression in `std::num::Wrapping` [INFO] [stdout] | [INFO] [stdout] 914 | assert_eq!(break_u16(std::num::Wrapping(0xFF)), (0, 0xFF)); [INFO] [stdout] | +++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:914:33 [INFO] [stdout] | [INFO] [stdout] 914 | assert_eq!(break_u16(0xFF), (0, 0xFF)); [INFO] [stdout] | ^^^^^^^^^ expected `(Wrapping, Wrapping)`, found `({integer}, {integer})` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(Wrapping, Wrapping)` [INFO] [stdout] found tuple `({integer}, {integer})` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:915:26 [INFO] [stdout] | [INFO] [stdout] 915 | assert_eq!(break_u16(0xFF00), (0xFF, 0)); [INFO] [stdout] | --------- ^^^^^^ expected `Wrapping`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Wrapping` [INFO] [stdout] found type `{integer}` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/cpu.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 179 | fn break_u16(val: W) -> (W, W) { [INFO] [stdout] | ^^^^^^^^^ ----------- [INFO] [stdout] help: try wrapping the expression in `std::num::Wrapping` [INFO] [stdout] | [INFO] [stdout] 915 | assert_eq!(break_u16(std::num::Wrapping(0xFF00)), (0xFF, 0)); [INFO] [stdout] | +++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpu.rs:915:35 [INFO] [stdout] | [INFO] [stdout] 915 | assert_eq!(break_u16(0xFF00), (0xFF, 0)); [INFO] [stdout] | ^^^^^^^^^ expected `(Wrapping, Wrapping)`, found `({integer}, {integer})` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(Wrapping, Wrapping)` [INFO] [stdout] found tuple `({integer}, {integer})` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rgb` (bin "rgb" test) due to 29 previous errors [INFO] running `Command { std: "docker" "inspect" "8b7cea334ac7778abc1e4b1262f12ccad1d158ec0041cd959b77fdeff5d0dd5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b7cea334ac7778abc1e4b1262f12ccad1d158ec0041cd959b77fdeff5d0dd5f", kill_on_drop: false }` [INFO] [stdout] 8b7cea334ac7778abc1e4b1262f12ccad1d158ec0041cd959b77fdeff5d0dd5f