[INFO] cloning repository https://github.com/mirisa-lang/mirisa [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mirisa-lang/mirisa" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmirisa-lang%2Fmirisa", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmirisa-lang%2Fmirisa'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 10309ebc9069df0cb4bdd163b53bd6bae9f38222 [INFO] checking mirisa-lang/mirisa against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmirisa-lang%2Fmirisa" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mirisa-lang/mirisa on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mirisa-lang/mirisa [INFO] finished tweaking git repo https://github.com/mirisa-lang/mirisa [INFO] tweaked toml for git repo https://github.com/mirisa-lang/mirisa written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mirisa-lang/mirisa 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 747eb004fb447657d6e7c3c865d33083a912668e9e79cf6884b06a1f664777b7 [INFO] running `Command { std: "docker" "start" "-a" "747eb004fb447657d6e7c3c865d33083a912668e9e79cf6884b06a1f664777b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "747eb004fb447657d6e7c3c865d33083a912668e9e79cf6884b06a1f664777b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "747eb004fb447657d6e7c3c865d33083a912668e9e79cf6884b06a1f664777b7", kill_on_drop: false }` [INFO] [stdout] 747eb004fb447657d6e7c3c865d33083a912668e9e79cf6884b06a1f664777b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f167d93c6df0e1cdf1878aff839b80a87f739fc14480fb5f7b4f2047ff019b73 [INFO] running `Command { std: "docker" "start" "-a" "f167d93c6df0e1cdf1878aff839b80a87f739fc14480fb5f7b4f2047ff019b73", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling pest v2.7.7 [INFO] [stderr] Compiling pest_meta v2.7.7 [INFO] [stderr] Compiling pest_generator v2.7.7 [INFO] [stderr] Compiling pest_derive v2.7.7 [INFO] [stderr] Checking mirisa v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codegen.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn codegen(mut program: TypedProgram) -> String { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/typed_ast.rs:96:2 [INFO] [stdout] | [INFO] [stdout] 94 | pub enum TypedExpressionInner<'a> { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] 95 | Integer(i128), [INFO] [stdout] 96 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 97 | Boolean(bool), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 98 | String(&'a str), [INFO] [stdout] 99 | Unit, [INFO] [stdout] | ^^^^ [INFO] [stdout] 100 | Identifier(&'a str), [INFO] [stdout] 101 | Array(Vec>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 102 | Structure(Vec<(&'a str, TypedExpression<'a>)>), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 103 | Call(Box>, Vec>), [INFO] [stdout] 104 | Indexing(Box>, Box>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 105 | FieldAccess(Box>, &'a str), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 106 | Negation(Box>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 107 | Reference(Box>), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 108 | Or(Box>, Box>), [INFO] [stdout] | ^^ [INFO] [stdout] 109 | And(Box>, Box>), [INFO] [stdout] | ^^^ [INFO] [stdout] 110 | Eq(Box>, Box>), [INFO] [stdout] | ^^ [INFO] [stdout] 111 | Ne(Box>, Box>), [INFO] [stdout] | ^^ [INFO] [stdout] 112 | Lt(Box>, Box>), [INFO] [stdout] | ^^ [INFO] [stdout] 113 | Gt(Box>, Box>), [INFO] [stdout] | ^^ [INFO] [stdout] 114 | Le(Box>, Box>), [INFO] [stdout] | ^^ [INFO] [stdout] 115 | Ge(Box>, Box>), [INFO] [stdout] | ^^ [INFO] [stdout] 116 | Add(Box>, Box>), [INFO] [stdout] | ^^^ [INFO] [stdout] 117 | Sub(Box>, Box>), [INFO] [stdout] | ^^^ [INFO] [stdout] 118 | Mul(Box>, Box>), [INFO] [stdout] | ^^^ [INFO] [stdout] 119 | Div(Box>, Box>), [INFO] [stdout] | ^^^ [INFO] [stdout] 120 | Rem(Box>, Box>), [INFO] [stdout] | ^^^ [INFO] [stdout] 121 | As(Box>) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedExpressionInner` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Identifier`, `Dereference`, `Indexing`, and `FieldAccess` are never constructed [INFO] [stdout] --> src/typed_ast.rs:183:2 [INFO] [stdout] | [INFO] [stdout] 182 | pub enum TypedLexpression<'a> { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 183 | Identifier(&'a str), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 184 | Dereference(Box>), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 185 | Indexing(Box>, Box>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 186 | FieldAccess(Box>, &'a str) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedLexpression` 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 `Add`, `Sub`, `Mul`, `Div`, `Rem`, and `None` are never constructed [INFO] [stdout] --> src/typed_ast.rs:191:2 [INFO] [stdout] | [INFO] [stdout] 190 | pub enum TypedReassignmentOp { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 191 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 192 | Sub, [INFO] [stdout] | ^^^ [INFO] [stdout] 193 | Mul, [INFO] [stdout] | ^^^ [INFO] [stdout] 194 | Div, [INFO] [stdout] | ^^^ [INFO] [stdout] 195 | Rem, [INFO] [stdout] | ^^^ [INFO] [stdout] 196 | None [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedReassignmentOp` 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: multiple variants are never constructed [INFO] [stdout] --> src/typed_ast.rs:240:2 [INFO] [stdout] | [INFO] [stdout] 239 | pub enum TypedStatementInner<'a> { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 240 | Declaration(TypedDeclaration<'a>), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 241 | Reassignment{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | If { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 252 | While { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | DoWhile { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | Try { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | Block(Vec>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | Break, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 268 | Continue [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedStatementInner` 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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codegen.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn codegen(mut program: TypedProgram) -> String { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/typed_ast.rs:96:2 [INFO] [stdout] | [INFO] [stdout] 94 | pub enum TypedExpressionInner<'a> { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] 95 | Integer(i128), [INFO] [stdout] 96 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 97 | Boolean(bool), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 98 | String(&'a str), [INFO] [stdout] 99 | Unit, [INFO] [stdout] | ^^^^ [INFO] [stdout] 100 | Identifier(&'a str), [INFO] [stdout] 101 | Array(Vec>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 102 | Structure(Vec<(&'a str, TypedExpression<'a>)>), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 103 | Call(Box>, Vec>), [INFO] [stdout] 104 | Indexing(Box>, Box>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 105 | FieldAccess(Box>, &'a str), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 106 | Negation(Box>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 107 | Reference(Box>), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 108 | Or(Box>, Box>), [INFO] [stdout] | ^^ [INFO] [stdout] 109 | And(Box>, Box>), [INFO] [stdout] | ^^^ [INFO] [stdout] 110 | Eq(Box>, Box>), [INFO] [stdout] | ^^ [INFO] [stdout] 111 | Ne(Box>, Box>), [INFO] [stdout] | ^^ [INFO] [stdout] 112 | Lt(Box>, Box>), [INFO] [stdout] | ^^ [INFO] [stdout] 113 | Gt(Box>, Box>), [INFO] [stdout] | ^^ [INFO] [stdout] 114 | Le(Box>, Box>), [INFO] [stdout] | ^^ [INFO] [stdout] 115 | Ge(Box>, Box>), [INFO] [stdout] | ^^ [INFO] [stdout] 116 | Add(Box>, Box>), [INFO] [stdout] | ^^^ [INFO] [stdout] 117 | Sub(Box>, Box>), [INFO] [stdout] | ^^^ [INFO] [stdout] 118 | Mul(Box>, Box>), [INFO] [stdout] | ^^^ [INFO] [stdout] 119 | Div(Box>, Box>), [INFO] [stdout] | ^^^ [INFO] [stdout] 120 | Rem(Box>, Box>), [INFO] [stdout] | ^^^ [INFO] [stdout] 121 | As(Box>) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedExpressionInner` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Identifier`, `Dereference`, `Indexing`, and `FieldAccess` are never constructed [INFO] [stdout] --> src/typed_ast.rs:183:2 [INFO] [stdout] | [INFO] [stdout] 182 | pub enum TypedLexpression<'a> { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 183 | Identifier(&'a str), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 184 | Dereference(Box>), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 185 | Indexing(Box>, Box>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 186 | FieldAccess(Box>, &'a str) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedLexpression` 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 `Add`, `Sub`, `Mul`, `Div`, `Rem`, and `None` are never constructed [INFO] [stdout] --> src/typed_ast.rs:191:2 [INFO] [stdout] | [INFO] [stdout] 190 | pub enum TypedReassignmentOp { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 191 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 192 | Sub, [INFO] [stdout] | ^^^ [INFO] [stdout] 193 | Mul, [INFO] [stdout] | ^^^ [INFO] [stdout] 194 | Div, [INFO] [stdout] | ^^^ [INFO] [stdout] 195 | Rem, [INFO] [stdout] | ^^^ [INFO] [stdout] 196 | None [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedReassignmentOp` 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: multiple variants are never constructed [INFO] [stdout] --> src/typed_ast.rs:240:2 [INFO] [stdout] | [INFO] [stdout] 239 | pub enum TypedStatementInner<'a> { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 240 | Declaration(TypedDeclaration<'a>), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 241 | Reassignment{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | If { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 252 | While { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | DoWhile { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | Try { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | Block(Vec>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | Break, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 268 | Continue [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedStatementInner` 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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.94s [INFO] running `Command { std: "docker" "inspect" "f167d93c6df0e1cdf1878aff839b80a87f739fc14480fb5f7b4f2047ff019b73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f167d93c6df0e1cdf1878aff839b80a87f739fc14480fb5f7b4f2047ff019b73", kill_on_drop: false }` [INFO] [stdout] f167d93c6df0e1cdf1878aff839b80a87f739fc14480fb5f7b4f2047ff019b73 [INFO] checking mirisa-lang/mirisa against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmirisa-lang%2Fmirisa" "/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/mirisa-lang/mirisa on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mirisa-lang/mirisa [INFO] finished tweaking git repo https://github.com/mirisa-lang/mirisa [INFO] tweaked toml for git repo https://github.com/mirisa-lang/mirisa written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mirisa-lang/mirisa 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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86fd98c4f79ba1a12e428a85fb0b202cda11770711a5da0351c8d4a5787af058 [INFO] running `Command { std: "docker" "start" "-a" "86fd98c4f79ba1a12e428a85fb0b202cda11770711a5da0351c8d4a5787af058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86fd98c4f79ba1a12e428a85fb0b202cda11770711a5da0351c8d4a5787af058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86fd98c4f79ba1a12e428a85fb0b202cda11770711a5da0351c8d4a5787af058", kill_on_drop: false }` [INFO] [stdout] 86fd98c4f79ba1a12e428a85fb0b202cda11770711a5da0351c8d4a5787af058 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6b66103e5b2006d673a5749a3b815b313b0d7b54ce6005ca10e0889d9540fd6 [INFO] running `Command { std: "docker" "start" "-a" "b6b66103e5b2006d673a5749a3b815b313b0d7b54ce6005ca10e0889d9540fd6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling pest v2.7.7 [INFO] [stderr] Compiling pest_meta v2.7.7 [INFO] [stderr] Compiling pest_generator v2.7.7 [INFO] [stderr] Compiling pest_derive v2.7.7 [INFO] [stderr] Checking mirisa v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codegen.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn codegen(mut program: TypedProgram) -> String { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/typed_ast.rs:96:2 [INFO] [stdout] | [INFO] [stdout] 94 | pub enum TypedExpressionInner<'a> { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] 95 | Integer(i128), [INFO] [stdout] 96 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 97 | Boolean(bool), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 98 | String(&'a str), [INFO] [stdout] 99 | Unit, [INFO] [stdout] | ^^^^ [INFO] [stdout] 100 | Identifier(&'a str), [INFO] [stdout] 101 | Array(Vec>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 102 | Structure(Vec<(&'a str, TypedExpression<'a>)>), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 103 | Call(Box>, Vec>), [INFO] [stdout] 104 | Indexing(Box>, Box>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 105 | FieldAccess(Box>, &'a str), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 106 | Negation(Box>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 107 | Reference(Box>), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 108 | Or(Box>, Box>), [INFO] [stdout] | ^^ [INFO] [stdout] 109 | And(Box>, Box>), [INFO] [stdout] | ^^^ [INFO] [stdout] 110 | Eq(Box>, Box>), [INFO] [stdout] | ^^ [INFO] [stdout] 111 | Ne(Box>, Box>), [INFO] [stdout] | ^^ [INFO] [stdout] 112 | Lt(Box>, Box>), [INFO] [stdout] | ^^ [INFO] [stdout] 113 | Gt(Box>, Box>), [INFO] [stdout] | ^^ [INFO] [stdout] 114 | Le(Box>, Box>), [INFO] [stdout] | ^^ [INFO] [stdout] 115 | Ge(Box>, Box>), [INFO] [stdout] | ^^ [INFO] [stdout] 116 | Add(Box>, Box>), [INFO] [stdout] | ^^^ [INFO] [stdout] 117 | Sub(Box>, Box>), [INFO] [stdout] | ^^^ [INFO] [stdout] 118 | Mul(Box>, Box>), [INFO] [stdout] | ^^^ [INFO] [stdout] 119 | Div(Box>, Box>), [INFO] [stdout] | ^^^ [INFO] [stdout] 120 | Rem(Box>, Box>), [INFO] [stdout] | ^^^ [INFO] [stdout] 121 | As(Box>) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedExpressionInner` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Identifier`, `Dereference`, `Indexing`, and `FieldAccess` are never constructed [INFO] [stdout] --> src/typed_ast.rs:183:2 [INFO] [stdout] | [INFO] [stdout] 182 | pub enum TypedLexpression<'a> { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 183 | Identifier(&'a str), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 184 | Dereference(Box>), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 185 | Indexing(Box>, Box>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 186 | FieldAccess(Box>, &'a str) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedLexpression` 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 `Add`, `Sub`, `Mul`, `Div`, `Rem`, and `None` are never constructed [INFO] [stdout] --> src/typed_ast.rs:191:2 [INFO] [stdout] | [INFO] [stdout] 190 | pub enum TypedReassignmentOp { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 191 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 192 | Sub, [INFO] [stdout] | ^^^ [INFO] [stdout] 193 | Mul, [INFO] [stdout] | ^^^ [INFO] [stdout] 194 | Div, [INFO] [stdout] | ^^^ [INFO] [stdout] 195 | Rem, [INFO] [stdout] | ^^^ [INFO] [stdout] 196 | None [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedReassignmentOp` 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: multiple variants are never constructed [INFO] [stdout] --> src/typed_ast.rs:240:2 [INFO] [stdout] | [INFO] [stdout] 239 | pub enum TypedStatementInner<'a> { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 240 | Declaration(TypedDeclaration<'a>), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 241 | Reassignment{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | If { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 252 | While { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | DoWhile { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | Try { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | Block(Vec>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | Break, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 268 | Continue [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedStatementInner` 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: variable does not need to be mutable [INFO] [stdout] --> src/codegen.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn codegen(mut program: TypedProgram) -> String { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/typed_ast.rs:96:2 [INFO] [stdout] | [INFO] [stdout] 94 | pub enum TypedExpressionInner<'a> { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] 95 | Integer(i128), [INFO] [stdout] 96 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 97 | Boolean(bool), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 98 | String(&'a str), [INFO] [stdout] 99 | Unit, [INFO] [stdout] | ^^^^ [INFO] [stdout] 100 | Identifier(&'a str), [INFO] [stdout] 101 | Array(Vec>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 102 | Structure(Vec<(&'a str, TypedExpression<'a>)>), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 103 | Call(Box>, Vec>), [INFO] [stdout] 104 | Indexing(Box>, Box>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 105 | FieldAccess(Box>, &'a str), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 106 | Negation(Box>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 107 | Reference(Box>), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 108 | Or(Box>, Box>), [INFO] [stdout] | ^^ [INFO] [stdout] 109 | And(Box>, Box>), [INFO] [stdout] | ^^^ [INFO] [stdout] 110 | Eq(Box>, Box>), [INFO] [stdout] | ^^ [INFO] [stdout] 111 | Ne(Box>, Box>), [INFO] [stdout] | ^^ [INFO] [stdout] 112 | Lt(Box>, Box>), [INFO] [stdout] | ^^ [INFO] [stdout] 113 | Gt(Box>, Box>), [INFO] [stdout] | ^^ [INFO] [stdout] 114 | Le(Box>, Box>), [INFO] [stdout] | ^^ [INFO] [stdout] 115 | Ge(Box>, Box>), [INFO] [stdout] | ^^ [INFO] [stdout] 116 | Add(Box>, Box>), [INFO] [stdout] | ^^^ [INFO] [stdout] 117 | Sub(Box>, Box>), [INFO] [stdout] | ^^^ [INFO] [stdout] 118 | Mul(Box>, Box>), [INFO] [stdout] | ^^^ [INFO] [stdout] 119 | Div(Box>, Box>), [INFO] [stdout] | ^^^ [INFO] [stdout] 120 | Rem(Box>, Box>), [INFO] [stdout] | ^^^ [INFO] [stdout] 121 | As(Box>) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedExpressionInner` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Identifier`, `Dereference`, `Indexing`, and `FieldAccess` are never constructed [INFO] [stdout] --> src/typed_ast.rs:183:2 [INFO] [stdout] | [INFO] [stdout] 182 | pub enum TypedLexpression<'a> { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 183 | Identifier(&'a str), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 184 | Dereference(Box>), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 185 | Indexing(Box>, Box>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 186 | FieldAccess(Box>, &'a str) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedLexpression` 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 `Add`, `Sub`, `Mul`, `Div`, `Rem`, and `None` are never constructed [INFO] [stdout] --> src/typed_ast.rs:191:2 [INFO] [stdout] | [INFO] [stdout] 190 | pub enum TypedReassignmentOp { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 191 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 192 | Sub, [INFO] [stdout] | ^^^ [INFO] [stdout] 193 | Mul, [INFO] [stdout] | ^^^ [INFO] [stdout] 194 | Div, [INFO] [stdout] | ^^^ [INFO] [stdout] 195 | Rem, [INFO] [stdout] | ^^^ [INFO] [stdout] 196 | None [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedReassignmentOp` 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: multiple variants are never constructed [INFO] [stdout] --> src/typed_ast.rs:240:2 [INFO] [stdout] | [INFO] [stdout] 239 | pub enum TypedStatementInner<'a> { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 240 | Declaration(TypedDeclaration<'a>), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 241 | Reassignment{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | If { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 252 | While { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | DoWhile { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | Try { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | Block(Vec>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | Break, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 268 | Continue [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedStatementInner` 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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.74s [INFO] running `Command { std: "docker" "inspect" "b6b66103e5b2006d673a5749a3b815b313b0d7b54ce6005ca10e0889d9540fd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6b66103e5b2006d673a5749a3b815b313b0d7b54ce6005ca10e0889d9540fd6", kill_on_drop: false }` [INFO] [stdout] b6b66103e5b2006d673a5749a3b815b313b0d7b54ce6005ca10e0889d9540fd6