[INFO] cloning repository https://github.com/TechnoJo4/rk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TechnoJo4/rk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTechnoJo4%2Frk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTechnoJo4%2Frk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 93ec6e50f91acd51242ce62dcabd9822074176e4 [INFO] checking TechnoJo4/rk/93ec6e50f91acd51242ce62dcabd9822074176e4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTechnoJo4%2Frk" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TechnoJo4/rk on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TechnoJo4/rk [INFO] finished tweaking git repo https://github.com/TechnoJo4/rk [INFO] tweaked toml for git repo https://github.com/TechnoJo4/rk written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/TechnoJo4/rk 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2f8b1420284d1fa8aa1147ec07ee6c44a371b1f281e3386794debb8182a71aa [INFO] running `Command { std: "docker" "start" "-a" "c2f8b1420284d1fa8aa1147ec07ee6c44a371b1f281e3386794debb8182a71aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2f8b1420284d1fa8aa1147ec07ee6c44a371b1f281e3386794debb8182a71aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2f8b1420284d1fa8aa1147ec07ee6c44a371b1f281e3386794debb8182a71aa", kill_on_drop: false }` [INFO] [stdout] c2f8b1420284d1fa8aa1147ec07ee6c44a371b1f281e3386794debb8182a71aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 141760a97bbe49a25e313341e843f03ce8d408018067d66f3805e10182a58c71 [INFO] running `Command { std: "docker" "start" "-a" "141760a97bbe49a25e313341e843f03ce8d408018067d66f3805e10182a58c71", kill_on_drop: false }` [INFO] [stderr] Checking prk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rc::Rc` [INFO] [stdout] --> src/parse.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{mem, rc::Rc}; [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/bc.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::parse::{self, Node}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Fun` and `Op` [INFO] [stdout] --> src/vm.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::bc::{Op, Fun}; [INFO] [stdout] | ^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rc::Rc` [INFO] [stdout] --> src/parse.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{mem, rc::Rc}; [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/bc.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::parse::{self, Node}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Fun` and `Op` [INFO] [stdout] --> src/vm.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::bc::{Op, Fun}; [INFO] [stdout] | ^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/bc.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | Node::WithL { l, f } => todo!(), [INFO] [stdout] | ^ help: try ignoring the field: `l: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/bc.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | Node::WithL { l, f } => todo!(), [INFO] [stdout] | ^ help: try ignoring the field: `f: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/bc.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | Node::ApplyA { v, a } => todo!(), [INFO] [stdout] | ^ help: try ignoring the field: `v: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/bc.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | Node::ApplyA { v, a } => todo!(), [INFO] [stdout] | ^ help: try ignoring the field: `a: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_char` is never used [INFO] [stdout] --> src/value.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl Verb { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 12 | pub const fn from_char(chr: char) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/value.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum Adverb { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 58 | S, // / [INFO] [stdout] | ^ [INFO] [stdout] 59 | B, // \ [INFO] [stdout] | ^ [INFO] [stdout] 60 | Q, // ' [INFO] [stdout] | ^ [INFO] [stdout] 61 | SC,// /: [INFO] [stdout] | ^^ [INFO] [stdout] 62 | BC,// \: [INFO] [stdout] | ^^ [INFO] [stdout] 63 | QC,// ': [INFO] [stdout] | ^^ [INFO] [stdout] 64 | WB,// \ [INFO] [stdout] | ^^ [INFO] [stdout] 65 | WQ,// ' [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Adverb` 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: field `0` is never read [INFO] [stdout] --> src/parse.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | Monad(value::Verb), //+: [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 | Monad(()), //+: [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | List(Vec), //(a;b;c) [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 | List(()), //(a;b;c) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | Fun(Vec), //{a;b;c} [INFO] [stdout] | --- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 | Fun(()), //{a;b;c} [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parse.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | Apply(Box, Box), //+x [INFO] [stdout] | ----- ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 33 | Apply((), ()), //+x [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/parse.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | Apply2(Box, Box, Box),//x+y [INFO] [stdout] | ------ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 34 | Apply2((), (), ()),//x+y [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parse.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | ApplyN(Box, Vec), //f[a;b;c] [INFO] [stdout] | ------ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 37 | ApplyN((), ()), //f[a;b;c] [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parse.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | Compose(Box, Box), //++ [INFO] [stdout] | ------- ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 38 | Compose((), ()), //++ [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Adverb` is never constructed [INFO] [stdout] --> src/parse.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum Node { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | Adverb(value::Adverb), //\ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ws`, `was_ws`, `is_ws`, and `skip_ws` are never used [INFO] [stdout] --> src/parse.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 161 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 170 | fn ws(&self, c: char) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 177 | fn was_ws(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | fn is_ws(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | fn skip_ws(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bc.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | XK(u8), YK(u8), // x:K@? y:K@? [INFO] [stdout] | -- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 | XK(()), YK(u8), // x:K@? y:K@? [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/bc.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Op { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] 7 | Trap=0, // crash and burn [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Return, // return [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | TraceX, TraceY, // \x \y [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] 10 | XZ, YZ, // x:() y:() [INFO] [stdout] | ^^ ^^ [INFO] [stdout] 11 | XK(u8), YK(u8), // x:K@? y:K@? [INFO] [stdout] | ^^ [INFO] [stdout] 12 | XY, YX, // x:y y:x [INFO] [stdout] | ^^ ^^ [INFO] [stdout] 13 | XV(u8), YV(u8), // x:V@? y:V@? [INFO] [stdout] | ^^ ^^ [INFO] [stdout] 14 | VX(u8), VY(u8), // V[?]:x V[?]:y [INFO] [stdout] | ^^ ^^ [INFO] [stdout] 15 | XS, YS, // x:pop y:pop [INFO] [stdout] | ^^ ^^ [INFO] [stdout] 16 | SX, SY, // push x push y [INFO] [stdout] | ^^ ^^ [INFO] [stdout] 17 | XaY, YaX, // x:x@y x:y@x [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] 18 | Da(V), DaKX(V, u8), // x:V[x;y] x:V[K[?];x] [INFO] [stdout] | ^^ ^^^^ [INFO] [stdout] 19 | MaX(V), MaY(V), // x:(V:)[x] x:(V:)[y] [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] 20 | Swap, // (x;y):(y;x) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `args` is never read [INFO] [stdout] --> src/bc.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Fun { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 26 | args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Fun` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/vm.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run() { [INFO] [stdout] | ^^^ [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/parse.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn new(elems: Vec) -> HoledTape { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | v: elems.into_iter().map(|elem| Some(elem)).collect(), [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/parse.rs:379:12 [INFO] [stdout] | [INFO] [stdout] 375 | let mut vec = Vec::::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 379 | Ok(Node::Progn(vec)) [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: aborting due to 2 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/bc.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | Node::WithL { l, f } => todo!(), [INFO] [stdout] | ^ help: try ignoring the field: `l: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `prk` (bin "prk" test) due to 3 previous errors; 22 warnings emitted [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/bc.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | Node::WithL { l, f } => todo!(), [INFO] [stdout] | ^ help: try ignoring the field: `f: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/bc.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | Node::ApplyA { v, a } => todo!(), [INFO] [stdout] | ^ help: try ignoring the field: `v: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/bc.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | Node::ApplyA { v, a } => todo!(), [INFO] [stdout] | ^ help: try ignoring the field: `a: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_char` is never used [INFO] [stdout] --> src/value.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl Verb { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 12 | pub const fn from_char(chr: char) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/value.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum Adverb { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 58 | S, // / [INFO] [stdout] | ^ [INFO] [stdout] 59 | B, // \ [INFO] [stdout] | ^ [INFO] [stdout] 60 | Q, // ' [INFO] [stdout] | ^ [INFO] [stdout] 61 | SC,// /: [INFO] [stdout] | ^^ [INFO] [stdout] 62 | BC,// \: [INFO] [stdout] | ^^ [INFO] [stdout] 63 | QC,// ': [INFO] [stdout] | ^^ [INFO] [stdout] 64 | WB,// \ [INFO] [stdout] | ^^ [INFO] [stdout] 65 | WQ,// ' [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Adverb` 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: field `0` is never read [INFO] [stdout] --> src/parse.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | Monad(value::Verb), //+: [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 | Monad(()), //+: [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | List(Vec), //(a;b;c) [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 | List(()), //(a;b;c) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | Fun(Vec), //{a;b;c} [INFO] [stdout] | --- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 | Fun(()), //{a;b;c} [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parse.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | Apply(Box, Box), //+x [INFO] [stdout] | ----- ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 33 | Apply((), ()), //+x [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/parse.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | Apply2(Box, Box, Box),//x+y [INFO] [stdout] | ------ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 34 | Apply2((), (), ()),//x+y [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parse.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | ApplyN(Box, Vec), //f[a;b;c] [INFO] [stdout] | ------ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 37 | ApplyN((), ()), //f[a;b;c] [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parse.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | Compose(Box, Box), //++ [INFO] [stdout] | ------- ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 38 | Compose((), ()), //++ [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Adverb` is never constructed [INFO] [stdout] --> src/parse.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum Node { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | Adverb(value::Adverb), //\ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ws`, `was_ws`, `is_ws`, and `skip_ws` are never used [INFO] [stdout] --> src/parse.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 161 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 170 | fn ws(&self, c: char) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 177 | fn was_ws(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | fn is_ws(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | fn skip_ws(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bc.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | XK(u8), YK(u8), // x:K@? y:K@? [INFO] [stdout] | -- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 | XK(()), YK(u8), // x:K@? y:K@? [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/bc.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Op { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] 7 | Trap=0, // crash and burn [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Return, // return [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | TraceX, TraceY, // \x \y [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] 10 | XZ, YZ, // x:() y:() [INFO] [stdout] | ^^ ^^ [INFO] [stdout] 11 | XK(u8), YK(u8), // x:K@? y:K@? [INFO] [stdout] | ^^ [INFO] [stdout] 12 | XY, YX, // x:y y:x [INFO] [stdout] | ^^ ^^ [INFO] [stdout] 13 | XV(u8), YV(u8), // x:V@? y:V@? [INFO] [stdout] | ^^ ^^ [INFO] [stdout] 14 | VX(u8), VY(u8), // V[?]:x V[?]:y [INFO] [stdout] | ^^ ^^ [INFO] [stdout] 15 | XS, YS, // x:pop y:pop [INFO] [stdout] | ^^ ^^ [INFO] [stdout] 16 | SX, SY, // push x push y [INFO] [stdout] | ^^ ^^ [INFO] [stdout] 17 | XaY, YaX, // x:x@y x:y@x [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] 18 | Da(V), DaKX(V, u8), // x:V[x;y] x:V[K[?];x] [INFO] [stdout] | ^^ ^^^^ [INFO] [stdout] 19 | MaX(V), MaY(V), // x:(V:)[x] x:(V:)[y] [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] 20 | Swap, // (x;y):(y;x) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `prk` (bin "prk") due to 3 previous errors; 22 warnings emitted [INFO] [stdout] warning: field `args` is never read [INFO] [stdout] --> src/bc.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Fun { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 26 | args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Fun` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/vm.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run() { [INFO] [stdout] | ^^^ [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/parse.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn new(elems: Vec) -> HoledTape { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | v: elems.into_iter().map(|elem| Some(elem)).collect(), [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/parse.rs:379:12 [INFO] [stdout] | [INFO] [stdout] 375 | let mut vec = Vec::::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 379 | Ok(Node::Progn(vec)) [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: aborting due to 2 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "141760a97bbe49a25e313341e843f03ce8d408018067d66f3805e10182a58c71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "141760a97bbe49a25e313341e843f03ce8d408018067d66f3805e10182a58c71", kill_on_drop: false }` [INFO] [stdout] 141760a97bbe49a25e313341e843f03ce8d408018067d66f3805e10182a58c71