[INFO] cloning repository https://github.com/AngelOnFira/rust-synth [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AngelOnFira/rust-synth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngelOnFira%2Frust-synth", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngelOnFira%2Frust-synth'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 501d9b13ddcd3e0d9d28aed9f7b65d8c62f88d20 [INFO] building AngelOnFira/rust-synth against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngelOnFira%2Frust-synth" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AngelOnFira/rust-synth [INFO] finished tweaking git repo https://github.com/AngelOnFira/rust-synth [INFO] tweaked toml for git repo https://github.com/AngelOnFira/rust-synth written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AngelOnFira/rust-synth on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AngelOnFira/rust-synth 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded symphonia v0.5.4 [INFO] [stderr] Downloaded symphonia-format-riff v0.5.4 [INFO] [stderr] Downloaded symphonia-utils-xiph v0.5.4 [INFO] [stderr] Downloaded hound v3.5.1 [INFO] [stderr] Downloaded symphonia-format-isomp4 v0.5.4 [INFO] [stderr] Downloaded symphonia-format-ogg v0.5.4 [INFO] [stderr] Downloaded extended v0.1.0 [INFO] [stderr] Downloaded symphonia-metadata v0.5.4 [INFO] [stderr] Downloaded oboe-sys v0.6.1 [INFO] [stderr] Downloaded symphonia-bundle-flac v0.5.4 [INFO] [stderr] Downloaded generic-array v1.2.0 [INFO] [stderr] Downloaded crossbeam v0.8.4 [INFO] [stderr] Downloaded alsa-sys v0.3.1 [INFO] [stderr] Downloaded filetime v0.2.25 [INFO] [stderr] Downloaded symphonia-codec-aac v0.5.4 [INFO] [stderr] Downloaded oboe v0.6.1 [INFO] [stderr] Downloaded pest_derive v2.8.1 [INFO] [stderr] Downloaded dasp_sample v0.11.0 [INFO] [stderr] Downloaded cc v1.2.29 [INFO] [stderr] Downloaded cpal v0.15.3 [INFO] [stderr] Downloaded libredox v0.1.4 [INFO] [stderr] Downloaded bindgen v0.72.0 [INFO] [stderr] Downloaded pest_meta v2.8.1 [INFO] [stderr] Downloaded coreaudio-sys v0.2.17 [INFO] [stderr] Downloaded coreaudio-rs v0.11.3 [INFO] [stderr] Downloaded symphonia-codec-adpcm v0.5.4 [INFO] [stderr] Downloaded numeric-array v0.6.1 [INFO] [stderr] Downloaded symphonia-format-mkv v0.5.4 [INFO] [stderr] Downloaded pest_generator v2.8.1 [INFO] [stderr] Downloaded symphonia-codec-vorbis v0.5.4 [INFO] [stderr] Downloaded dyn-clone v1.0.19 [INFO] [stderr] Downloaded symphonia-format-caf v0.5.4 [INFO] [stderr] Downloaded thingbuf v0.1.6 [INFO] [stderr] Downloaded kqueue v1.1.1 [INFO] [stderr] Downloaded mach2 v0.4.3 [INFO] [stderr] Downloaded symphonia-core v0.5.4 [INFO] [stderr] Downloaded fundsp v0.19.1 [INFO] [stderr] Downloaded windows-targets v0.53.2 [INFO] [stderr] Downloaded symphonia-codec-alac v0.5.4 [INFO] [stderr] Downloaded windows-core v0.54.0 [INFO] [stderr] Downloaded windows v0.54.0 [INFO] [stderr] Downloaded clap_derive v4.5.41 [INFO] [stderr] Downloaded symphonia-codec-pcm v0.5.4 [INFO] [stderr] Downloaded alsa v0.9.1 [INFO] [stderr] Downloaded pest v2.8.1 [INFO] [stderr] Downloaded symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Downloaded funutd v0.16.0 [INFO] [stderr] Downloaded glam v0.28.0 [INFO] [stderr] Downloaded io-uring v0.7.8 [INFO] [stderr] Downloaded tokio v1.46.1 [INFO] [stderr] Downloaded microfft v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f07b2861199233a5a8d5b6b7f3d64537ec5dc34cd6aa23c6f289937b50f9face [INFO] running `Command { std: "docker" "start" "-a" "f07b2861199233a5a8d5b6b7f3d64537ec5dc34cd6aa23c6f289937b50f9face", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f07b2861199233a5a8d5b6b7f3d64537ec5dc34cd6aa23c6f289937b50f9face", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f07b2861199233a5a8d5b6b7f3d64537ec5dc34cd6aa23c6f289937b50f9face", kill_on_drop: false }` [INFO] [stdout] f07b2861199233a5a8d5b6b7f3d64537ec5dc34cd6aa23c6f289937b50f9face [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d818d0576cbdc4f1f09904e460d4ba2d16a85c7ad33408e8e30db5836cb2c78e [INFO] running `Command { std: "docker" "start" "-a" "d818d0576cbdc4f1f09904e460d4ba2d16a85c7ad33408e8e30db5836cb2c78e", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling extended v0.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling hound v3.5.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling generic-array v1.2.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling symphonia-codec-adpcm v0.5.4 [INFO] [stderr] Compiling symphonia-codec-aac v0.5.4 [INFO] [stderr] Compiling symphonia-codec-alac v0.5.4 [INFO] [stderr] Compiling symphonia-codec-pcm v0.5.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling glam v0.28.0 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Compiling symphonia-utils-xiph v0.5.4 [INFO] [stderr] Compiling symphonia-format-caf v0.5.4 [INFO] [stderr] Compiling symphonia-format-mkv v0.5.4 [INFO] [stderr] Compiling symphonia-codec-vorbis v0.5.4 [INFO] [stderr] Compiling symphonia-format-isomp4 v0.5.4 [INFO] [stderr] Compiling symphonia-format-ogg v0.5.4 [INFO] [stderr] Compiling symphonia-bundle-flac v0.5.4 [INFO] [stderr] Compiling symphonia-format-riff v0.5.4 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling numeric-array v0.6.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling microfft v0.6.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling notify v6.1.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling funutd v0.16.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling thingbuf v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling fundsp v0.19.1 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling rsynth-core v0.1.0 (/opt/rustwide/workdir/crates/core) [INFO] [stderr] Compiling rsynth-lang v0.1.0 (/opt/rustwide/workdir/crates/lang) [INFO] [stderr] Compiling rsynth-engine v0.1.0 (/opt/rustwide/workdir/crates/engine) [INFO] [stderr] Compiling synthesis-examples v0.1.0 (/opt/rustwide/workdir/examples/synthesis) [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> crates/engine/src/playback.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_instrument_synth` [INFO] [stdout] --> crates/engine/src/export.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use rsynth_core::{Song, InstrumentLibrary, create_instrument_synth}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SynthNode` and `create_instrument_synth` [INFO] [stdout] --> crates/engine/src/sequencer.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use rsynth_core::{Song, InstrumentLibrary, create_instrument_synth, SynthNode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> crates/engine/src/sequencer.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::{info, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Envelope`, `FilterType`, and `WaveformType` [INFO] [stdout] --> crates/lang/src/parser.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use rsynth_core::{WaveformType, Envelope, FilterType, InstrumentDefinition}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Envelope`, `FilterType`, and `WaveformType` [INFO] [stdout] --> crates/lang/src/ast.rs:1:63 [INFO] [stdout] | [INFO] [stdout] 1 | use rsynth_core::{InstrumentDefinition, Pattern, Song, Track, WaveformType, Envelope, FilterType}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fundsp::prelude` [INFO] [stdout] --> crates/engine/src/export.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fundsp::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/engine/src/playback.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | let (mut sequencer, command_tx) = Sequencer::new(song, instruments, sample_rate); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channels` [INFO] [stdout] --> crates/engine/src/playback.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let channels = config.channels as usize; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channels` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruments` [INFO] [stdout] --> crates/engine/src/export.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | instruments: &InstrumentLibrary, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `beat` [INFO] [stdout] --> crates/engine/src/sequencer.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | let beat = (time * 2.0) as usize; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_beat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `instruments` and `mixer` are never read [INFO] [stdout] --> crates/engine/src/sequencer.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Sequencer { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 15 | song: Arc>, [INFO] [stdout] 16 | instruments: Arc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | mixer: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> examples/synthesis/../prototype2_modular.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 8 | trait Module: Send { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 12 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/lang/src/parser.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let mut inner = pair.into_inner(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hihat_open` is never used [INFO] [stdout] --> examples/synthesis/../prototype1_functional.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn hihat_open() -> impl AudioUnit + Clone { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rsynth-cli v0.1.0 (/opt/rustwide/workdir/crates/cli) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "d818d0576cbdc4f1f09904e460d4ba2d16a85c7ad33408e8e30db5836cb2c78e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d818d0576cbdc4f1f09904e460d4ba2d16a85c7ad33408e8e30db5836cb2c78e", kill_on_drop: false }` [INFO] [stdout] d818d0576cbdc4f1f09904e460d4ba2d16a85c7ad33408e8e30db5836cb2c78e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d5ed92ac3b8c41b2e758f885e32c58876872ae271bd704ab04999286914fe97 [INFO] running `Command { std: "docker" "start" "-a" "4d5ed92ac3b8c41b2e758f885e32c58876872ae271bd704ab04999286914fe97", kill_on_drop: false }` [INFO] [stderr] Compiling rsynth-core v0.1.0 (/opt/rustwide/workdir/crates/core) [INFO] [stderr] Compiling synthesis-examples v0.1.0 (/opt/rustwide/workdir/examples/synthesis) [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> crates/engine/src/playback.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_instrument_synth` [INFO] [stdout] --> crates/engine/src/export.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use rsynth_core::{Song, InstrumentLibrary, create_instrument_synth}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SynthNode` and `create_instrument_synth` [INFO] [stdout] --> crates/engine/src/sequencer.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use rsynth_core::{Song, InstrumentLibrary, create_instrument_synth, SynthNode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> crates/engine/src/sequencer.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::{info, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fundsp::prelude` [INFO] [stdout] --> crates/engine/src/export.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fundsp::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/engine/src/playback.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | let (mut sequencer, command_tx) = Sequencer::new(song, instruments, sample_rate); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channels` [INFO] [stdout] --> crates/engine/src/playback.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let channels = config.channels as usize; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channels` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruments` [INFO] [stdout] --> crates/engine/src/export.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | instruments: &InstrumentLibrary, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `beat` [INFO] [stdout] --> crates/engine/src/sequencer.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | let beat = (time * 2.0) as usize; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_beat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `instruments` and `mixer` are never read [INFO] [stdout] --> crates/engine/src/sequencer.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Sequencer { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 15 | song: Arc>, [INFO] [stdout] 16 | instruments: Arc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | mixer: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rsynth-engine v0.1.0 (/opt/rustwide/workdir/crates/engine) [INFO] [stderr] Compiling rsynth-lang v0.1.0 (/opt/rustwide/workdir/crates/lang) [INFO] [stderr] Compiling rsynth-cli v0.1.0 (/opt/rustwide/workdir/crates/cli) [INFO] [stdout] warning: unused imports: `Envelope`, `FilterType`, and `WaveformType` [INFO] [stdout] --> crates/lang/src/parser.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use rsynth_core::{WaveformType, Envelope, FilterType, InstrumentDefinition}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Envelope`, `FilterType`, and `WaveformType` [INFO] [stdout] --> crates/lang/src/ast.rs:1:63 [INFO] [stdout] | [INFO] [stdout] 1 | use rsynth_core::{InstrumentDefinition, Pattern, Song, Track, WaveformType, Envelope, FilterType}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/lang/src/parser.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let mut inner = pair.into_inner(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> crates/engine/src/playback.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_instrument_synth` [INFO] [stdout] --> crates/engine/src/export.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use rsynth_core::{Song, InstrumentLibrary, create_instrument_synth}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SynthNode` and `create_instrument_synth` [INFO] [stdout] --> crates/engine/src/sequencer.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use rsynth_core::{Song, InstrumentLibrary, create_instrument_synth, SynthNode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> crates/engine/src/sequencer.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::{info, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Envelope`, `FilterType`, and `WaveformType` [INFO] [stdout] --> crates/lang/src/parser.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use rsynth_core::{WaveformType, Envelope, FilterType, InstrumentDefinition}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Envelope`, `FilterType`, and `WaveformType` [INFO] [stdout] --> crates/lang/src/ast.rs:1:63 [INFO] [stdout] | [INFO] [stdout] 1 | use rsynth_core::{InstrumentDefinition, Pattern, Song, Track, WaveformType, Envelope, FilterType}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fundsp::prelude` [INFO] [stdout] --> crates/engine/src/export.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fundsp::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/engine/src/playback.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | let (mut sequencer, command_tx) = Sequencer::new(song, instruments, sample_rate); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channels` [INFO] [stdout] --> crates/engine/src/playback.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let channels = config.channels as usize; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channels` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruments` [INFO] [stdout] --> crates/engine/src/export.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | instruments: &InstrumentLibrary, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `beat` [INFO] [stdout] --> crates/engine/src/sequencer.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | let beat = (time * 2.0) as usize; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_beat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `instruments` and `mixer` are never read [INFO] [stdout] --> crates/engine/src/sequencer.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Sequencer { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 15 | song: Arc>, [INFO] [stdout] 16 | instruments: Arc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | mixer: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> examples/synthesis/../prototype2_modular.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 8 | trait Module: Send { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 12 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/lang/src/parser.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let mut inner = pair.into_inner(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hihat_open` is never used [INFO] [stdout] --> examples/synthesis/../prototype1_functional.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn hihat_open() -> impl AudioUnit + Clone { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.17s [INFO] running `Command { std: "docker" "inspect" "4d5ed92ac3b8c41b2e758f885e32c58876872ae271bd704ab04999286914fe97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d5ed92ac3b8c41b2e758f885e32c58876872ae271bd704ab04999286914fe97", kill_on_drop: false }` [INFO] [stdout] 4d5ed92ac3b8c41b2e758f885e32c58876872ae271bd704ab04999286914fe97