[INFO] updating cached repository https://github.com/seemk/libz80-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0a24d459e207116a9d0e1837ef69df21a974ce24 [INFO] testing seemk/libz80-rs against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseemk%2Flibz80-rs" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/seemk/libz80-rs on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/seemk/libz80-rs [INFO] finished tweaking git repo https://github.com/seemk/libz80-rs [INFO] tweaked toml for git repo https://github.com/seemk/libz80-rs written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/seemk/libz80-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-8/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88c020342e39a04c7fc5782211ad22f99d0b0a807f70a95cc1750c1efda9330d [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" "88c020342e39a04c7fc5782211ad22f99d0b0a807f70a95cc1750c1efda9330d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88c020342e39a04c7fc5782211ad22f99d0b0a807f70a95cc1750c1efda9330d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88c020342e39a04c7fc5782211ad22f99d0b0a807f70a95cc1750c1efda9330d", kill_on_drop: false }` [INFO] [stdout] 88c020342e39a04c7fc5782211ad22f99d0b0a807f70a95cc1750c1efda9330d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1efeceb15fc2efd4cac199cd63eb0cea540b73c1f436bc6aab9ff0770127dc4 [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" "d1efeceb15fc2efd4cac199cd63eb0cea540b73c1f436bc6aab9ff0770127dc4", kill_on_drop: false }` [INFO] [stderr] Compiling libz80-rs v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unknown lint: `uppercase_variables` [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | #[allow(uppercase_variables)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `uppercase_variables` [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | #[allow(uppercase_variables)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `AF` should have a snake case name [INFO] [stdout] --> src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub AF: c_ushort, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `af` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `BC` should have a snake case name [INFO] [stdout] --> src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub BC: c_ushort, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `bc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `DE` should have a snake case name [INFO] [stdout] --> src/lib.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub DE: c_ushort, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `de` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `HL` should have a snake case name [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub HL: c_ushort, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `hl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IX` should have a snake case name [INFO] [stdout] --> src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub IX: c_ushort, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `ix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IY` should have a snake case name [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub IY: c_ushort, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `iy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SP` should have a snake case name [INFO] [stdout] --> src/lib.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub SP: c_ushort, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `R1` should have a snake case name [INFO] [stdout] --> src/lib.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub R1: Registers, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `R2` should have a snake case name [INFO] [stdout] --> src/lib.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub R2: Registers, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `r2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PC` should have a snake case name [INFO] [stdout] --> src/lib.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub PC: c_ushort, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `R` should have a snake case name [INFO] [stdout] --> src/lib.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub R: c_uchar, [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `I` should have a snake case name [INFO] [stdout] --> src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub I: c_uchar, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IFF1` should have a snake case name [INFO] [stdout] --> src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub IFF1: c_uchar, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `iff1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IFF2` should have a snake case name [INFO] [stdout] --> src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub IFF2: c_uchar, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `iff2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IM` should have a snake case name [INFO] [stdout] --> src/lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub IM: c_uchar, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `im` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_AF1` should have a snake case name [INFO] [stdout] --> src/lib.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | reg_access!(set_AF1, get_AF1, AF, R1, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `set_af1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_AF1` should have a snake case name [INFO] [stdout] --> src/lib.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | reg_access!(set_AF1, get_AF1, AF, R1, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_af1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_BC1` should have a snake case name [INFO] [stdout] --> src/lib.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | reg_access!(set_BC1, get_BC1, BC, R1, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `set_bc1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_BC1` should have a snake case name [INFO] [stdout] --> src/lib.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | reg_access!(set_BC1, get_BC1, BC, R1, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_bc1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_DE1` should have a snake case name [INFO] [stdout] --> src/lib.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | reg_access!(set_DE1, get_DE1, DE, R1, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `set_de1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_DE1` should have a snake case name [INFO] [stdout] --> src/lib.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | reg_access!(set_DE1, get_DE1, DE, R1, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_de1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_HL1` should have a snake case name [INFO] [stdout] --> src/lib.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | reg_access!(set_HL1, get_HL1, HL, R1, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `set_hl1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_HL1` should have a snake case name [INFO] [stdout] --> src/lib.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | reg_access!(set_HL1, get_HL1, HL, R1, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_hl1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_AF2` should have a snake case name [INFO] [stdout] --> src/lib.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | reg_access!(set_AF2, get_AF2, AF, R2, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `set_af2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_AF2` should have a snake case name [INFO] [stdout] --> src/lib.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | reg_access!(set_AF2, get_AF2, AF, R2, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_af2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_BC2` should have a snake case name [INFO] [stdout] --> src/lib.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | reg_access!(set_BC2, get_BC2, BC, R2, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `set_bc2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_BC2` should have a snake case name [INFO] [stdout] --> src/lib.rs:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | reg_access!(set_BC2, get_BC2, BC, R2, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_bc2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_DE2` should have a snake case name [INFO] [stdout] --> src/lib.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | reg_access!(set_DE2, get_DE2, DE, R2, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `set_de2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_DE2` should have a snake case name [INFO] [stdout] --> src/lib.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | reg_access!(set_DE2, get_DE2, DE, R2, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_de2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_HL2` should have a snake case name [INFO] [stdout] --> src/lib.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | reg_access!(set_HL2, get_HL2, HL, R2, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `set_hl2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_HL2` should have a snake case name [INFO] [stdout] --> src/lib.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | reg_access!(set_HL2, get_HL2, HL, R2, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_hl2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_IY` should have a snake case name [INFO] [stdout] --> src/lib.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | reg_access!(set_IY, get_IY, IY, R1, u16); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `set_iy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_IY` should have a snake case name [INFO] [stdout] --> src/lib.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | reg_access!(set_IY, get_IY, IY, R1, u16); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_iy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_IX` should have a snake case name [INFO] [stdout] --> src/lib.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | reg_access!(set_IX, get_IX, IX, R1, u16); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `set_ix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_IX` should have a snake case name [INFO] [stdout] --> src/lib.rs:103:22 [INFO] [stdout] | [INFO] [stdout] 103 | reg_access!(set_IX, get_IX, IX, R1, u16); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_ix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_SP` should have a snake case name [INFO] [stdout] --> src/lib.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | reg_access!(set_SP, get_SP, SP, R1, u16); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `set_sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_SP` should have a snake case name [INFO] [stdout] --> src/lib.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | reg_access!(set_SP, get_SP, SP, R1, u16); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `UserData`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:174:24 [INFO] [stdout] | [INFO] [stdout] 174 | fn Z80Execute(ctx: *mut Context); [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct UserData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `UserData`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:175:31 [INFO] [stdout] | [INFO] [stdout] 175 | fn Z80ExecuteTStates(ctx: *mut Context, tstates: c_uint) -> [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct UserData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `UserData`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:178:22 [INFO] [stdout] | [INFO] [stdout] 178 | fn Z80RESET(ctx: *mut Context); [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct UserData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `UserData`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:179:20 [INFO] [stdout] | [INFO] [stdout] 179 | fn Z80INT(ctx: *mut Context, value: c_uchar); [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct UserData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `UserData`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:180:20 [INFO] [stdout] | [INFO] [stdout] 180 | fn Z80NMI(ctx: *mut Context); [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct UserData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "d1efeceb15fc2efd4cac199cd63eb0cea540b73c1f436bc6aab9ff0770127dc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1efeceb15fc2efd4cac199cd63eb0cea540b73c1f436bc6aab9ff0770127dc4", kill_on_drop: false }` [INFO] [stdout] d1efeceb15fc2efd4cac199cd63eb0cea540b73c1f436bc6aab9ff0770127dc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfb6780d3618711e33d0912cfc349a11ce5c6fa146f4d4e9ace8dabf6ac817e1 [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" "dfb6780d3618711e33d0912cfc349a11ce5c6fa146f4d4e9ace8dabf6ac817e1", kill_on_drop: false }` [INFO] [stderr] Compiling libz80-rs v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unknown lint: `uppercase_variables` [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | #[allow(uppercase_variables)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `uppercase_variables` [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | #[allow(uppercase_variables)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `AF` should have a snake case name [INFO] [stdout] --> src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub AF: c_ushort, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `af` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `BC` should have a snake case name [INFO] [stdout] --> src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub BC: c_ushort, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `bc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `DE` should have a snake case name [INFO] [stdout] --> src/lib.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub DE: c_ushort, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `de` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `HL` should have a snake case name [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub HL: c_ushort, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `hl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IX` should have a snake case name [INFO] [stdout] --> src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub IX: c_ushort, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `ix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IY` should have a snake case name [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub IY: c_ushort, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `iy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SP` should have a snake case name [INFO] [stdout] --> src/lib.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub SP: c_ushort, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `R1` should have a snake case name [INFO] [stdout] --> src/lib.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub R1: Registers, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `R2` should have a snake case name [INFO] [stdout] --> src/lib.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub R2: Registers, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `r2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PC` should have a snake case name [INFO] [stdout] --> src/lib.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub PC: c_ushort, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `R` should have a snake case name [INFO] [stdout] --> src/lib.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub R: c_uchar, [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `I` should have a snake case name [INFO] [stdout] --> src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub I: c_uchar, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IFF1` should have a snake case name [INFO] [stdout] --> src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub IFF1: c_uchar, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `iff1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IFF2` should have a snake case name [INFO] [stdout] --> src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub IFF2: c_uchar, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `iff2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IM` should have a snake case name [INFO] [stdout] --> src/lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub IM: c_uchar, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `im` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_AF1` should have a snake case name [INFO] [stdout] --> src/lib.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | reg_access!(set_AF1, get_AF1, AF, R1, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `set_af1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_AF1` should have a snake case name [INFO] [stdout] --> src/lib.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | reg_access!(set_AF1, get_AF1, AF, R1, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_af1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_BC1` should have a snake case name [INFO] [stdout] --> src/lib.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | reg_access!(set_BC1, get_BC1, BC, R1, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `set_bc1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_BC1` should have a snake case name [INFO] [stdout] --> src/lib.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | reg_access!(set_BC1, get_BC1, BC, R1, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_bc1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_DE1` should have a snake case name [INFO] [stdout] --> src/lib.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | reg_access!(set_DE1, get_DE1, DE, R1, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `set_de1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_DE1` should have a snake case name [INFO] [stdout] --> src/lib.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | reg_access!(set_DE1, get_DE1, DE, R1, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_de1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_HL1` should have a snake case name [INFO] [stdout] --> src/lib.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | reg_access!(set_HL1, get_HL1, HL, R1, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `set_hl1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_HL1` should have a snake case name [INFO] [stdout] --> src/lib.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | reg_access!(set_HL1, get_HL1, HL, R1, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_hl1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_AF2` should have a snake case name [INFO] [stdout] --> src/lib.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | reg_access!(set_AF2, get_AF2, AF, R2, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `set_af2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_AF2` should have a snake case name [INFO] [stdout] --> src/lib.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | reg_access!(set_AF2, get_AF2, AF, R2, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_af2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_BC2` should have a snake case name [INFO] [stdout] --> src/lib.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | reg_access!(set_BC2, get_BC2, BC, R2, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `set_bc2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_BC2` should have a snake case name [INFO] [stdout] --> src/lib.rs:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | reg_access!(set_BC2, get_BC2, BC, R2, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_bc2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_DE2` should have a snake case name [INFO] [stdout] --> src/lib.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | reg_access!(set_DE2, get_DE2, DE, R2, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `set_de2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_DE2` should have a snake case name [INFO] [stdout] --> src/lib.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | reg_access!(set_DE2, get_DE2, DE, R2, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_de2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_HL2` should have a snake case name [INFO] [stdout] --> src/lib.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | reg_access!(set_HL2, get_HL2, HL, R2, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `set_hl2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_HL2` should have a snake case name [INFO] [stdout] --> src/lib.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | reg_access!(set_HL2, get_HL2, HL, R2, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_hl2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_IY` should have a snake case name [INFO] [stdout] --> src/lib.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | reg_access!(set_IY, get_IY, IY, R1, u16); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `set_iy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_IY` should have a snake case name [INFO] [stdout] --> src/lib.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | reg_access!(set_IY, get_IY, IY, R1, u16); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_iy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_IX` should have a snake case name [INFO] [stdout] --> src/lib.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | reg_access!(set_IX, get_IX, IX, R1, u16); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `set_ix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_IX` should have a snake case name [INFO] [stdout] --> src/lib.rs:103:22 [INFO] [stdout] | [INFO] [stdout] 103 | reg_access!(set_IX, get_IX, IX, R1, u16); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_ix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_SP` should have a snake case name [INFO] [stdout] --> src/lib.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | reg_access!(set_SP, get_SP, SP, R1, u16); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `set_sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_SP` should have a snake case name [INFO] [stdout] --> src/lib.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | reg_access!(set_SP, get_SP, SP, R1, u16); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `UserData`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:174:24 [INFO] [stdout] | [INFO] [stdout] 174 | fn Z80Execute(ctx: *mut Context); [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct UserData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `UserData`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:175:31 [INFO] [stdout] | [INFO] [stdout] 175 | fn Z80ExecuteTStates(ctx: *mut Context, tstates: c_uint) -> [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct UserData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `UserData`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:178:22 [INFO] [stdout] | [INFO] [stdout] 178 | fn Z80RESET(ctx: *mut Context); [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct UserData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `UserData`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:179:20 [INFO] [stdout] | [INFO] [stdout] 179 | fn Z80INT(ctx: *mut Context, value: c_uchar); [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct UserData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `UserData`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:180:20 [INFO] [stdout] | [INFO] [stdout] 180 | fn Z80NMI(ctx: *mut Context); [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct UserData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `uppercase_variables` [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | #[allow(uppercase_variables)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `uppercase_variables` [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | #[allow(uppercase_variables)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `AF` should have a snake case name [INFO] [stdout] --> src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub AF: c_ushort, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `af` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `BC` should have a snake case name [INFO] [stdout] --> src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub BC: c_ushort, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `bc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `DE` should have a snake case name [INFO] [stdout] --> src/lib.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub DE: c_ushort, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `de` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `HL` should have a snake case name [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub HL: c_ushort, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `hl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IX` should have a snake case name [INFO] [stdout] --> src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub IX: c_ushort, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `ix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IY` should have a snake case name [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub IY: c_ushort, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `iy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SP` should have a snake case name [INFO] [stdout] --> src/lib.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub SP: c_ushort, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `R1` should have a snake case name [INFO] [stdout] --> src/lib.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub R1: Registers, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `R2` should have a snake case name [INFO] [stdout] --> src/lib.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub R2: Registers, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `r2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PC` should have a snake case name [INFO] [stdout] --> src/lib.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub PC: c_ushort, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `R` should have a snake case name [INFO] [stdout] --> src/lib.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub R: c_uchar, [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `I` should have a snake case name [INFO] [stdout] --> src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub I: c_uchar, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IFF1` should have a snake case name [INFO] [stdout] --> src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub IFF1: c_uchar, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `iff1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IFF2` should have a snake case name [INFO] [stdout] --> src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub IFF2: c_uchar, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `iff2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IM` should have a snake case name [INFO] [stdout] --> src/lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub IM: c_uchar, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `im` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_AF1` should have a snake case name [INFO] [stdout] --> src/lib.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | reg_access!(set_AF1, get_AF1, AF, R1, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `set_af1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_AF1` should have a snake case name [INFO] [stdout] --> src/lib.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | reg_access!(set_AF1, get_AF1, AF, R1, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_af1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_BC1` should have a snake case name [INFO] [stdout] --> src/lib.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | reg_access!(set_BC1, get_BC1, BC, R1, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `set_bc1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_BC1` should have a snake case name [INFO] [stdout] --> src/lib.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | reg_access!(set_BC1, get_BC1, BC, R1, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_bc1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_DE1` should have a snake case name [INFO] [stdout] --> src/lib.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | reg_access!(set_DE1, get_DE1, DE, R1, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `set_de1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_DE1` should have a snake case name [INFO] [stdout] --> src/lib.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | reg_access!(set_DE1, get_DE1, DE, R1, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_de1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_HL1` should have a snake case name [INFO] [stdout] --> src/lib.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | reg_access!(set_HL1, get_HL1, HL, R1, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `set_hl1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_HL1` should have a snake case name [INFO] [stdout] --> src/lib.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | reg_access!(set_HL1, get_HL1, HL, R1, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_hl1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_AF2` should have a snake case name [INFO] [stdout] --> src/lib.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | reg_access!(set_AF2, get_AF2, AF, R2, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `set_af2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_AF2` should have a snake case name [INFO] [stdout] --> src/lib.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | reg_access!(set_AF2, get_AF2, AF, R2, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_af2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_BC2` should have a snake case name [INFO] [stdout] --> src/lib.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | reg_access!(set_BC2, get_BC2, BC, R2, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `set_bc2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_BC2` should have a snake case name [INFO] [stdout] --> src/lib.rs:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | reg_access!(set_BC2, get_BC2, BC, R2, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_bc2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_DE2` should have a snake case name [INFO] [stdout] --> src/lib.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | reg_access!(set_DE2, get_DE2, DE, R2, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `set_de2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_DE2` should have a snake case name [INFO] [stdout] --> src/lib.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | reg_access!(set_DE2, get_DE2, DE, R2, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_de2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_HL2` should have a snake case name [INFO] [stdout] --> src/lib.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | reg_access!(set_HL2, get_HL2, HL, R2, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `set_hl2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_HL2` should have a snake case name [INFO] [stdout] --> src/lib.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | reg_access!(set_HL2, get_HL2, HL, R2, u16); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_hl2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_IY` should have a snake case name [INFO] [stdout] --> src/lib.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | reg_access!(set_IY, get_IY, IY, R1, u16); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `set_iy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_IY` should have a snake case name [INFO] [stdout] --> src/lib.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | reg_access!(set_IY, get_IY, IY, R1, u16); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_iy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_IX` should have a snake case name [INFO] [stdout] --> src/lib.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | reg_access!(set_IX, get_IX, IX, R1, u16); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `set_ix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_IX` should have a snake case name [INFO] [stdout] --> src/lib.rs:103:22 [INFO] [stdout] | [INFO] [stdout] 103 | reg_access!(set_IX, get_IX, IX, R1, u16); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_ix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_SP` should have a snake case name [INFO] [stdout] --> src/lib.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | reg_access!(set_SP, get_SP, SP, R1, u16); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `set_sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_SP` should have a snake case name [INFO] [stdout] --> src/lib.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | reg_access!(set_SP, get_SP, SP, R1, u16); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `UserData`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:174:24 [INFO] [stdout] | [INFO] [stdout] 174 | fn Z80Execute(ctx: *mut Context); [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct UserData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `UserData`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:175:31 [INFO] [stdout] | [INFO] [stdout] 175 | fn Z80ExecuteTStates(ctx: *mut Context, tstates: c_uint) -> [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct UserData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `UserData`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:178:22 [INFO] [stdout] | [INFO] [stdout] 178 | fn Z80RESET(ctx: *mut Context); [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct UserData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `UserData`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:179:20 [INFO] [stdout] | [INFO] [stdout] 179 | fn Z80INT(ctx: *mut Context, value: c_uchar); [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct UserData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `UserData`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:180:20 [INFO] [stdout] | [INFO] [stdout] 180 | fn Z80NMI(ctx: *mut Context); [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct UserData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/z80-bf4ca11425f9ebc1.z80.d2u2aftg-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/z80-bf4ca11425f9ebc1.z80.d2u2aftg-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/z80-bf4ca11425f9ebc1.z80.d2u2aftg-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/z80-bf4ca11425f9ebc1.z80.d2u2aftg-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/z80-bf4ca11425f9ebc1.z80.d2u2aftg-cgu.4.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/z80-bf4ca11425f9ebc1" "/opt/rustwide/target/debug/deps/z80-bf4ca11425f9ebc1.3pw0ecnlg2nnrshn.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lz80" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-12320b97c89568cd.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-700356192fffd298.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-b7642fe67be89b55.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-5281c8ee01ffdf7b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-a4e3948fb2172e36.rlib" "/opt/rustwide/target/debug/deps/liblibc-1da13201d615d981.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-d66e0ceb8eaec9b8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-9717ec0599b569a0.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-04369de9ba916647.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-997d622c2e4dbe5c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-0359c4288a5ef89f.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-1b25ede22d698ab3.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-37940b486a68e488.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-06b77c27e794c7c6.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-4d07e02a8df36da1.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-fb29e0695c0a0f79.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e16188b4cf97e8bb.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-5eb391c8dabdee77.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-b0689b528b222bee.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ed072ac495e62e7a.rlib" "-Wl,-Bdynamic" "-lutil" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lz80 [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libz80-rs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "dfb6780d3618711e33d0912cfc349a11ce5c6fa146f4d4e9ace8dabf6ac817e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfb6780d3618711e33d0912cfc349a11ce5c6fa146f4d4e9ace8dabf6ac817e1", kill_on_drop: false }` [INFO] [stdout] dfb6780d3618711e33d0912cfc349a11ce5c6fa146f4d4e9ace8dabf6ac817e1