[INFO] cloning repository https://github.com/ForsakenHarmony/smali [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ForsakenHarmony/smali" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FForsakenHarmony%2Fsmali", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FForsakenHarmony%2Fsmali'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b4fd31cf69a06ccecc0d28d2f46c792d4643113d [INFO] testing ForsakenHarmony/smali against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FForsakenHarmony%2Fsmali" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ForsakenHarmony/smali on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ForsakenHarmony/smali [INFO] finished tweaking git repo https://github.com/ForsakenHarmony/smali [INFO] tweaked toml for git repo https://github.com/ForsakenHarmony/smali written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/ForsakenHarmony/smali already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5f829abe622e6ea26e3ffc49c2bf8adfa56a8d593da481b611fde52d7a622869 [INFO] running `Command { std: "docker" "start" "-a" "5f829abe622e6ea26e3ffc49c2bf8adfa56a8d593da481b611fde52d7a622869", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f829abe622e6ea26e3ffc49c2bf8adfa56a8d593da481b611fde52d7a622869", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f829abe622e6ea26e3ffc49c2bf8adfa56a8d593da481b611fde52d7a622869", kill_on_drop: false }` [INFO] [stdout] 5f829abe622e6ea26e3ffc49c2bf8adfa56a8d593da481b611fde52d7a622869 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cb802903a8231aaf9a5775e7e49230de250be3e7a17d10fa9b8470bf0f8a9aa [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" "9cb802903a8231aaf9a5775e7e49230de250be3e7a17d10fa9b8470bf0f8a9aa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling pretty_env_logger v0.3.1 [INFO] [stderr] Compiling enum_values v0.1.0 (/opt/rustwide/workdir/enum_values) [INFO] [stderr] Compiling smali v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: no rules expected the token `}` [INFO] [stdout] --> src/parser/asm/instruction.rs:54:2 [INFO] [stdout] | [INFO] [stdout] 33 | macro_rules! instructions { [INFO] [stdout] | ------------------------- when calling this macro [INFO] [stdout] ... [INFO] [stdout] 54 | }; [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/parser/asm/instruction.rs:60:31 [INFO] [stdout] | [INFO] [stdout] 60 | struct Instruction11x(Opcode, (u8)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - struct Instruction11x(Opcode, (u8)); [INFO] [stdout] 60 + struct Instruction11x(Opcode, u8); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/parser/asm/instruction.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | struct Instruction10t(Opcode, (u8)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 61 - struct Instruction10t(Opcode, (u8)); [INFO] [stdout] 61 + struct Instruction10t(Opcode, u8); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/parser/asm/instruction.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | struct Instruction20t(Opcode, (u16)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 63 - struct Instruction20t(Opcode, (u16)); [INFO] [stdout] 63 + struct Instruction20t(Opcode, u16); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::BitOr` [INFO] [stdout] --> src/parser/asm/opcode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::BitOr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser/asm/instruction.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 5 | fn code_units(&self) -> u32 { [INFO] [stdout] | --- expected `u32` because of return type [INFO] [stdout] 6 | self.opcode().format().size() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i8` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i8` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 6 | self.opcode().format().size().try_into().unwrap() [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `smali` due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9cb802903a8231aaf9a5775e7e49230de250be3e7a17d10fa9b8470bf0f8a9aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cb802903a8231aaf9a5775e7e49230de250be3e7a17d10fa9b8470bf0f8a9aa", kill_on_drop: false }` [INFO] [stdout] 9cb802903a8231aaf9a5775e7e49230de250be3e7a17d10fa9b8470bf0f8a9aa