[INFO] cloning repository https://github.com/mahanfarzaneh2000/Astamboly [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mahanfarzaneh2000/Astamboly" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahanfarzaneh2000%2FAstamboly", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahanfarzaneh2000%2FAstamboly'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 908a16768a77a6a73e85a45c453bfb749f2076bb [INFO] building mahanfarzaneh2000/Astamboly against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahanfarzaneh2000%2FAstamboly" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mahanfarzaneh2000/Astamboly on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mahanfarzaneh2000/Astamboly [INFO] finished tweaking git repo https://github.com/mahanfarzaneh2000/Astamboly [INFO] tweaked toml for git repo https://github.com/mahanfarzaneh2000/Astamboly written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mahanfarzaneh2000/Astamboly already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88d0fdc22b8d94d3ea1bcbcd60e57be723e3d18fadf1a94f8f35d7bd7a57c983 [INFO] running `Command { std: "docker" "start" "-a" "88d0fdc22b8d94d3ea1bcbcd60e57be723e3d18fadf1a94f8f35d7bd7a57c983", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88d0fdc22b8d94d3ea1bcbcd60e57be723e3d18fadf1a94f8f35d7bd7a57c983", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88d0fdc22b8d94d3ea1bcbcd60e57be723e3d18fadf1a94f8f35d7bd7a57c983", kill_on_drop: false }` [INFO] [stdout] 88d0fdc22b8d94d3ea1bcbcd60e57be723e3d18fadf1a94f8f35d7bd7a57c983 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1876a7ece63714900e86b739c64aafe943456cf9a2b8ea00db1e42d14a4372d3 [INFO] running `Command { std: "docker" "start" "-a" "1876a7ece63714900e86b739c64aafe943456cf9a2b8ea00db1e42d14a4372d3", kill_on_drop: false }` [INFO] [stderr] Compiling astambly v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `literal` [INFO] [stdout] --> src/lexer.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | let literal = String::from_iter(self.source[index..self.cur].to_vec()); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_literal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr_list` [INFO] [stdout] --> src/relocate.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn relocate(instr_list: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instr_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bc` [INFO] [stdout] --> src/relocate.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let mut bc = 0; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/relocate.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | for item in instr_list.iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/relocate.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let mut bytes = Vec::new(); [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: variable does not need to be mutable [INFO] [stdout] --> src/relocate.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut bc = 0; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/lexer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 11 | /// Identifies a variable or functuin e.g: a, main, print [INFO] [stdout] 12 | Identifier, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | /// Numeric value e.g: 12 ,0xf3, 0b110 [INFO] [stdout] 14 | Int(i32), [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | /// Floating value e.g: 0.5 [INFO] [stdout] 16 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | /// Character Literal e.g: 'A', '9', '\n' [INFO] [stdout] 18 | Char(char), [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | /// String Literal e.g: "Hello world", "hi\nhello" [INFO] [stdout] 20 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | /// Inline Asm [INFO] [stdout] 22 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | /// "-" Sub and Neg [INFO] [stdout] 24 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | /// "*" Multiply [INFO] [stdout] 26 | Multi, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | /// ":" NOT DEFINED YET [INFO] [stdout] 28 | Colon, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | /// "," Seperating Arguments [INFO] [stdout] 30 | Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | /// "[" [INFO] [stdout] 32 | OBracket, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | /// "]" [INFO] [stdout] 34 | CBracket, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | /// END OF FILE [INFO] [stdout] 36 | Eof, [INFO] [stdout] | ^^^ [INFO] [stdout] 37 | /// START OF FILE [INFO] [stdout] 38 | Sof, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Token` is never constructed [INFO] [stdout] --> src/lexer.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `is_empty`, and `empty` are never used [INFO] [stdout] --> src/lexer.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl Token { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn new(t_type: TokenType, literal: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn empty() -> Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lexer` is never constructed [INFO] [stdout] --> src/lexer.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct Lexer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lexer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/lexer.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 117 | impl Lexer { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn new(file_path: String, source: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn drop_line(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn drop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn trim_left(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn get_token_type(&self) -> TokenType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn match_token(&mut self, t_type: TokenType) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn get_token(&self) -> Token { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn next_token(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | fn tokenize_char_literal(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | fn tokenize_string_literal(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 384 | fn is_single_char_token(char: char) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | fn parse_numeric_literal(&self, literal: &String) -> TokenType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 442 | fn expect_char(&self, copt: &Option, chars: Vec) -> char { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_asm` is never used [INFO] [stdout] --> src/parser.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse_asm(source: String) -> Instr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_mnemonic` is never used [INFO] [stdout] --> src/parser.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn parse_mnemonic(lexer: &mut Lexer) -> Mnemonic { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_op` is never used [INFO] [stdout] --> src/parser.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn parse_op(lexer: &mut Lexer) -> Opr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_mem` is never used [INFO] [stdout] --> src/parser.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn parse_mem(lexer: &mut Lexer, size: u8) -> Opr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `relocate` is never used [INFO] [stdout] --> src/relocate.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn relocate(instr_list: &mut Vec) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `text_section_bytes` is never used [INFO] [stdout] --> src/relocate.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn text_section_bytes(instr_list: &mut Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `instr2` is never used [INFO] [stdout] --> src/relocate.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn instr2(mnemonic: Mnemonic, opr1: impl Into, opr2: impl Into) -> Instr { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `instr1` is never used [INFO] [stdout] --> src/relocate.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn instr1(mnemonic: Mnemonic, opr1: impl Into) -> Instr{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `instr0` is never used [INFO] [stdout] --> src/relocate.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn instr0(mnemonic: Mnemonic) -> Instr{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] running `Command { std: "docker" "inspect" "1876a7ece63714900e86b739c64aafe943456cf9a2b8ea00db1e42d14a4372d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1876a7ece63714900e86b739c64aafe943456cf9a2b8ea00db1e42d14a4372d3", kill_on_drop: false }` [INFO] [stdout] 1876a7ece63714900e86b739c64aafe943456cf9a2b8ea00db1e42d14a4372d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90a97fd3efd0622712613121043d20bf4774bbfc2e0c4877cfdab2aa628ed14f [INFO] running `Command { std: "docker" "start" "-a" "90a97fd3efd0622712613121043d20bf4774bbfc2e0c4877cfdab2aa628ed14f", kill_on_drop: false }` [INFO] [stderr] Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/var/lib/crater-agent-workspace/rustup-home" to rootfs at "/opt/rustwide/rustup-home": mkdir /var/lib/docker/overlay2/979206de99113eb3602201f7bdeea326deb44c1b3e315b61c7c5694df52f79e1/merged/opt/rustwide/rustup-home: no space left on device: unknown [INFO] running `Command { std: "docker" "inspect" "90a97fd3efd0622712613121043d20bf4774bbfc2e0c4877cfdab2aa628ed14f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90a97fd3efd0622712613121043d20bf4774bbfc2e0c4877cfdab2aa628ed14f", kill_on_drop: false }` [INFO] [stdout] 90a97fd3efd0622712613121043d20bf4774bbfc2e0c4877cfdab2aa628ed14f