[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 try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FForsakenHarmony%2Fsmali" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ForsakenHarmony/smali on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "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-13/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" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26e01ad65ab75883f481c54b81d4baa0626a93421dae941a80d148d0afa6dc91 [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" "26e01ad65ab75883f481c54b81d4baa0626a93421dae941a80d148d0afa6dc91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26e01ad65ab75883f481c54b81d4baa0626a93421dae941a80d148d0afa6dc91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26e01ad65ab75883f481c54b81d4baa0626a93421dae941a80d148d0afa6dc91", kill_on_drop: false }` [INFO] [stdout] 26e01ad65ab75883f481c54b81d4baa0626a93421dae941a80d148d0afa6dc91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17d437d8cdd017c7cbb2c9e21a033da79118e3bfc79e96d499eeb8915de6a425 [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" "17d437d8cdd017c7cbb2c9e21a033da79118e3bfc79e96d499eeb8915de6a425", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Checking regex v1.3.1 [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: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: 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: 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: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] 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` [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] [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: build failed [INFO] running `Command { std: "docker" "inspect" "17d437d8cdd017c7cbb2c9e21a033da79118e3bfc79e96d499eeb8915de6a425", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17d437d8cdd017c7cbb2c9e21a033da79118e3bfc79e96d499eeb8915de6a425", kill_on_drop: false }` [INFO] [stdout] 17d437d8cdd017c7cbb2c9e21a033da79118e3bfc79e96d499eeb8915de6a425