[INFO] cloning repository https://github.com/lantos1618/trash_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lantos1618/trash_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flantos1618%2Ftrash_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flantos1618%2Ftrash_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f9b27ea433c4e2bd3737146b26e3749d2036c478 [INFO] checking lantos1618/trash_rust against master#40daf23eeb711dadf140b2536e67e3ff4c999196 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flantos1618%2Ftrash_rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lantos1618/trash_rust on toolchain 40daf23eeb711dadf140b2536e67e3ff4c999196 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lantos1618/trash_rust [INFO] finished tweaking git repo https://github.com/lantos1618/trash_rust [INFO] tweaked toml for git repo https://github.com/lantos1618/trash_rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lantos1618/trash_rust 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" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded llvm-sys v170.0.1 [INFO] [stderr] Downloaded llvm-sys v160.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1be7f60ec612547613b3088b9bb70b1f496e1ca57078ac02069e2eddcfd4af9b [INFO] running `Command { std: "docker" "start" "-a" "1be7f60ec612547613b3088b9bb70b1f496e1ca57078ac02069e2eddcfd4af9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1be7f60ec612547613b3088b9bb70b1f496e1ca57078ac02069e2eddcfd4af9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1be7f60ec612547613b3088b9bb70b1f496e1ca57078ac02069e2eddcfd4af9b", kill_on_drop: false }` [INFO] [stdout] 1be7f60ec612547613b3088b9bb70b1f496e1ca57078ac02069e2eddcfd4af9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d479d05e3e00d96fb0ed6a5e517d6a41f9d67ccd804b1b61c81a4da1d7785f2b [INFO] running `Command { std: "docker" "start" "-a" "d479d05e3e00d96fb0ed6a5e517d6a41f9d67ccd804b1b61c81a4da1d7785f2b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling anyhow v1.0.77 [INFO] [stderr] Compiling regex-lite v0.1.5 [INFO] [stderr] Compiling thiserror v1.0.51 [INFO] [stderr] Compiling inkwell v0.2.0 (https://github.com/TheDan64/inkwell?branch=master#776d7871) [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling llvm-sys v170.0.1 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.51 [INFO] [stderr] Compiling inkwell_internals v0.8.0 (https://github.com/TheDan64/inkwell?branch=master#776d7871) [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling llvm-sys v160.1.4 [INFO] [stderr] Checking trash_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use inkwell::module::{self, Module}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use inkwell::module::{self, Module}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `varargs` should have an upper camel case name [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | varargs(Box), [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Varargs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:385:20 [INFO] [stdout] | [INFO] [stdout] 385 | if (lhs_val.is_int_value()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 385 - if (lhs_val.is_int_value()) { [INFO] [stdout] 385 + if lhs_val.is_int_value() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:507:20 [INFO] [stdout] | [INFO] [stdout] 507 | if (symbol_table.contains_key(name)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 507 - if (symbol_table.contains_key(name)) { [INFO] [stdout] 507 + if symbol_table.contains_key(name) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `varargs` should have an upper camel case name [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | varargs(Box), [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Varargs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:385:20 [INFO] [stdout] | [INFO] [stdout] 385 | if (lhs_val.is_int_value()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 385 - if (lhs_val.is_int_value()) { [INFO] [stdout] 385 + if lhs_val.is_int_value() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:507:20 [INFO] [stdout] | [INFO] [stdout] 507 | if (symbol_table.contains_key(name)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 507 - if (symbol_table.contains_key(name)) { [INFO] [stdout] 507 + if symbol_table.contains_key(name) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:656:13 [INFO] [stdout] | [INFO] [stdout] 656 | _ => unimplemented!("codegen_expr for {:?}", expr), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:656:13 [INFO] [stdout] | [INFO] [stdout] 158 | Expr::ExternFuncDef(extern_func_def) => { [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 253 | Expr::FuncDef(func_def) => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 356 | Expr::FuncCall(func_call) => { [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 374 | Expr::BinaryExpr(binary) => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 656 | _ => unimplemented!("codegen_expr for {:?}", expr), [INFO] [stdout] | ^ ...and 8 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:225:25 [INFO] [stdout] | [INFO] [stdout] 225 | _ => unimplemented!("codegen_expr for {:?}", expr), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:225:25 [INFO] [stdout] | [INFO] [stdout] 209 | IntSize::Int8 => self [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 213 | IntSize::Int16 => self [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 217 | IntSize::Int32 => self [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 221 | IntSize::Int64 => self [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 225 | _ => unimplemented!("codegen_expr for {:?}", expr), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:320:25 [INFO] [stdout] | [INFO] [stdout] 320 | _ => unimplemented!("codegen_expr for {:?}", expr), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:320:25 [INFO] [stdout] | [INFO] [stdout] 303 | IntSize::Int8 => self [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 307 | IntSize::Int16 => self [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 311 | IntSize::Int32 => self [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 315 | IntSize::Int64 => self [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 320 | _ => unimplemented!("codegen_expr for {:?}", expr), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/main.rs:247:21 [INFO] [stdout] | [INFO] [stdout] 247 | let function = [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:169:29 [INFO] [stdout] | [INFO] [stdout] 169 | ... _ => unimplemented!("codegen_expr for {:?}", expr), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:169:29 [INFO] [stdout] | [INFO] [stdout] 164 | ... IntSize::Int8 => self.context.i8_type().into(), [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] 165 | ... IntSize::Int16 => self.context.i16_type().into(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 166 | ... IntSize::Int32 => self.context.i32_type().into(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 167 | ... IntSize::Int64 => self.context.i64_type().into(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 168 | ... [INFO] [stdout] 169 | ... _ => unimplemented!("codegen_expr for {:?}", expr), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:186:37 [INFO] [stdout] | [INFO] [stdout] 186 | ... _ => unimplemented!("codegen_expr for {:?}", expr), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:186:37 [INFO] [stdout] | [INFO] [stdout] 181 | ... IntSize::Int8 => self.context.i8_type().into(), [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] 182 | ... IntSize::Int16 => self.context.i16_type().into(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 183 | ... IntSize::Int32 => self.context.i32_type().into(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 184 | ... IntSize::Int64 => self.context.i64_type().into(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 185 | ... [INFO] [stdout] 186 | ... _ => unimplemented!("codegen_expr for {:?}", expr), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:263:29 [INFO] [stdout] | [INFO] [stdout] 263 | ... _ => unimplemented!("codegen_expr for {:?}", expr), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:263:29 [INFO] [stdout] | [INFO] [stdout] 259 | ... IntSize::Int8 => self.context.i8_type().into(), [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] 260 | ... IntSize::Int16 => self.context.i16_type().into(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 261 | ... IntSize::Int32 => self.context.i32_type().into(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 262 | ... IntSize::Int64 => self.context.i64_type().into(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 263 | ... _ => unimplemented!("codegen_expr for {:?}", expr), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:656:13 [INFO] [stdout] | [INFO] [stdout] 656 | _ => unimplemented!("codegen_expr for {:?}", expr), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:656:13 [INFO] [stdout] | [INFO] [stdout] 158 | Expr::ExternFuncDef(extern_func_def) => { [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 253 | Expr::FuncDef(func_def) => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 356 | Expr::FuncCall(func_call) => { [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 374 | Expr::BinaryExpr(binary) => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 656 | _ => unimplemented!("codegen_expr for {:?}", expr), [INFO] [stdout] | ^ ...and 8 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:225:25 [INFO] [stdout] | [INFO] [stdout] 225 | _ => unimplemented!("codegen_expr for {:?}", expr), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:225:25 [INFO] [stdout] | [INFO] [stdout] 209 | IntSize::Int8 => self [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 213 | IntSize::Int16 => self [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 217 | IntSize::Int32 => self [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 221 | IntSize::Int64 => self [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 225 | _ => unimplemented!("codegen_expr for {:?}", expr), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:320:25 [INFO] [stdout] | [INFO] [stdout] 320 | _ => unimplemented!("codegen_expr for {:?}", expr), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:320:25 [INFO] [stdout] | [INFO] [stdout] 303 | IntSize::Int8 => self [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 307 | IntSize::Int16 => self [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 311 | IntSize::Int32 => self [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 315 | IntSize::Int64 => self [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 320 | _ => unimplemented!("codegen_expr for {:?}", expr), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/main.rs:247:21 [INFO] [stdout] | [INFO] [stdout] 247 | let function = [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:279:37 [INFO] [stdout] | [INFO] [stdout] 279 | ... _ => unimplemented!("codegen_expr for {:?}", expr), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:279:37 [INFO] [stdout] | [INFO] [stdout] 275 | ... IntSize::Int8 => self.context.i8_type().into(), [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] 276 | ... IntSize::Int16 => self.context.i16_type().into(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 277 | ... IntSize::Int32 => self.context.i32_type().into(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 278 | ... IntSize::Int64 => self.context.i64_type().into(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 279 | ... _ => unimplemented!("codegen_expr for {:?}", expr), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:169:29 [INFO] [stdout] | [INFO] [stdout] 169 | ... _ => unimplemented!("codegen_expr for {:?}", expr), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:169:29 [INFO] [stdout] | [INFO] [stdout] 164 | ... IntSize::Int8 => self.context.i8_type().into(), [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] 165 | ... IntSize::Int16 => self.context.i16_type().into(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 166 | ... IntSize::Int32 => self.context.i32_type().into(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 167 | ... IntSize::Int64 => self.context.i64_type().into(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 168 | ... [INFO] [stdout] 169 | ... _ => unimplemented!("codegen_expr for {:?}", expr), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:186:37 [INFO] [stdout] | [INFO] [stdout] 186 | ... _ => unimplemented!("codegen_expr for {:?}", expr), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:186:37 [INFO] [stdout] | [INFO] [stdout] 181 | ... IntSize::Int8 => self.context.i8_type().into(), [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] 182 | ... IntSize::Int16 => self.context.i16_type().into(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 183 | ... IntSize::Int32 => self.context.i32_type().into(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 184 | ... IntSize::Int64 => self.context.i64_type().into(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 185 | ... [INFO] [stdout] 186 | ... _ => unimplemented!("codegen_expr for {:?}", expr), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:263:29 [INFO] [stdout] | [INFO] [stdout] 263 | ... _ => unimplemented!("codegen_expr for {:?}", expr), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:263:29 [INFO] [stdout] | [INFO] [stdout] 259 | ... IntSize::Int8 => self.context.i8_type().into(), [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] 260 | ... IntSize::Int16 => self.context.i16_type().into(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 261 | ... IntSize::Int32 => self.context.i32_type().into(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 262 | ... IntSize::Int64 => self.context.i64_type().into(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 263 | ... _ => unimplemented!("codegen_expr for {:?}", expr), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:279:37 [INFO] [stdout] | [INFO] [stdout] 279 | ... _ => unimplemented!("codegen_expr for {:?}", expr), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:279:37 [INFO] [stdout] | [INFO] [stdout] 275 | ... IntSize::Int8 => self.context.i8_type().into(), [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] 276 | ... IntSize::Int16 => self.context.i16_type().into(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 277 | ... IntSize::Int32 => self.context.i32_type().into(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 278 | ... IntSize::Int64 => self.context.i64_type().into(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 279 | ... _ => unimplemented!("codegen_expr for {:?}", expr), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Int16` is never constructed [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum IntSize { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 16 | Int8, [INFO] [stdout] 17 | Int16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IntSize` has derived impls for the traits `Debug` and `Clone`, 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 `Float`, `Bool`, `Void`, `FuncDef`, and `StructDef` are never constructed [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | enum TypeExpr { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 24 | Int(IntSize), [INFO] [stdout] 25 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | String, [INFO] [stdout] 27 | Bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | Void, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | FuncDef { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | StructDef { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeExpr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Float`, `String`, and `Bool` are never constructed [INFO] [stdout] --> src/main.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 55 | enum Literal { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 56 | Int(i64), [INFO] [stdout] 57 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 59 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/main.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 81 | enum BinaryOp { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 82 | Add, [INFO] [stdout] 83 | Sub, [INFO] [stdout] | ^^^ [INFO] [stdout] 84 | Mul, [INFO] [stdout] | ^^^ [INFO] [stdout] 85 | Div, [INFO] [stdout] | ^^^ [INFO] [stdout] 86 | Mod, [INFO] [stdout] | ^^^ [INFO] [stdout] 87 | Eq, [INFO] [stdout] | ^^ [INFO] [stdout] 88 | Ne, [INFO] [stdout] | ^^ [INFO] [stdout] 89 | Lt, [INFO] [stdout] 90 | Lte, [INFO] [stdout] | ^^^ [INFO] [stdout] 91 | Gt, [INFO] [stdout] | ^^ [INFO] [stdout] 92 | Gte, [INFO] [stdout] | ^^^ [INFO] [stdout] 93 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 94 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOp` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `IfExpr` and `FuncCall` are never constructed [INFO] [stdout] --> src/main.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 118 | enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 125 | IfExpr(IfExpr), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | FuncCall(FuncCall), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Int16` is never constructed [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum IntSize { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 16 | Int8, [INFO] [stdout] 17 | Int16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IntSize` has derived impls for the traits `Debug` and `Clone`, 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 `Float`, `Bool`, `Void`, `FuncDef`, and `StructDef` are never constructed [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | enum TypeExpr { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 24 | Int(IntSize), [INFO] [stdout] 25 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | String, [INFO] [stdout] 27 | Bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | Void, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | FuncDef { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | StructDef { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeExpr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Float`, `String`, and `Bool` are never constructed [INFO] [stdout] --> src/main.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 55 | enum Literal { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 56 | Int(i64), [INFO] [stdout] 57 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 59 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/main.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 81 | enum BinaryOp { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 82 | Add, [INFO] [stdout] 83 | Sub, [INFO] [stdout] | ^^^ [INFO] [stdout] 84 | Mul, [INFO] [stdout] | ^^^ [INFO] [stdout] 85 | Div, [INFO] [stdout] | ^^^ [INFO] [stdout] 86 | Mod, [INFO] [stdout] | ^^^ [INFO] [stdout] 87 | Eq, [INFO] [stdout] | ^^ [INFO] [stdout] 88 | Ne, [INFO] [stdout] | ^^ [INFO] [stdout] 89 | Lt, [INFO] [stdout] 90 | Lte, [INFO] [stdout] | ^^^ [INFO] [stdout] 91 | Gt, [INFO] [stdout] | ^^ [INFO] [stdout] 92 | Gte, [INFO] [stdout] | ^^^ [INFO] [stdout] 93 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 94 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOp` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `IfExpr` and `FuncCall` are never constructed [INFO] [stdout] --> src/main.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 118 | enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 125 | IfExpr(IfExpr), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | FuncCall(FuncCall), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.95s [INFO] running `Command { std: "docker" "inspect" "d479d05e3e00d96fb0ed6a5e517d6a41f9d67ccd804b1b61c81a4da1d7785f2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d479d05e3e00d96fb0ed6a5e517d6a41f9d67ccd804b1b61c81a4da1d7785f2b", kill_on_drop: false }` [INFO] [stdout] d479d05e3e00d96fb0ed6a5e517d6a41f9d67ccd804b1b61c81a4da1d7785f2b