[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#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FForsakenHarmony%2Fsmali" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ForsakenHarmony/smali on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-7/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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] ac2e846aa25a78dede4ad97c06839225a2856710767f14aff1d74a5056fd93c6 [INFO] running `Command { std: "docker" "start" "-a" "ac2e846aa25a78dede4ad97c06839225a2856710767f14aff1d74a5056fd93c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac2e846aa25a78dede4ad97c06839225a2856710767f14aff1d74a5056fd93c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac2e846aa25a78dede4ad97c06839225a2856710767f14aff1d74a5056fd93c6", kill_on_drop: false }` [INFO] [stdout] ac2e846aa25a78dede4ad97c06839225a2856710767f14aff1d74a5056fd93c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c25136e712375b229146614ab9bea7ef65531768cb6f0aa937ae57c39916579a [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" "c25136e712375b229146614ab9bea7ef65531768cb6f0aa937ae57c39916579a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Checking quick-error v1.2.2 [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 time v0.1.42 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Compiling enum_values v0.1.0 (/tmp/fixit/enum_values) [INFO] [stderr] Checking smali v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [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] 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] [stderr] warning: build failed, waiting for other jobs to finish... [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] 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] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "c25136e712375b229146614ab9bea7ef65531768cb6f0aa937ae57c39916579a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c25136e712375b229146614ab9bea7ef65531768cb6f0aa937ae57c39916579a", kill_on_drop: false }` [INFO] [stdout] c25136e712375b229146614ab9bea7ef65531768cb6f0aa937ae57c39916579a