[INFO] cloning repository https://github.com/ISSOtm/rsgbasm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ISSOtm/rsgbasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FISSOtm%2Frsgbasm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FISSOtm%2Frsgbasm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f0ddd81591d6666be310630feef0587fa1f01b97 [INFO] checking ISSOtm/rsgbasm against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FISSOtm%2Frsgbasm" "/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/ISSOtm/rsgbasm on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ISSOtm/rsgbasm [INFO] finished tweaking git repo https://github.com/ISSOtm/rsgbasm [INFO] tweaked toml for git repo https://github.com/ISSOtm/rsgbasm written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/ISSOtm/rsgbasm already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c3cf7588218d16cb2ff6933318d9d2abedb76ab88e989b5c4d0b9078e3f66c3 [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" "9c3cf7588218d16cb2ff6933318d9d2abedb76ab88e989b5c4d0b9078e3f66c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c3cf7588218d16cb2ff6933318d9d2abedb76ab88e989b5c4d0b9078e3f66c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c3cf7588218d16cb2ff6933318d9d2abedb76ab88e989b5c4d0b9078e3f66c3", kill_on_drop: false }` [INFO] [stdout] 9c3cf7588218d16cb2ff6933318d9d2abedb76ab88e989b5c4d0b9078e3f66c3 [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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f342226510f0dbd09fdf8ab98e251b897a9bfbf999dc347e620f7b5551e4fe56 [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" "f342226510f0dbd09fdf8ab98e251b897a9bfbf999dc347e620f7b5551e4fe56", kill_on_drop: false }` [INFO] [stderr] Compiling lalrpop-util v0.19.1 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling aho-corasick v0.7.14 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling regex v1.4.1 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling string_cache v0.8.0 [INFO] [stderr] Compiling lalrpop v0.19.1 [INFO] [stderr] Compiling rsgbasm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning[E0170]: pattern binding `Normal` is named the same as one of the variants of the type `State` [INFO] [stdout] --> src/lexer.rs:542:13 [INFO] [stdout] | [INFO] [stdout] 542 | Normal => self.next_normal_tok(), [INFO] [stdout] | ^^^^^^ help: to match on the variant, qualify the path: `State::Normal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `Raw` is named the same as one of the variants of the type `State` [INFO] [stdout] --> src/lexer.rs:543:13 [INFO] [stdout] | [INFO] [stdout] 543 | Raw => self.next_raw_tok(), [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `State::Raw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lexer.rs:543:13 [INFO] [stdout] | [INFO] [stdout] 542 | Normal => self.next_normal_tok(), [INFO] [stdout] | ------ matches any value [INFO] [stdout] 543 | Raw => self.next_raw_tok(), [INFO] [stdout] | ^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Normal` [INFO] [stdout] --> src/lexer.rs:542:13 [INFO] [stdout] | [INFO] [stdout] 542 | Normal => self.next_normal_tok(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_Normal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Raw` [INFO] [stdout] --> src/lexer.rs:543:13 [INFO] [stdout] | [INFO] [stdout] 543 | Raw => self.next_raw_tok(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_Raw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/assembler.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | AsmParser::new().parse(&mut self, Lexer::new(s.chars(), &self.lexerState))?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot borrow as mutable [INFO] [stdout] | try removing `&mut` here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.lexerState` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/assembler.rs:47:65 [INFO] [stdout] | [INFO] [stdout] 47 | AsmParser::new().parse(&mut self, Lexer::new(s.chars(), &self.lexerState))?; [INFO] [stdout] | ----- --------- ^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | mutable borrow later used by call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lexer.rs:370:13 [INFO] [stdout] | [INFO] [stdout] 370 | let mut c = match self.peek() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `Normal` is named the same as one of the variants of the type `State` [INFO] [stdout] --> src/lexer.rs:542:13 [INFO] [stdout] | [INFO] [stdout] 542 | Normal => self.next_normal_tok(), [INFO] [stdout] | ^^^^^^ help: to match on the variant, qualify the path: `State::Normal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `Raw` is named the same as one of the variants of the type `State` [INFO] [stdout] --> src/lexer.rs:543:13 [INFO] [stdout] | [INFO] [stdout] 543 | Raw => self.next_raw_tok(), [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `State::Raw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lexer.rs:543:13 [INFO] [stdout] | [INFO] [stdout] 542 | Normal => self.next_normal_tok(), [INFO] [stdout] | ------ matches any value [INFO] [stdout] 543 | Raw => self.next_raw_tok(), [INFO] [stdout] | ^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Normal` [INFO] [stdout] --> src/lexer.rs:542:13 [INFO] [stdout] | [INFO] [stdout] 542 | Normal => self.next_normal_tok(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_Normal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Raw` [INFO] [stdout] --> src/lexer.rs:543:13 [INFO] [stdout] | [INFO] [stdout] 543 | Raw => self.next_raw_tok(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_Raw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/assembler.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | AsmParser::new().parse(&mut self, Lexer::new(s.chars(), &self.lexerState))?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot borrow as mutable [INFO] [stdout] | try removing `&mut` here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.lexerState` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/assembler.rs:47:65 [INFO] [stdout] | [INFO] [stdout] 47 | AsmParser::new().parse(&mut self, Lexer::new(s.chars(), &self.lexerState))?; [INFO] [stdout] | ----- --------- ^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | mutable borrow later used by call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lexer.rs:370:13 [INFO] [stdout] | [INFO] [stdout] 370 | let mut c = match self.peek() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0170, E0502, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rsgbasm` [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: aborting due to 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0170, E0502, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f342226510f0dbd09fdf8ab98e251b897a9bfbf999dc347e620f7b5551e4fe56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f342226510f0dbd09fdf8ab98e251b897a9bfbf999dc347e620f7b5551e4fe56", kill_on_drop: false }` [INFO] [stdout] f342226510f0dbd09fdf8ab98e251b897a9bfbf999dc347e620f7b5551e4fe56