[INFO] cloning repository https://github.com/aaronyoo/microcc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aaronyoo/microcc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faaronyoo%2Fmicrocc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faaronyoo%2Fmicrocc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ffbe6ed5811057c5787d454ee4c87f615dee89a0 [INFO] checking aaronyoo/microcc against master#c724b67e1b474262917a5154d74e7072267593fe for pr-74315 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faaronyoo%2Fmicrocc" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aaronyoo/microcc on toolchain c724b67e1b474262917a5154d74e7072267593fe [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aaronyoo/microcc [INFO] finished tweaking git repo https://github.com/aaronyoo/microcc [INFO] tweaked toml for git repo https://github.com/aaronyoo/microcc written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/aaronyoo/microcc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48888d1e1bfa00f7bce277748f96f90cc9eb0ecf984ca1389926eaadea5f00d8 [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" "48888d1e1bfa00f7bce277748f96f90cc9eb0ecf984ca1389926eaadea5f00d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48888d1e1bfa00f7bce277748f96f90cc9eb0ecf984ca1389926eaadea5f00d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48888d1e1bfa00f7bce277748f96f90cc9eb0ecf984ca1389926eaadea5f00d8", kill_on_drop: false }` [INFO] [stdout] 48888d1e1bfa00f7bce277748f96f90cc9eb0ecf984ca1389926eaadea5f00d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c072b2850f668771a787ec04bf4b95a43e45a8e20489972322b4895bc444b82 [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" "1c072b2850f668771a787ec04bf4b95a43e45a8e20489972322b4895bc444b82", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.34 [INFO] [stderr] Compiling cranelift-codegen-shared v0.65.0 [INFO] [stderr] Compiling cranelift-entity v0.65.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling target-lexicon v0.10.0 [INFO] [stderr] Checking smallvec v1.4.1 [INFO] [stderr] Checking cranelift-bforest v0.65.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.65.0 [INFO] [stderr] Checking regalloc v0.0.26 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Compiling cranelift-codegen v0.65.0 [INFO] [stderr] Checking cranelift-frontend v0.65.0 [INFO] [stderr] Checking cranelift v0.65.0 [INFO] [stderr] Checking microcc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `fb` [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let fb = FunctionBuilder::new(&mut func, &mut fc); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fb` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 27 | Statement::ReturnStatement(s) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fb` [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let fb = FunctionBuilder::new(&mut func, &mut fc); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fb` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 27 | Statement::ReturnStatement(s) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Int64` [INFO] [stdout] --> src/ir.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Int64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Int64` [INFO] [stdout] --> src/ir.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Int64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_param` [INFO] [stdout] --> src/ir.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn add_param(&mut self, ty: IrType) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_return` [INFO] [stdout] --> src/ir.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn add_return(&mut self, ty: IrType) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_basic_block` [INFO] [stdout] --> src/ir.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn add_basic_block(&mut self, bb: BasicBlock) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_block` [INFO] [stdout] --> src/ir.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn create_block(&mut self) -> BasicBlockRef { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `BB_REF_COUNTER` [INFO] [stdout] --> src/ir.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | static BB_REF_COUNTER: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `INST_REF_COUNTER` [INFO] [stdout] --> src/ir.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | static INST_REF_COUNTER: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ir.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn new() -> BasicBlock { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_ref` [INFO] [stdout] --> src/ir.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | fn get_ref(&self) -> BasicBlockRef { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Return` [INFO] [stdout] --> src/ir.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | Return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ir.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InstReturn` [INFO] [stdout] --> src/ir.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | InstReturn(InstReturn), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ir.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_return_value` [INFO] [stdout] --> src/ir.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | fn add_return_value(&mut self, var: IrVar) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnexpectedToken` [INFO] [stdout] --> src/parser.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | UnexpectedToken { expected: Token, actual: Token }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Illegal` [INFO] [stdout] --> src/token.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Illegal, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_param` [INFO] [stdout] --> src/ir.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn add_param(&mut self, ty: IrType) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_return` [INFO] [stdout] --> src/ir.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn add_return(&mut self, ty: IrType) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_basic_block` [INFO] [stdout] --> src/ir.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn add_basic_block(&mut self, bb: BasicBlock) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_block` [INFO] [stdout] --> src/ir.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn create_block(&mut self) -> BasicBlockRef { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `BB_REF_COUNTER` [INFO] [stdout] --> src/ir.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | static BB_REF_COUNTER: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `INST_REF_COUNTER` [INFO] [stdout] --> src/ir.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | static INST_REF_COUNTER: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ir.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn new() -> BasicBlock { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_ref` [INFO] [stdout] --> src/ir.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | fn get_ref(&self) -> BasicBlockRef { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Return` [INFO] [stdout] --> src/ir.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | Return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ir.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InstReturn` [INFO] [stdout] --> src/ir.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | InstReturn(InstReturn), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ir.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_return_value` [INFO] [stdout] --> src/ir.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | fn add_return_value(&mut self, var: IrVar) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnexpectedToken` [INFO] [stdout] --> src/parser.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | UnexpectedToken { expected: Token, actual: Token }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Illegal` [INFO] [stdout] --> src/token.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Illegal, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "1c072b2850f668771a787ec04bf4b95a43e45a8e20489972322b4895bc444b82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c072b2850f668771a787ec04bf4b95a43e45a8e20489972322b4895bc444b82", kill_on_drop: false }` [INFO] [stdout] 1c072b2850f668771a787ec04bf4b95a43e45a8e20489972322b4895bc444b82