[INFO] cloning repository https://github.com/samjkennedy/Loquat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/samjkennedy/Loquat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamjkennedy%2FLoquat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamjkennedy%2FLoquat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d734cf24ce4a4476ed9b3ab34bbcee052ec1daf [INFO] checking samjkennedy/Loquat against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamjkennedy%2FLoquat" "/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/samjkennedy/Loquat on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/samjkennedy/Loquat [INFO] finished tweaking git repo https://github.com/samjkennedy/Loquat [INFO] tweaked toml for git repo https://github.com/samjkennedy/Loquat written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/samjkennedy/Loquat 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72f2eca132b4cf9c68250b767feba54122b4f13329b3a1159b34c5951541a6a0 [INFO] running `Command { std: "docker" "start" "-a" "72f2eca132b4cf9c68250b767feba54122b4f13329b3a1159b34c5951541a6a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72f2eca132b4cf9c68250b767feba54122b4f13329b3a1159b34c5951541a6a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72f2eca132b4cf9c68250b767feba54122b4f13329b3a1159b34c5951541a6a0", kill_on_drop: false }` [INFO] [stdout] 72f2eca132b4cf9c68250b767feba54122b4f13329b3a1159b34c5951541a6a0 [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c15a22189caf4f42c21f82f688e43a0eef2dac96983886f00fcd26a3bf74f6d7 [INFO] running `Command { std: "docker" "start" "-a" "c15a22189caf4f42c21f82f688e43a0eef2dac96983886f00fcd26a3bf74f6d7", kill_on_drop: false }` [INFO] [stderr] Checking dolang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `parser::Operand` [INFO] [stdout] --> src/compiler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | parser::Operand, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parser::Operand` [INFO] [stdout] --> src/compiler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | parser::Operand, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ops` [INFO] [stdout] --> src/compiler.rs:926:35 [INFO] [stdout] | [INFO] [stdout] 926 | CheckedOperand::Seq { ops } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `ops: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/compiler.rs:933:38 [INFO] [stdout] | [INFO] [stdout] 933 | CheckedOperand::String { value } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ops` [INFO] [stdout] --> src/compiler.rs:926:35 [INFO] [stdout] | [INFO] [stdout] 926 | CheckedOperand::Seq { ops } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `ops: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/compiler.rs:933:38 [INFO] [stdout] | [INFO] [stdout] 933 | CheckedOperand::String { value } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/lexer.rs:266:69 [INFO] [stdout] | [INFO] [stdout] 266 | let (text, bytes_read) = self.take_while(line, |c| true)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/lexer.rs:266:69 [INFO] [stdout] | [INFO] [stdout] 266 | let (text, bytes_read) = self.take_while(line, |c| true)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/parser.rs:392:52 [INFO] [stdout] | [INFO] [stdout] 392 | if let TokenKind::Identifier { text } = &actual.kind { [INFO] [stdout] | ^^^^ help: try ignoring the field: `text: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/parser.rs:392:52 [INFO] [stdout] | [INFO] [stdout] 392 | if let TokenKind::Identifier { text } = &actual.kind { [INFO] [stdout] | ^^^^ help: try ignoring the field: `text: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/type_checker.rs:1117:28 [INFO] [stdout] | [INFO] [stdout] 1117 | if let TypePatternKind::Literal { value } = &kind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_type_stack` [INFO] [stdout] --> src/type_checker.rs:452:25 [INFO] [stdout] | [INFO] [stdout] 452 | let end_type_stack = function_type_checker.type_stack.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_type_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/type_checker.rs:1117:28 [INFO] [stdout] | [INFO] [stdout] 1117 | if let TypePatternKind::Literal { value } = &kind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_type_stack` [INFO] [stdout] --> src/type_checker.rs:452:25 [INFO] [stdout] | [INFO] [stdout] 452 | let end_type_stack = function_type_checker.type_stack.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_type_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `identifier` [INFO] [stdout] --> src/type_checker.rs:1264:17 [INFO] [stdout] | [INFO] [stdout] 1264 | identifier, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `identifier: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expression` [INFO] [stdout] --> src/type_checker.rs:1265:17 [INFO] [stdout] | [INFO] [stdout] 1265 | expression, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `expression: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `identifier` [INFO] [stdout] --> src/type_checker.rs:1264:17 [INFO] [stdout] | [INFO] [stdout] 1264 | identifier, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `identifier: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expression` [INFO] [stdout] --> src/type_checker.rs:1265:17 [INFO] [stdout] | [INFO] [stdout] 1265 | expression, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `expression: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eof_loc` [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let eof_loc = &tokens[tokens_len - 1].loc.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eof_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eof_loc` [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let eof_loc = &tokens[tokens_len - 1].loc.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eof_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] running `Command { std: "docker" "inspect" "c15a22189caf4f42c21f82f688e43a0eef2dac96983886f00fcd26a3bf74f6d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c15a22189caf4f42c21f82f688e43a0eef2dac96983886f00fcd26a3bf74f6d7", kill_on_drop: false }` [INFO] [stdout] c15a22189caf4f42c21f82f688e43a0eef2dac96983886f00fcd26a3bf74f6d7 [INFO] checking samjkennedy/Loquat against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamjkennedy%2FLoquat" "/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/samjkennedy/Loquat on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/samjkennedy/Loquat [INFO] finished tweaking git repo https://github.com/samjkennedy/Loquat [INFO] tweaked toml for git repo https://github.com/samjkennedy/Loquat written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/samjkennedy/Loquat 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11cfb7e25bca3e394c54eee38163f9a7dcb53410610f9fb75cdf40ae77a97223 [INFO] running `Command { std: "docker" "start" "-a" "11cfb7e25bca3e394c54eee38163f9a7dcb53410610f9fb75cdf40ae77a97223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11cfb7e25bca3e394c54eee38163f9a7dcb53410610f9fb75cdf40ae77a97223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11cfb7e25bca3e394c54eee38163f9a7dcb53410610f9fb75cdf40ae77a97223", kill_on_drop: false }` [INFO] [stdout] 11cfb7e25bca3e394c54eee38163f9a7dcb53410610f9fb75cdf40ae77a97223 [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 -Dtail_expr_drop_order" "-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b09a332cff163d36fea749c281e82aca3d6543e207dc32c67da879de6cf51429 [INFO] running `Command { std: "docker" "start" "-a" "b09a332cff163d36fea749c281e82aca3d6543e207dc32c67da879de6cf51429", kill_on_drop: false }` [INFO] [stderr] Checking dolang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `parser::Operand` [INFO] [stdout] --> src/compiler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | parser::Operand, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parser::Operand` [INFO] [stdout] --> src/compiler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | parser::Operand, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ops` [INFO] [stdout] --> src/compiler.rs:926:35 [INFO] [stdout] | [INFO] [stdout] 926 | CheckedOperand::Seq { ops } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `ops: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/compiler.rs:933:38 [INFO] [stdout] | [INFO] [stdout] 933 | CheckedOperand::String { value } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ops` [INFO] [stdout] --> src/compiler.rs:926:35 [INFO] [stdout] | [INFO] [stdout] 926 | CheckedOperand::Seq { ops } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `ops: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/compiler.rs:933:38 [INFO] [stdout] | [INFO] [stdout] 933 | CheckedOperand::String { value } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/lexer.rs:266:69 [INFO] [stdout] | [INFO] [stdout] 266 | let (text, bytes_read) = self.take_while(line, |c| true)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/lexer.rs:266:69 [INFO] [stdout] | [INFO] [stdout] 266 | let (text, bytes_read) = self.take_while(line, |c| true)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/parser.rs:392:52 [INFO] [stdout] | [INFO] [stdout] 392 | if let TokenKind::Identifier { text } = &actual.kind { [INFO] [stdout] | ^^^^ help: try ignoring the field: `text: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/parser.rs:392:52 [INFO] [stdout] | [INFO] [stdout] 392 | if let TokenKind::Identifier { text } = &actual.kind { [INFO] [stdout] | ^^^^ help: try ignoring the field: `text: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/type_checker.rs:1117:28 [INFO] [stdout] | [INFO] [stdout] 1117 | if let TypePatternKind::Literal { value } = &kind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_type_stack` [INFO] [stdout] --> src/type_checker.rs:452:25 [INFO] [stdout] | [INFO] [stdout] 452 | let end_type_stack = function_type_checker.type_stack.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_type_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/type_checker.rs:1117:28 [INFO] [stdout] | [INFO] [stdout] 1117 | if let TypePatternKind::Literal { value } = &kind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_type_stack` [INFO] [stdout] --> src/type_checker.rs:452:25 [INFO] [stdout] | [INFO] [stdout] 452 | let end_type_stack = function_type_checker.type_stack.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_type_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `identifier` [INFO] [stdout] --> src/type_checker.rs:1264:17 [INFO] [stdout] | [INFO] [stdout] 1264 | identifier, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `identifier: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expression` [INFO] [stdout] --> src/type_checker.rs:1265:17 [INFO] [stdout] | [INFO] [stdout] 1265 | expression, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `expression: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `identifier` [INFO] [stdout] --> src/type_checker.rs:1264:17 [INFO] [stdout] | [INFO] [stdout] 1264 | identifier, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `identifier: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expression` [INFO] [stdout] --> src/type_checker.rs:1265:17 [INFO] [stdout] | [INFO] [stdout] 1265 | expression, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `expression: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eof_loc` [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let eof_loc = &tokens[tokens_len - 1].loc.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eof_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 25 | let mut file = File::open(&file_path).expect("could not open file"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | let mut ops: Vec = vec![]; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | let mut type_checker = TypeChecker::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | [INFO] [stdout] 65 | match type_checker.check_program(&ops) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eof_loc` [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let eof_loc = &tokens[tokens_len - 1].loc.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eof_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:586:12 [INFO] [stdout] | [INFO] [stdout] 570 | let mut operands: Vec = vec![]; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 586 | Ok(Operand::Array { values: operands }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:606:12 [INFO] [stdout] | [INFO] [stdout] 590 | let mut ops: Vec = vec![]; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 606 | Ok(Operand::Seq { ops }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/type_checker.rs:1518:12 [INFO] [stdout] | [INFO] [stdout] 1429 | let (checked_operand, push_type) = match operand { [INFO] [stdout] | --------------- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1442 | let mut checked_values = vec![]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1443 | let mut el_type = TypeKind::Bool; //tmp [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1444 | for value in values { [INFO] [stdout] 1445 | let (checked_value, push_type) = self.check_operand(value)?; [INFO] [stdout] | ------------- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1459 | let mut sub_type_checker = TypeChecker::new(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1464 | let mut inferred_ins: Vec = vec![]; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1465 | let mut inferred_outs: Vec = vec![]; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1466 | [INFO] [stdout] 1467 | let mut checked_ops = vec![]; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1468 | for op in ops { [INFO] [stdout] 1469 | let checked_op = sub_type_checker.check_op(op)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1518 | Ok((checked_operand, push_type)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 25 | let mut file = File::open(&file_path).expect("could not open file"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | let mut ops: Vec = vec![]; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | let mut type_checker = TypeChecker::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | [INFO] [stdout] 65 | match type_checker.check_program(&ops) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:586:12 [INFO] [stdout] | [INFO] [stdout] 570 | let mut operands: Vec = vec![]; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 586 | Ok(Operand::Array { values: operands }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:606:12 [INFO] [stdout] | [INFO] [stdout] 590 | let mut ops: Vec = vec![]; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 606 | Ok(Operand::Seq { ops }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/type_checker.rs:1518:12 [INFO] [stdout] | [INFO] [stdout] 1429 | let (checked_operand, push_type) = match operand { [INFO] [stdout] | --------------- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1442 | let mut checked_values = vec![]; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1443 | let mut el_type = TypeKind::Bool; //tmp [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1444 | for value in values { [INFO] [stdout] 1445 | let (checked_value, push_type) = self.check_operand(value)?; [INFO] [stdout] | ------------- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1459 | let mut sub_type_checker = TypeChecker::new(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1464 | let mut inferred_ins: Vec = vec![]; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1465 | let mut inferred_outs: Vec = vec![]; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1466 | [INFO] [stdout] 1467 | let mut checked_ops = vec![]; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1468 | for op in ops { [INFO] [stdout] 1469 | let checked_op = sub_type_checker.check_op(op)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1518 | Ok((checked_operand, push_type)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dolang` (bin "dolang" test) due to 5 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dolang` (bin "dolang") due to 5 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b09a332cff163d36fea749c281e82aca3d6543e207dc32c67da879de6cf51429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b09a332cff163d36fea749c281e82aca3d6543e207dc32c67da879de6cf51429", kill_on_drop: false }` [INFO] [stdout] b09a332cff163d36fea749c281e82aca3d6543e207dc32c67da879de6cf51429