[INFO] cloning repository https://github.com/Treeki/mpw-emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Treeki/mpw-emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTreeki%2Fmpw-emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTreeki%2Fmpw-emu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a0d23d515987ae5b486da9430e0b78a02ac93b4f [INFO] checking Treeki/mpw-emu against try#6619027b13a87a3597115f2c8231f107bf3a7a5f for pr-139624 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTreeki%2Fmpw-emu" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Treeki/mpw-emu on toolchain 6619027b13a87a3597115f2c8231f107bf3a7a5f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6619027b13a87a3597115f2c8231f107bf3a7a5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Treeki/mpw-emu [INFO] finished tweaking git repo https://github.com/Treeki/mpw-emu [INFO] tweaked toml for git repo https://github.com/Treeki/mpw-emu written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Treeki/mpw-emu 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" "+6619027b13a87a3597115f2c8231f107bf3a7a5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.55 [INFO] [stderr] Downloaded bimap v0.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+6619027b13a87a3597115f2c8231f107bf3a7a5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 396d797fcb109952d56f9015090cbc42841c357dc564afb40fb860f516ee77ed [INFO] running `Command { std: "docker" "start" "-a" "396d797fcb109952d56f9015090cbc42841c357dc564afb40fb860f516ee77ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "396d797fcb109952d56f9015090cbc42841c357dc564afb40fb860f516ee77ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "396d797fcb109952d56f9015090cbc42841c357dc564afb40fb860f516ee77ed", kill_on_drop: false }` [INFO] [stdout] 396d797fcb109952d56f9015090cbc42841c357dc564afb40fb860f516ee77ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+6619027b13a87a3597115f2c8231f107bf3a7a5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f294118ff14b871f43939fe5b8febcfef89426f998d156738fd8650273e43d2 [INFO] running `Command { std: "docker" "start" "-a" "8f294118ff14b871f43939fe5b8febcfef89426f998d156738fd8650273e43d2", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling cmake v0.1.49 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking wyz v0.5.0 [INFO] [stderr] Checking crc-catalog v2.2.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking crc v3.0.1 [INFO] [stderr] Checking bimap v0.6.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling unicorn-engine v2.0.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking bitvec v1.0.0 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Checking mpw-emu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HookType` [INFO] [stdout] --> src/emulator/mod.rs:9:43 [INFO] [stdout] | [INFO] [stdout] 9 | use unicorn_engine::unicorn_const::{Arch, HookType, Mode, Permission}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HookType` [INFO] [stdout] --> src/emulator/mod.rs:9:43 [INFO] [stdout] | [INFO] [stdout] 9 | use unicorn_engine::unicorn_const::{Arch, HookType, Mode, Permission}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/emulator/c_stdlib.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | b'0' ..= b'9' => (ch - b'0'), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 132 - b'0' ..= b'9' => (ch - b'0'), [INFO] [stdout] 132 + b'0' ..= b'9' => ch - b'0', [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/emulator/c_stdlib.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | b'0' ..= b'9' => (ch - b'0'), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 132 - b'0' ..= b'9' => (ch - b'0'), [INFO] [stdout] 132 + b'0' ..= b'9' => ch - b'0', [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/emulator/c_stdlib.rs:133:20 [INFO] [stdout] | [INFO] [stdout] 133 | b'A' ..= b'Z' => (ch - b'A' + 11), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 133 - b'A' ..= b'Z' => (ch - b'A' + 11), [INFO] [stdout] 133 + b'A' ..= b'Z' => ch - b'A' + 11, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/emulator/c_stdlib.rs:133:20 [INFO] [stdout] | [INFO] [stdout] 133 | b'A' ..= b'Z' => (ch - b'A' + 11), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 133 - b'A' ..= b'Z' => (ch - b'A' + 11), [INFO] [stdout] 133 + b'A' ..= b'Z' => ch - b'A' + 11, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/emulator/c_stdlib.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | b'a' ..= b'z' => (ch - b'a' + 11), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 134 - b'a' ..= b'z' => (ch - b'a' + 11), [INFO] [stdout] 134 + b'a' ..= b'z' => ch - b'a' + 11, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/emulator/c_stdlib.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | b'a' ..= b'z' => (ch - b'a' + 11), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 134 - b'a' ..= b'z' => (ch - b'a' + 11), [INFO] [stdout] 134 + b'a' ..= b'z' => ch - b'a' + 11, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/emulator/mac_files.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | 2 => (buffer.len() as isize + pos_offset as isize), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 89 - 2 => (buffer.len() as isize + pos_offset as isize), [INFO] [stdout] 89 + 2 => buffer.len() as isize + pos_offset as isize, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/emulator/mac_files.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | 3 => (handle.position as isize + pos_offset as isize), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 90 - 3 => (handle.position as isize + pos_offset as isize), [INFO] [stdout] 90 + 3 => handle.position as isize + pos_offset as isize, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/emulator/mac_files.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | 2 => (buffer.len() as isize + pos_offset as isize), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 89 - 2 => (buffer.len() as isize + pos_offset as isize), [INFO] [stdout] 89 + 2 => buffer.len() as isize + pos_offset as isize, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/emulator/mac_files.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | 3 => (handle.position as isize + pos_offset as isize), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 90 - 3 => (handle.position as isize + pos_offset as isize), [INFO] [stdout] 90 + 3 => handle.position as isize + pos_offset as isize, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Architecture` [INFO] [stdout] --> src/pef/mod.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub use data::{Architecture, SectionType, ShareType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Architecture` [INFO] [stdout] --> src/pef/mod.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub use data::{Architecture, SectionType, ShareType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macbinary.rs:72:94 [INFO] [stdout] | [INFO] [stdout] 72 | let data_size = u32::from_be_bytes(file[0x53 .. 0x57].try_into().unwrap()).next_multiple_of(&0x80); [INFO] [stdout] | ---------------- ^^^^^ expected `u32`, found `&{integer}` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/6619027b13a87a3597115f2c8231f107bf3a7a5f/library/core/src/num/mod.rs:1098:5 [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 72 - let data_size = u32::from_be_bytes(file[0x53 .. 0x57].try_into().unwrap()).next_multiple_of(&0x80); [INFO] [stdout] 72 + let data_size = u32::from_be_bytes(file[0x53 .. 0x57].try_into().unwrap()).next_multiple_of(0x80); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macbinary.rs:72:94 [INFO] [stdout] | [INFO] [stdout] 72 | let data_size = u32::from_be_bytes(file[0x53 .. 0x57].try_into().unwrap()).next_multiple_of(&0x80); [INFO] [stdout] | ---------------- ^^^^^ expected `u32`, found `&{integer}` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/6619027b13a87a3597115f2c8231f107bf3a7a5f/library/core/src/num/mod.rs:1098:5 [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 72 - let data_size = u32::from_be_bytes(file[0x53 .. 0x57].try_into().unwrap()).next_multiple_of(&0x80); [INFO] [stdout] 72 + let data_size = u32::from_be_bytes(file[0x53 .. 0x57].try_into().unwrap()).next_multiple_of(0x80); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macbinary.rs:73:98 [INFO] [stdout] | [INFO] [stdout] 73 | let resource_size = u32::from_be_bytes(file[0x57 .. 0x5B].try_into().unwrap()).next_multiple_of(&0x80); [INFO] [stdout] | ---------------- ^^^^^ expected `u32`, found `&{integer}` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/6619027b13a87a3597115f2c8231f107bf3a7a5f/library/core/src/num/mod.rs:1098:5 [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 73 - let resource_size = u32::from_be_bytes(file[0x57 .. 0x5B].try_into().unwrap()).next_multiple_of(&0x80); [INFO] [stdout] 73 + let resource_size = u32::from_be_bytes(file[0x57 .. 0x5B].try_into().unwrap()).next_multiple_of(0x80); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macbinary.rs:73:98 [INFO] [stdout] | [INFO] [stdout] 73 | let resource_size = u32::from_be_bytes(file[0x57 .. 0x5B].try_into().unwrap()).next_multiple_of(&0x80); [INFO] [stdout] | ---------------- ^^^^^ expected `u32`, found `&{integer}` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/6619027b13a87a3597115f2c8231f107bf3a7a5f/library/core/src/num/mod.rs:1098:5 [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 73 - let resource_size = u32::from_be_bytes(file[0x57 .. 0x5B].try_into().unwrap()).next_multiple_of(&0x80); [INFO] [stdout] 73 + let resource_size = u32::from_be_bytes(file[0x57 .. 0x5B].try_into().unwrap()).next_multiple_of(0x80); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::Integer` [INFO] [stdout] --> src/macbinary.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use num::Integer; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::Integer` [INFO] [stdout] --> src/macbinary.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use num::Integer; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mpw-emu` (bin "mpw-emu") due to 2 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mpw-emu` (bin "mpw-emu" test) due to 2 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8f294118ff14b871f43939fe5b8febcfef89426f998d156738fd8650273e43d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f294118ff14b871f43939fe5b8febcfef89426f998d156738fd8650273e43d2", kill_on_drop: false }` [INFO] [stdout] 8f294118ff14b871f43939fe5b8febcfef89426f998d156738fd8650273e43d2