[INFO] cloning repository https://github.com/u66u/rcc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/u66u/rcc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fu66u%2Frcc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fu66u%2Frcc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7085bacece952510c403059022176bdf1f07033b [INFO] testing u66u/rcc against beta-2025-01-12 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fu66u%2Frcc" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/u66u/rcc on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/u66u/rcc [INFO] finished tweaking git repo https://github.com/u66u/rcc [INFO] tweaked toml for git repo https://github.com/u66u/rcc written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/u66u/rcc 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" "+beta-2025-01-12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92aa957e60177d2cf9457c01586a85dac2a738d87ef6a0f427c109d69d742510 [INFO] running `Command { std: "docker" "start" "-a" "92aa957e60177d2cf9457c01586a85dac2a738d87ef6a0f427c109d69d742510", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92aa957e60177d2cf9457c01586a85dac2a738d87ef6a0f427c109d69d742510", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92aa957e60177d2cf9457c01586a85dac2a738d87ef6a0f427c109d69d742510", kill_on_drop: false }` [INFO] [stdout] 92aa957e60177d2cf9457c01586a85dac2a738d87ef6a0f427c109d69d742510 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0515d4bb0c9a5fd3dbb18ebba49f24473df6d1c42aaf854caf23984656b826e9 [INFO] running `Command { std: "docker" "start" "-a" "0515d4bb0c9a5fd3dbb18ebba49f24473df6d1c42aaf854caf23984656b826e9", kill_on_drop: false }` [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling joinery v2.1.0 [INFO] [stderr] Compiling indent_write v2.2.0 [INFO] [stderr] Compiling brownstone v3.0.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling nom-supreme v0.8.0 [INFO] [stderr] Compiling rcc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `VerboseError` [INFO] [stdout] --> src/parser.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | error::{VerboseError, context}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BaseErrorKind`, `Expectation`, and `StackContext` [INFO] [stdout] --> src/parser.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 11 | use nom_supreme::error::{ErrorTree, BaseErrorKind, StackContext, Expectation}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let func = "int add(int a, int b) {a = 5; b = 6; return a + b;}" ; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_constant` is never used [INFO] [stdout] --> src/parser.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn parse_constant(input: &str) -> VerboseIResult<&str, Expression> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Program` is never constructed [INFO] [stdout] --> src/ast.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExternalDeclaration` is never used [INFO] [stdout] --> src/ast.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ExternalDeclaration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_specifier` and `name` are never read [INFO] [stdout] --> src/ast.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FunctionParameter { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 15 | pub type_specifier: TypeSpecifier, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionParameter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `return_type`, `name`, `parameters`, and `body` are never read [INFO] [stdout] --> src/ast.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct FunctionDefinition { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 22 | pub return_type: TypeSpecifier, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | pub parameters: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | pub body: CompoundStatement, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `statements` is never read [INFO] [stdout] --> src/ast.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct CompoundStatement { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 31 | pub statements: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompoundStatement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | ReturnStmt(Expression), [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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] 39 | ReturnStmt(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ExpressionStmt`, `CompoundStmt`, and `IfThenStmt` are never constructed [INFO] [stdout] --> src/ast.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub enum Statement { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 37 | ExpressionStmt(Expression), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 38 | CompoundStmt(CompoundStatement), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 39 | ReturnStmt(Expression), [INFO] [stdout] 40 | IfThenStmt { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | Identifier(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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] 50 | Identifier(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `left`, `operator`, and `right` are never read [INFO] [stdout] --> src/ast.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | BinaryOp { left: Box, operator: BinaryOperator, right: Box }, [INFO] [stdout] | -------- ^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Constant`, `StringLiteral`, `FunctionCall`, `UnaryOp`, and `EqualityOp` are never constructed [INFO] [stdout] --> src/ast.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub enum Expression { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 50 | Identifier(String), [INFO] [stdout] 51 | Constant(i32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 52 | StringLiteral(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 53 | FunctionCall { name: String, arguments: Vec }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 54 | BinaryOp { left: Box, operator: BinaryOperator, right: Box }, [INFO] [stdout] 55 | UnaryOp { operator: UnaryOperator, operand: Box }, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 56 | EqualityOp { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VariableDeclaration` is never constructed [INFO] [stdout] --> src/ast.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct VariableDeclaration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InitDeclarator` is never constructed [INFO] [stdout] --> src/ast.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct InitDeclarator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Void` and `Char` are never constructed [INFO] [stdout] --> src/ast.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub enum TypeSpecifier { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 78 | Void, [INFO] [stdout] | ^^^^ [INFO] [stdout] 79 | Char, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeSpecifier` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Modulo`, `Equals`, `LogicalAnd`, and `LogicalOr` are never constructed [INFO] [stdout] --> src/ast.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub enum BinaryOperator { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 91 | Modulo, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 92 | Equals, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 93 | LogicalAnd, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 94 | LogicalOr [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOperator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Negate` and `LogicalNot` are never constructed [INFO] [stdout] --> src/ast.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub enum UnaryOperator { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 100 | Negate, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 101 | LogicalNot, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnaryOperator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.21s [INFO] running `Command { std: "docker" "inspect" "0515d4bb0c9a5fd3dbb18ebba49f24473df6d1c42aaf854caf23984656b826e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0515d4bb0c9a5fd3dbb18ebba49f24473df6d1c42aaf854caf23984656b826e9", kill_on_drop: false }` [INFO] [stdout] 0515d4bb0c9a5fd3dbb18ebba49f24473df6d1c42aaf854caf23984656b826e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca523c8fc2b2b1038792b240e91c77230d3fbab535cf9fcf42371c2cb00bc040 [INFO] running `Command { std: "docker" "start" "-a" "ca523c8fc2b2b1038792b240e91c77230d3fbab535cf9fcf42371c2cb00bc040", kill_on_drop: false }` [INFO] [stderr] Compiling rcc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `VerboseError` [INFO] [stdout] --> src/parser.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | error::{VerboseError, context}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rcc` (bin "rcc" test); 1 warning 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/beta-2025-01-12-x86_64-unknown-linux-gnu/bin/rustc --crate-name rcc --edition=2021 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=bc96d6ee20efbd42 -C extra-filename=-9295e29053e457c7 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern nom=/opt/rustwide/target/debug/deps/libnom-9bdbd60024f20ec3.rlib --extern nom_supreme=/opt/rustwide/target/debug/deps/libnom_supreme-82b06b0483d1de32.rlib --cap-lints=warn` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "ca523c8fc2b2b1038792b240e91c77230d3fbab535cf9fcf42371c2cb00bc040", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca523c8fc2b2b1038792b240e91c77230d3fbab535cf9fcf42371c2cb00bc040", kill_on_drop: false }` [INFO] [stdout] ca523c8fc2b2b1038792b240e91c77230d3fbab535cf9fcf42371c2cb00bc040