[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] building TrolledWoods/CruelSynth against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrolledWoods%2FCruelSynth" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TrolledWoods/CruelSynth on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-2-tc1/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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 262cc1d1c40332cb1c4d34096b114b282a52db375612e0c3bb8848f4b850002b [INFO] running `Command { std: "docker" "start" "-a" "262cc1d1c40332cb1c4d34096b114b282a52db375612e0c3bb8848f4b850002b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "262cc1d1c40332cb1c4d34096b114b282a52db375612e0c3bb8848f4b850002b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "262cc1d1c40332cb1c4d34096b114b282a52db375612e0c3bb8848f4b850002b", kill_on_drop: false }` [INFO] [stdout] 262cc1d1c40332cb1c4d34096b114b282a52db375612e0c3bb8848f4b850002b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ecd27417ca4dff2f0335b9d1d704f12460f29e3eb326e426126db1271f2c9feb [INFO] running `Command { std: "docker" "start" "-a" "ecd27417ca4dff2f0335b9d1d704f12460f29e3eb326e426126db1271f2c9feb", kill_on_drop: false }` [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling 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: 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: 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 `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] 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.95s [INFO] running `Command { std: "docker" "inspect" "ecd27417ca4dff2f0335b9d1d704f12460f29e3eb326e426126db1271f2c9feb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecd27417ca4dff2f0335b9d1d704f12460f29e3eb326e426126db1271f2c9feb", kill_on_drop: false }` [INFO] [stdout] ecd27417ca4dff2f0335b9d1d704f12460f29e3eb326e426126db1271f2c9feb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4819c226ed71ae66a77829e270cdb1f353adcfb74f54e34cb1b93af1843e88fe [INFO] running `Command { std: "docker" "start" "-a" "4819c226ed71ae66a77829e270cdb1f353adcfb74f54e34cb1b93af1843e88fe", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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: 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 `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] 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "4819c226ed71ae66a77829e270cdb1f353adcfb74f54e34cb1b93af1843e88fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4819c226ed71ae66a77829e270cdb1f353adcfb74f54e34cb1b93af1843e88fe", kill_on_drop: false }` [INFO] [stdout] 4819c226ed71ae66a77829e270cdb1f353adcfb74f54e34cb1b93af1843e88fe