[INFO] cloning repository https://github.com/abbychau/tinycc-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abbychau/tinycc-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabbychau%2Ftinycc-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabbychau%2Ftinycc-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 052dda80c4d2136a26162ccc6092417a919041a9 [INFO] checking abbychau/tinycc-rs against try#c0a9760914bada211f4924ee16d41ae1a366d2ba for pr-148545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabbychau%2Ftinycc-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/abbychau/tinycc-rs [INFO] finished tweaking git repo https://github.com/abbychau/tinycc-rs [INFO] tweaked toml for git repo https://github.com/abbychau/tinycc-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/abbychau/tinycc-rs on toolchain c0a9760914bada211f4924ee16d41ae1a366d2ba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0a9760914bada211f4924ee16d41ae1a366d2ba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/abbychau/tinycc-rs 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" "+c0a9760914bada211f4924ee16d41ae1a366d2ba" "fetch" "--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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+c0a9760914bada211f4924ee16d41ae1a366d2ba" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 163b7fc70f4529c92345d4517830b72979dc28322c4b66562e92311d303f146d [INFO] running `Command { std: "docker" "start" "-a" "163b7fc70f4529c92345d4517830b72979dc28322c4b66562e92311d303f146d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "163b7fc70f4529c92345d4517830b72979dc28322c4b66562e92311d303f146d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "163b7fc70f4529c92345d4517830b72979dc28322c4b66562e92311d303f146d", kill_on_drop: false }` [INFO] [stdout] 163b7fc70f4529c92345d4517830b72979dc28322c4b66562e92311d303f146d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+c0a9760914bada211f4924ee16d41ae1a366d2ba" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] add037324b28f853d8942be9bcc2a1bfae09fca5bc80341455ec915e469e2db0 [INFO] running `Command { std: "docker" "start" "-a" "add037324b28f853d8942be9bcc2a1bfae09fca5bc80341455ec915e469e2db0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking clap_builder v4.5.35 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking clap v4.5.35 [INFO] [stderr] Checking ferricc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `is_main` [INFO] [stdout] --> src/parser.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | let is_main = name == "main"; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_main` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BitwiseAnd`, `BitwiseOr`, `BitwiseXor`, `ShiftLeft`, and `ShiftRight` are never constructed [INFO] [stdout] --> src/ast.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum BinaryOp { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 33 | BitwiseAnd, // & [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | BitwiseOr, // | [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 35 | BitwiseXor, // ^ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 36 | ShiftLeft, // << [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 37 | ShiftRight, // >> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SemanticError` is never constructed [INFO] [stdout] --> src/error.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum CompilerError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | SemanticError { location: Location, message: String }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `semantic_error` is never used [INFO] [stdout] --> src/error.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn semantic_error(location: &Location, message: impl Into) -> CompilerError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_at_bol` is never used [INFO] [stdout] --> src/lexer.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 119 | impl Token { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn with_at_bol(mut self, at_bol: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peek` is never used [INFO] [stdout] --> src/parser.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | fn peek(&mut self) -> Option<&'a Token> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `define_macro` is never used [INFO] [stdout] --> src/preprocessor.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Preprocessor { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn define_macro(&mut self, _name: &str, _value: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_main` [INFO] [stdout] --> src/parser.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | let is_main = name == "main"; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_main` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BitwiseAnd`, `BitwiseOr`, `BitwiseXor`, `ShiftLeft`, and `ShiftRight` are never constructed [INFO] [stdout] --> src/ast.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum BinaryOp { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 33 | BitwiseAnd, // & [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | BitwiseOr, // | [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 35 | BitwiseXor, // ^ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 36 | ShiftLeft, // << [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 37 | ShiftRight, // >> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SemanticError` is never constructed [INFO] [stdout] --> src/error.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum CompilerError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | SemanticError { location: Location, message: String }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `semantic_error` is never used [INFO] [stdout] --> src/error.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn semantic_error(location: &Location, message: impl Into) -> CompilerError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_at_bol` is never used [INFO] [stdout] --> src/lexer.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 119 | impl Token { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn with_at_bol(mut self, at_bol: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peek` is never used [INFO] [stdout] --> src/parser.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | fn peek(&mut self) -> Option<&'a Token> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `define_macro` is never used [INFO] [stdout] --> src/preprocessor.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Preprocessor { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn define_macro(&mut self, _name: &str, _value: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.37s [INFO] running `Command { std: "docker" "inspect" "add037324b28f853d8942be9bcc2a1bfae09fca5bc80341455ec915e469e2db0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "add037324b28f853d8942be9bcc2a1bfae09fca5bc80341455ec915e469e2db0", kill_on_drop: false }` [INFO] [stdout] add037324b28f853d8942be9bcc2a1bfae09fca5bc80341455ec915e469e2db0