[INFO] cloning repository https://github.com/jack3898/wrig [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jack3898/wrig" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjack3898%2Fwrig", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjack3898%2Fwrig'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8658df21a7f02a06105b514bebf22776c4bd69cf [INFO] checking jack3898/wrig against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjack3898%2Fwrig" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jack3898/wrig on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jack3898/wrig [INFO] finished tweaking git repo https://github.com/jack3898/wrig [INFO] tweaked toml for git repo https://github.com/jack3898/wrig written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jack3898/wrig 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24441c29e81c4005c00f5b070c72aa8140de3b248f6be126c31de18c215237b9 [INFO] running `Command { std: "docker" "start" "-a" "24441c29e81c4005c00f5b070c72aa8140de3b248f6be126c31de18c215237b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24441c29e81c4005c00f5b070c72aa8140de3b248f6be126c31de18c215237b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24441c29e81c4005c00f5b070c72aa8140de3b248f6be126c31de18c215237b9", kill_on_drop: false }` [INFO] [stdout] 24441c29e81c4005c00f5b070c72aa8140de3b248f6be126c31de18c215237b9 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2229bf9ee1624b3606558ec73551786def478fb4aba5da0644238bf2d190bc3 [INFO] running `Command { std: "docker" "start" "-a" "c2229bf9ee1624b3606558ec73551786def478fb4aba5da0644238bf2d190bc3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Checking wrig v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `UnexpectedToken`, `ParseError`, `PrimaryError`, and `UndefinedLiteral` are never constructed [INFO] [stdout] --> src/components/parser.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum ParserError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 13 | #[error("Unexpected token '{found}', expected {expected} on line {line}")] [INFO] [stdout] 14 | UnexpectedToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | ParseError { message: String }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | #[error("No primary found on line {line}")] [INFO] [stdout] 22 | PrimaryError { line: usize }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 23 | #[error("No literal type found on line {line}")] [INFO] [stdout] 24 | UndefinedLiteral { line: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` 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] [INFO] [stdout] [INFO] [stdout] warning: trait `ASTOperations` is never used [INFO] [stdout] --> src/components/parser.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | trait ASTOperations { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `parse`, `consume`, `match_token_type`, and `current_eq` are never used [INFO] [stdout] --> src/components/parser.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 147 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 148 | pub fn new(tokens: &'a Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn parse(&mut self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | fn consume( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | fn match_token_type(&mut self, check_token_types: &[TokenType]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | fn current_eq(&self, check_token: TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Binary`, `Grouping`, `Literal`, and `Unary` are never constructed [INFO] [stdout] --> src/components/parser_components/expr.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 5 | Binary(Box, Token, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | Grouping(Box), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | Literal(LiteralType), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | Unary(Token, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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 `Bool` and `Nil` are never constructed [INFO] [stdout] --> src/components/token_components/literal_type.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum LiteralType { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 5 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiteralType` 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: variants `Bang`, `Greater`, and `Less` are never constructed [INFO] [stdout] --> src/components/token_components/token_type.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | Bang, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | Greater, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | GreaterEqual, [INFO] [stdout] 23 | Less, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `String` to `String` [INFO] [stdout] --> src/components/scanner.rs:239:21 [INFO] [stdout] | [INFO] [stdout] 239 | lexeme: lexeme.into(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UnexpectedToken` and `UndefinedLiteral` are never constructed [INFO] [stdout] --> src/components/parser.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum ParserError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 13 | #[error("Unexpected token '{found}', expected {expected} on line {line}")] [INFO] [stdout] 14 | UnexpectedToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | UndefinedLiteral { line: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` 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] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `String` to `String` [INFO] [stdout] --> src/components/scanner.rs:239:21 [INFO] [stdout] | [INFO] [stdout] 239 | lexeme: lexeme.into(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wrig` (bin "wrig") due to 1 previous error; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wrig` (bin "wrig" test) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c2229bf9ee1624b3606558ec73551786def478fb4aba5da0644238bf2d190bc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2229bf9ee1624b3606558ec73551786def478fb4aba5da0644238bf2d190bc3", kill_on_drop: false }` [INFO] [stdout] c2229bf9ee1624b3606558ec73551786def478fb4aba5da0644238bf2d190bc3