[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] checking ForsakenHarmony/smali against master#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FForsakenHarmony%2Fsmali" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ForsakenHarmony/smali on toolchain a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "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-3/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" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "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] 66bb3dcccb7890c99fceab2a4bf37c965e548d613227cd0be8a3f7b77ccdf4c7 [INFO] running `Command { std: "docker" "start" "-a" "66bb3dcccb7890c99fceab2a4bf37c965e548d613227cd0be8a3f7b77ccdf4c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66bb3dcccb7890c99fceab2a4bf37c965e548d613227cd0be8a3f7b77ccdf4c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66bb3dcccb7890c99fceab2a4bf37c965e548d613227cd0be8a3f7b77ccdf4c7", kill_on_drop: false }` [INFO] [stdout] 66bb3dcccb7890c99fceab2a4bf37c965e548d613227cd0be8a3f7b77ccdf4c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7565d131a4a27053dd96387ca1c900b54723c23943330ac1305662745d9ccde [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" "b7565d131a4a27053dd96387ca1c900b54723c23943330ac1305662745d9ccde", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Compiling enum_values v0.1.0 (/opt/rustwide/workdir/enum_values) [INFO] [stderr] Checking 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] 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] | ^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/parser/asm/instruction.rs:60:31 [INFO] [stdout] | [INFO] [stdout] 60 | struct Instruction11x(Opcode, (u8)); [INFO] [stdout] | ^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/parser/asm/instruction.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | struct Instruction10t(Opcode, (u8)); [INFO] [stdout] | ^^^^ help: remove these parentheses [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] | ^^^^ help: remove these parentheses [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] | ^^^^^ help: remove these parentheses [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] | ^^^^^ help: remove these parentheses [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] 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[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] [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b7565d131a4a27053dd96387ca1c900b54723c23943330ac1305662745d9ccde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7565d131a4a27053dd96387ca1c900b54723c23943330ac1305662745d9ccde", kill_on_drop: false }` [INFO] [stdout] b7565d131a4a27053dd96387ca1c900b54723c23943330ac1305662745d9ccde