[INFO] cloning repository https://github.com/Melidee/numers [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Melidee/numers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMelidee%2Fnumers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMelidee%2Fnumers'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 37521ce56c2c26cc71003e9bcc9d4b12d6990bc4 [INFO] checking Melidee/numers against try#6619027b13a87a3597115f2c8231f107bf3a7a5f for pr-139624 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMelidee%2Fnumers" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Melidee/numers on toolchain 6619027b13a87a3597115f2c8231f107bf3a7a5f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6619027b13a87a3597115f2c8231f107bf3a7a5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Melidee/numers [INFO] finished tweaking git repo https://github.com/Melidee/numers [INFO] tweaked toml for git repo https://github.com/Melidee/numers written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Melidee/numers 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" "+6619027b13a87a3597115f2c8231f107bf3a7a5f" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+6619027b13a87a3597115f2c8231f107bf3a7a5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4cd7a6c578d4cfd3a59570198acffd0ba04e75015d2146256493138f9ed15ba0 [INFO] running `Command { std: "docker" "start" "-a" "4cd7a6c578d4cfd3a59570198acffd0ba04e75015d2146256493138f9ed15ba0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4cd7a6c578d4cfd3a59570198acffd0ba04e75015d2146256493138f9ed15ba0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cd7a6c578d4cfd3a59570198acffd0ba04e75015d2146256493138f9ed15ba0", kill_on_drop: false }` [INFO] [stdout] 4cd7a6c578d4cfd3a59570198acffd0ba04e75015d2146256493138f9ed15ba0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+6619027b13a87a3597115f2c8231f107bf3a7a5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75d5cdbacc5f1469b36dc59303e7c18bff454ec8db09d6740046314f82c77d74 [INFO] running `Command { std: "docker" "start" "-a" "75d5cdbacc5f1469b36dc59303e7c18bff454ec8db09d6740046314f82c77d74", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling anyhow v1.0.91 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Checking numers v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `statements` [INFO] [stdout] --> src/compiler.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | fn compile(statements: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statements` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile` is never used [INFO] [stdout] --> src/compiler.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn compile(statements: Vec) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QbeFunction` is never constructed [INFO] [stdout] --> src/compiler.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct QbeFunction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QbeStatement` is never constructed [INFO] [stdout] --> src/compiler.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | struct QbeStatement { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operation` is never used [INFO] [stdout] --> src/compiler.rs:58:6 [INFO] [stdout] | [INFO] [stdout] 58 | enum Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidCharacter` and `InvalidAssignment` are never constructed [INFO] [stdout] --> src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ParseError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 6 | #[error("found invalid character: {0}")] [INFO] [stdout] 7 | InvalidCharacter(char), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | #[error("invalid identifier used for assignment")] [INFO] [stdout] 9 | InvalidAssignment, [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: variants `Declaration` and `Expression` are never constructed [INFO] [stdout] --> src/parser.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Statement { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 6 | Declaration(Declaration), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | Expression(Vec), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` 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: function `parse` is never used [INFO] [stdout] --> src/parser.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn parse(source: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_declaration` is never used [INFO] [stdout] --> src/parser.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn split_declaration(declaration: &[Token]) -> Result<(String, Vec)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parser.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 58 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 59 | Subtract, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 60 | Multiply, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 61 | Divide, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 62 | Exponent, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 63 | Assign, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 64 | OpenParen, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 65 | CloseParen, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 66 | Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 67 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 68 | Number(f64), [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: methods `is_operator`, `presidence`, `is_left_associative`, `is_number`, and `is_identifier` are never used [INFO] [stdout] --> src/parser.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 72 | fn is_operator(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn presidence(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn is_left_associative(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn is_number(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn is_identifier(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIGITS` is never used [INFO] [stdout] --> src/parser.rs:117:7 [INFO] [stdout] | [INFO] [stdout] 117 | const DIGITS: &str = ".0123456789"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALPHABET` is never used [INFO] [stdout] --> src/parser.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | const ALPHABET: &str = "_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tokenize` is never used [INFO] [stdout] --> src/parser.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn tokenize(source: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `infix_to_rpn` is never used [INFO] [stdout] --> src/parser.rs:170:4 [INFO] [stdout] | [INFO] [stdout] 170 | fn infix_to_rpn(expr: Vec) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statements` [INFO] [stdout] --> src/compiler.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | fn compile(statements: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statements` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile` is never used [INFO] [stdout] --> src/compiler.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn compile(statements: Vec) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QbeFunction` is never constructed [INFO] [stdout] --> src/compiler.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct QbeFunction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QbeStatement` is never constructed [INFO] [stdout] --> src/compiler.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | struct QbeStatement { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operation` is never used [INFO] [stdout] --> src/compiler.rs:58:6 [INFO] [stdout] | [INFO] [stdout] 58 | enum Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_operator` and `is_number` are never used [INFO] [stdout] --> src/parser.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 72 | fn is_operator(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn is_number(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.96s [INFO] running `Command { std: "docker" "inspect" "75d5cdbacc5f1469b36dc59303e7c18bff454ec8db09d6740046314f82c77d74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75d5cdbacc5f1469b36dc59303e7c18bff454ec8db09d6740046314f82c77d74", kill_on_drop: false }` [INFO] [stdout] 75d5cdbacc5f1469b36dc59303e7c18bff454ec8db09d6740046314f82c77d74