[INFO] cloning repository https://github.com/higumachan/rust-9cc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/higumachan/rust-9cc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhigumachan%2Frust-9cc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhigumachan%2Frust-9cc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c8fe6951d269f018702c835fe007d735d82c3ca9 [INFO] checking higumachan/rust-9cc against try#411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51 for pr-138844 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhigumachan%2Frust-9cc" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/higumachan/rust-9cc on toolchain 411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/higumachan/rust-9cc [INFO] finished tweaking git repo https://github.com/higumachan/rust-9cc [INFO] tweaked toml for git repo https://github.com/higumachan/rust-9cc written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/higumachan/rust-9cc 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" "+411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24347f210de68a4e844d90642c214ff04fbf59c8ab3f63ba4b33f4fea7bfe20a [INFO] running `Command { std: "docker" "start" "-a" "24347f210de68a4e844d90642c214ff04fbf59c8ab3f63ba4b33f4fea7bfe20a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24347f210de68a4e844d90642c214ff04fbf59c8ab3f63ba4b33f4fea7bfe20a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24347f210de68a4e844d90642c214ff04fbf59c8ab3f63ba4b33f4fea7bfe20a", kill_on_drop: false }` [INFO] [stdout] 24347f210de68a4e844d90642c214ff04fbf59c8ab3f63ba4b33f4fea7bfe20a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25cc133f31217002abb66d557ede19ff7b98bfd34ee1c7befabdca21a7d79e97 [INFO] running `Command { std: "docker" "start" "-a" "25cc133f31217002abb66d557ede19ff7b98bfd34ee1c7befabdca21a7d79e97", kill_on_drop: false }` [INFO] [stderr] Checking rust-9cc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DefineVariable`, `Parameter`, and `REGISTER_SIZE` [INFO] [stdout] --> src/generator.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::{DefineVariable, Node, Operator2, Parameter, Type, REGISTER_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/generator.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DefineVariable`, `Parameter`, and `REGISTER_SIZE` [INFO] [stdout] --> src/generator.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::{DefineVariable, Node, Operator2, Parameter, Type, REGISTER_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/generator.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param` [INFO] [stdout] --> src/generator.rs:219:32 [INFO] [stdout] | [INFO] [stdout] 219 | for (register, param) in REGISTERS.iter().zip(define_function.params().iter()) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_param` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param` [INFO] [stdout] --> src/generator.rs:219:32 [INFO] [stdout] | [INFO] [stdout] 219 | for (register, param) in REGISTERS.iter().zip(define_function.params().iter()) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_param` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/generator.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | InvalidTypeSize(usize), [INFO] [stdout] | --------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GenerateError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - InvalidTypeSize(usize), [INFO] [stdout] 14 + InvalidTypeSize(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-9cc` (bin "rust-9cc"); 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51/bin/rustc --crate-name rust_9cc --edition=2021 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=51e2392cd8f92008 -C extra-filename=-33b719ecedaef052 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=forbid` (exit status: 1) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/generator.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | InvalidTypeSize(usize), [INFO] [stdout] | --------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GenerateError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - InvalidTypeSize(usize), [INFO] [stdout] 14 + InvalidTypeSize(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DuplicatedVariable` and `UndefinedVariable` are never constructed [INFO] [stdout] --> src/generator.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum GenerateError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | DuplicatedVariable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | UndefinedVariable(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GenerateError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `ty` are never used [INFO] [stdout] --> src/parser.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Parameter { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn ty(&self) -> &Type { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | ExpectReserved(String), [INFO] [stdout] | -------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 66 - ExpectReserved(String), [INFO] [stdout] 66 + ExpectReserved(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | ExpectInt(Token), [INFO] [stdout] | --------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 69 - ExpectInt(Token), [INFO] [stdout] 69 + ExpectInt(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | NotDefinedVariable(String), [INFO] [stdout] | ------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 71 - NotDefinedVariable(String), [INFO] [stdout] 71 + NotDefinedVariable(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ExpectFunctionDefine` and `NotDefinedFunction` are never constructed [INFO] [stdout] --> src/parser.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub enum ParseError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 68 | ExpectFunctionDefine, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | NotDefinedFunction(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `consume_int` is never used [INFO] [stdout] --> src/parser.rs:388:8 [INFO] [stdout] | [INFO] [stdout] 91 | impl TokenStream { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 388 | fn consume_int(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ne` is never constructed [INFO] [stdout] --> src/parser.rs:567:5 [INFO] [stdout] | [INFO] [stdout] 561 | pub enum Operator2 { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 567 | Ne, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operator2` 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: method `implicit_conversion` is never used [INFO] [stdout] --> src/parser.rs:604:12 [INFO] [stdout] | [INFO] [stdout] 579 | impl Type { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 604 | pub fn implicit_conversion(self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/parser.rs:614:5 [INFO] [stdout] | [INFO] [stdout] 613 | pub struct LocalVariable { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 614 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalVariable` 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: methods `name` and `ty` are never used [INFO] [stdout] --> src/parser.rs:623:12 [INFO] [stdout] | [INFO] [stdout] 619 | impl LocalVariable { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 623 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 629 | pub fn ty(&self) -> &Type { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_local_value` is never used [INFO] [stdout] --> src/parser.rs:811:12 [INFO] [stdout] | [INFO] [stdout] 802 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 811 | pub fn as_local_value(&self) -> Option<&LocalVariable> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `reserved`, `as_reserved`, `as_num`, and `as_eof` are never used [INFO] [stdout] --> src/tokenizer.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Token { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 22 | pub fn reserved(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn as_reserved(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn as_num(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn as_eof(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message`, `line_number`, `source_code_line`, and `pos` are never read [INFO] [stdout] --> src/tokenizer.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct TokenizeError { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 69 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 70 | line_number: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 71 | source_code_line: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenizeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to write `/opt/rustwide/target/debug/.fingerprint/rust-9cc-ca203896f2f86b31/test-bin-rust-9cc` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] running `Command { std: "docker" "inspect" "25cc133f31217002abb66d557ede19ff7b98bfd34ee1c7befabdca21a7d79e97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25cc133f31217002abb66d557ede19ff7b98bfd34ee1c7befabdca21a7d79e97", kill_on_drop: false }` [INFO] [stdout] 25cc133f31217002abb66d557ede19ff7b98bfd34ee1c7befabdca21a7d79e97