[INFO] cloning repository https://github.com/TrolledWoods/CruelSynth [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TrolledWoods/CruelSynth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrolledWoods%2FCruelSynth", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrolledWoods%2FCruelSynth'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ebd70b997cd4ce7860b57747838255a27fbfdf3f [INFO] checking TrolledWoods/CruelSynth/ebd70b997cd4ce7860b57747838255a27fbfdf3f 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%2FTrolledWoods%2FCruelSynth" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TrolledWoods/CruelSynth 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/TrolledWoods/CruelSynth [INFO] finished tweaking git repo https://github.com/TrolledWoods/CruelSynth [INFO] tweaked toml for git repo https://github.com/TrolledWoods/CruelSynth written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/TrolledWoods/CruelSynth 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 92961e1f87733194bc325a41dc9d8119835756ef01d29d12d0240ae41415f095 [INFO] running `Command { std: "docker" "start" "-a" "92961e1f87733194bc325a41dc9d8119835756ef01d29d12d0240ae41415f095", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92961e1f87733194bc325a41dc9d8119835756ef01d29d12d0240ae41415f095", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92961e1f87733194bc325a41dc9d8119835756ef01d29d12d0240ae41415f095", kill_on_drop: false }` [INFO] [stdout] 92961e1f87733194bc325a41dc9d8119835756ef01d29d12d0240ae41415f095 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 3deb86ede5a505db8763670225fa818fe265d8015391b31588f1ded76451a90f [INFO] running `Command { std: "docker" "start" "-a" "3deb86ede5a505db8763670225fa818fe265d8015391b31588f1ded76451a90f", kill_on_drop: false }` [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking cruel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `MaybeId`, `NodeKind`, and `Probe` [INFO] [stdout] --> src/synth/execution_data.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use super::{ NodeKind, Node, MAX_INPUTS, Synth, Id, MaybeId, Probe }; [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/lang/compile.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lang::parser::{ self, Node, CommandNode, ExpressionNode }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::operator::Operator` [INFO] [stdout] --> src/lang/compile.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::operator::Operator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/main.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use std::path::{ Path, PathBuf }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `operator::Operator` [INFO] [stdout] --> src/main.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use operator::Operator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/main.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | for i in (0..(48000.0 * time) as usize) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - for i in (0..(48000.0 * time) as usize) { [INFO] [stdout] 25 + for i in 0..(48000.0 * time) as usize { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MaybeId`, `NodeKind`, and `Probe` [INFO] [stdout] --> src/synth/execution_data.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use super::{ NodeKind, Node, MAX_INPUTS, Synth, Id, MaybeId, Probe }; [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/lang/compile.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lang::parser::{ self, Node, CommandNode, ExpressionNode }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::operator::Operator` [INFO] [stdout] --> src/lang/compile.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::operator::Operator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/main.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use std::path::{ Path, PathBuf }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `operator::Operator` [INFO] [stdout] --> src/main.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use operator::Operator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/main.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | for i in (0..(48000.0 * time) as usize) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - for i in (0..(48000.0 * time) as usize) { [INFO] [stdout] 25 + for i in 0..(48000.0 * time) as usize { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/synth/execution_data.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let mut data = synth.initial_data.clone(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/synth/execution_data.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let mut range = &mut data[start..end]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/synth/execution_data.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | let (mut data, mut outputs) = range.split_at_mut(node.kind.n_data_allocations()); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/synth/execution_data.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 76 | let (mut data, mut outputs) = range.split_at_mut(node.kind.n_data_allocations()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/synth/execution_data.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let mut data = synth.initial_data.clone(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/synth/execution_data.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let mut range = &mut data[start..end]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/synth/execution_data.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | let (mut data, mut outputs) = range.split_at_mut(node.kind.n_data_allocations()); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/synth/execution_data.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 76 | let (mut data, mut outputs) = range.split_at_mut(node.kind.n_data_allocations()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/lang/parser.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | c => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | for i in (0..(48000.0 * time) as usize) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/lang/parser.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | c => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MaybeId` is more private than the item `Id::maybe` [INFO] [stdout] --> src/synth/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn maybe(self) -> MaybeId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Id::maybe` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `MaybeId` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/synth/mod.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | struct MaybeId(u32); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_option` and `get_usize` are never used [INFO] [stdout] --> src/synth/mod.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl MaybeId { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | fn from_option(option: Option) -> MaybeId { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn get_usize(self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_node_data` and `get_node` are never used [INFO] [stdout] --> src/synth/mod.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl Synth { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn get_node_data<'a>(&'a self, node: Id) -> Option<&'a [f32]> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn get_node<'a>(&'a self, node: Id) -> Option<&'a Node> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_constant` is never used [INFO] [stdout] --> src/synth/mod.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 214 | impl NodeKind { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 215 | pub fn is_constant(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_node_output` is never used [INFO] [stdout] --> src/synth/execution_data.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl ExecutionData<'_> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn get_node_output(&self, node: &Node, output: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/synth/execution_data.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 130 | impl ProbeData { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 131 | pub fn new(size: usize, probing: Id) -> ProbeData { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `pos` are never read [INFO] [stdout] --> src/lang/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct CompileError { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 11 | pub kind: CompileErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub pos: Option<(usize, usize)>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompileError` 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 `0` is never read [INFO] [stdout] --> src/lang/mod.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | IOError(std::io::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CompileErrorKind` 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] 17 | IOError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lang/mod.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | TokenizerError(tokenize::TokenErrorKind), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CompileErrorKind` 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] 18 | TokenizerError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lang/mod.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | ParseError(parser::ParseErrorKind), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CompileErrorKind` 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] 19 | ParseError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lang/mod.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | CompileError(compile::CompileErrorKind), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CompileErrorKind` 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] 20 | CompileError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TestError` is never constructed [INFO] [stdout] --> src/lang/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum CompileErrorKind { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | TestError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompileErrorKind` 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 `0` is never read [INFO] [stdout] --> src/lang/tokenize.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | ExpectedToken(char), [INFO] [stdout] | ------------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenErrorKind` 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] 13 | ExpectedToken(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lang/tokenize.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | UnexpectedToken(char), [INFO] [stdout] | --------------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenErrorKind` 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] 15 | UnexpectedToken(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_tokens` is never used [INFO] [stdout] --> src/lang/tokenize.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn print_tokens(tokens: &[Token]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ExpectedArgList` is never constructed [INFO] [stdout] --> src/lang/parser.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ParseErrorKind { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | ExpectedArgList, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseErrorKind` 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 `0` is never read [INFO] [stdout] --> src/lang/compile.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | UnknownFunctionName(String), [INFO] [stdout] | ------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CompileErrorKind` 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] 14 | UnknownFunctionName(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | for i in (0..(48000.0 * time) as usize) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/synth/mod.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | writeln!(f, " {:?}", probe); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lang/mod.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | .map_err(|v| CompileError { kind: CompileErrorKind::IOError(v), pos: None })?; [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] = 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/lang/mod.rs:30:43 [INFO] [stdout] | [INFO] [stdout] 30 | .map_err(|v| CompileError { kind: CompileErrorKind::TokenizerError(v.kind), pos: Some(v.pos) })?; [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/lang/mod.rs:33:43 [INFO] [stdout] | [INFO] [stdout] 33 | .map_err(|v| CompileError { kind: CompileErrorKind::ParseError(v.kind), pos: v.pos })?; [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/lang/mod.rs:36:43 [INFO] [stdout] | [INFO] [stdout] 36 | .map_err(|v| CompileError { kind: CompileErrorKind::CompileError(v.kind), pos: v.pos })?; [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] warning: function `parse_command__ident` should have a snake case name [INFO] [stdout] --> src/lang/parser.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn parse_command__ident(tokens: &mut Peekable>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_command_ident` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MaybeId` is more private than the item `Id::maybe` [INFO] [stdout] --> src/synth/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn maybe(self) -> MaybeId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Id::maybe` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `MaybeId` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/synth/mod.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | struct MaybeId(u32); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_option` and `get_usize` are never used [INFO] [stdout] --> src/synth/mod.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl MaybeId { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | fn from_option(option: Option) -> MaybeId { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn get_usize(self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_node_data` and `get_node` are never used [INFO] [stdout] --> src/synth/mod.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl Synth { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn get_node_data<'a>(&'a self, node: Id) -> Option<&'a [f32]> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn get_node<'a>(&'a self, node: Id) -> Option<&'a Node> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_constant` is never used [INFO] [stdout] --> src/synth/mod.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 214 | impl NodeKind { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 215 | pub fn is_constant(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_node_output` is never used [INFO] [stdout] --> src/synth/execution_data.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl ExecutionData<'_> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn get_node_output(&self, node: &Node, output: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/synth/execution_data.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 130 | impl ProbeData { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 131 | pub fn new(size: usize, probing: Id) -> ProbeData { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `pos` are never read [INFO] [stdout] --> src/lang/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct CompileError { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 11 | pub kind: CompileErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub pos: Option<(usize, usize)>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompileError` 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 `0` is never read [INFO] [stdout] --> src/lang/mod.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | IOError(std::io::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CompileErrorKind` 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] 17 | IOError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lang/mod.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | TokenizerError(tokenize::TokenErrorKind), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CompileErrorKind` 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] 18 | TokenizerError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lang/mod.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | ParseError(parser::ParseErrorKind), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CompileErrorKind` 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] 19 | ParseError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lang/mod.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | CompileError(compile::CompileErrorKind), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CompileErrorKind` 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] 20 | CompileError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TestError` is never constructed [INFO] [stdout] --> src/lang/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum CompileErrorKind { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | TestError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompileErrorKind` 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 `0` is never read [INFO] [stdout] --> src/lang/tokenize.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | ExpectedToken(char), [INFO] [stdout] | ------------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenErrorKind` 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] 13 | ExpectedToken(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lang/tokenize.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | UnexpectedToken(char), [INFO] [stdout] | --------------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenErrorKind` 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] 15 | UnexpectedToken(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_tokens` is never used [INFO] [stdout] --> src/lang/tokenize.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn print_tokens(tokens: &[Token]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ExpectedArgList` is never constructed [INFO] [stdout] --> src/lang/parser.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ParseErrorKind { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | ExpectedArgList, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseErrorKind` 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 `0` is never read [INFO] [stdout] --> src/lang/compile.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | UnknownFunctionName(String), [INFO] [stdout] | ------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CompileErrorKind` 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] 14 | UnknownFunctionName(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/synth/mod.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | writeln!(f, " {:?}", probe); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lang/mod.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | .map_err(|v| CompileError { kind: CompileErrorKind::IOError(v), pos: None })?; [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] = 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/lang/mod.rs:30:43 [INFO] [stdout] | [INFO] [stdout] 30 | .map_err(|v| CompileError { kind: CompileErrorKind::TokenizerError(v.kind), pos: Some(v.pos) })?; [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/lang/mod.rs:33:43 [INFO] [stdout] | [INFO] [stdout] 33 | .map_err(|v| CompileError { kind: CompileErrorKind::ParseError(v.kind), pos: v.pos })?; [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/lang/mod.rs:36:43 [INFO] [stdout] | [INFO] [stdout] 36 | .map_err(|v| CompileError { kind: CompileErrorKind::CompileError(v.kind), pos: v.pos })?; [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] [stderr] error: could not compile `cruel` (bin "cruel" test) due to 5 previous errors; 31 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `parse_command__ident` should have a snake case name [INFO] [stdout] --> src/lang/parser.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn parse_command__ident(tokens: &mut Peekable>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_command_ident` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cruel` (bin "cruel") due to 5 previous errors; 31 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3deb86ede5a505db8763670225fa818fe265d8015391b31588f1ded76451a90f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3deb86ede5a505db8763670225fa818fe265d8015391b31588f1ded76451a90f", kill_on_drop: false }` [INFO] [stdout] 3deb86ede5a505db8763670225fa818fe265d8015391b31588f1ded76451a90f