[INFO] cloning repository https://github.com/ThePJB/wavbook [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ThePJB/wavbook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThePJB%2Fwavbook", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThePJB%2Fwavbook'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bb19d5bb74b5961cdf3c77d161123ef77f30f5e0 [INFO] checking ThePJB/wavbook/bb19d5bb74b5961cdf3c77d161123ef77f30f5e0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThePJB%2Fwavbook" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ThePJB/wavbook on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ThePJB/wavbook [INFO] finished tweaking git repo https://github.com/ThePJB/wavbook [INFO] tweaked toml for git repo https://github.com/ThePJB/wavbook written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ThePJB/wavbook 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 693e4c9b9a9c18f41655b5457c9219f13370c99426fb945027a917d14f94c720 [INFO] running `Command { std: "docker" "start" "-a" "693e4c9b9a9c18f41655b5457c9219f13370c99426fb945027a917d14f94c720", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "693e4c9b9a9c18f41655b5457c9219f13370c99426fb945027a917d14f94c720", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "693e4c9b9a9c18f41655b5457c9219f13370c99426fb945027a917d14f94c720", kill_on_drop: false }` [INFO] [stdout] 693e4c9b9a9c18f41655b5457c9219f13370c99426fb945027a917d14f94c720 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8f87ccfa0bfb3769f3bdaf41b77ab3654ed2f00f3428506b661231070abaa5e [INFO] running `Command { std: "docker" "start" "-a" "b8f87ccfa0bfb3769f3bdaf41b77ab3654ed2f00f3428506b661231070abaa5e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking riff-wave v0.1.3 [INFO] [stderr] Checking wavbook v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/main.rs (4 fixes) [INFO] [stderr] Fixed src/vector.rs (1 fix) [INFO] [stdout] warning: constant `SAMPLE_RATE` is never used [INFO] [stdout] --> src/main.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const SAMPLE_RATE: u32 = 44100; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `repeating_impulse` is never used [INFO] [stdout] --> src/main.rs:250:4 [INFO] [stdout] | [INFO] [stdout] 250 | fn repeating_impulse(n: i32, N: i32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `impulse_decay_linear` is never used [INFO] [stdout] --> src/main.rs:258:4 [INFO] [stdout] | [INFO] [stdout] 258 | fn impulse_decay_linear(n: i32, N: i32, d: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `impulse_decay` is never used [INFO] [stdout] --> src/main.rs:266:4 [INFO] [stdout] | [INFO] [stdout] 266 | fn impulse_decay(n: i32, N: i32, d: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_vec_i32` is never used [INFO] [stdout] --> src/main.rs:274:4 [INFO] [stdout] | [INFO] [stdout] 274 | fn sample_vec_i32(vec: &Vec, n: i32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sin_exciter` is never used [INFO] [stdout] --> src/main.rs:281:4 [INFO] [stdout] | [INFO] [stdout] 281 | fn sin_exciter(n: i32, omega: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `white_noise` is never used [INFO] [stdout] --> src/main.rs:287:4 [INFO] [stdout] | [INFO] [stdout] 287 | fn white_noise(n: i32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_cycle` is never used [INFO] [stdout] --> src/main.rs:291:4 [INFO] [stdout] | [INFO] [stdout] 291 | fn part_cycle(f: F, full: i32, part: i32, n: i32) -> f32 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_samples_feedback` is never used [INFO] [stdout] --> src/main.rs:356:4 [INFO] [stdout] | [INFO] [stdout] 356 | fn make_samples_feedback(f: F, N: i32, a: f32, d: i32) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_samples` is never used [INFO] [stdout] --> src/main.rs:367:4 [INFO] [stdout] | [INFO] [stdout] 367 | fn make_samples(f: F, N: i32) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_wav` is never used [INFO] [stdout] --> src/main.rs:374:4 [INFO] [stdout] | [INFO] [stdout] 374 | fn write_wav(outfile: &str, samples: Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash` is never used [INFO] [stdout] --> src/random.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn hash(mut state: u32) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand` is never used [INFO] [stdout] --> src/random.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn rand(seed: u32) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lerp` is never used [INFO] [stdout] --> src/random.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn lerp(x: f32, y: f32, t: f32) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fade` is never used [INFO] [stdout] --> src/random.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn fade(t: f32) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `noise_grad` is never used [INFO] [stdout] --> src/random.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn noise_grad(p: Vec2, seed: u32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vec4` is never constructed [INFO] [stdout] --> src/vector.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Vec4 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vec4` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec4` is never used [INFO] [stdout] --> src/vector.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn vec4(x: f32, y: f32, z: f32, w: f32) -> Vec4 { Vec4 { x, y, z, w } } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/vector.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 222 | impl Vec4 { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 223 | pub fn dot(&self, other: Vec4) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn tl(&self) -> Vec2 {vec2(self.x, self.y)} [INFO] [stdout] | ^^ [INFO] [stdout] 227 | pub fn br(&self) -> Vec2 {vec2(self.x + self.z, self.y + self.w)} [INFO] [stdout] | ^^ [INFO] [stdout] 228 | pub fn tr(&self) -> Vec2 {vec2(self.x + self.z, self.y)} [INFO] [stdout] | ^^ [INFO] [stdout] 229 | pub fn bl(&self) -> Vec2 {vec2(self.x, self.y + self.w)} [INFO] [stdout] | ^^ [INFO] [stdout] 230 | pub fn grid_child(&self, i: usize, j: usize, w: usize, h: usize) -> Vec4 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn hsv_to_rgb(&self) -> Vec4 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | fn contains(&self, p: Vec2) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | fn point_within(&self, p: Vec2) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | fn point_without(&self, p: Vec2) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | fn fit_aspect(&self, a: f32) -> Vec4 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/main.rs:250:30 [INFO] [stdout] | [INFO] [stdout] 250 | fn repeating_impulse(n: i32, N: i32) -> f32 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/main.rs:258:33 [INFO] [stdout] | [INFO] [stdout] 258 | fn impulse_decay_linear(n: i32, N: i32, d: f32) -> f32 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/main.rs:266:26 [INFO] [stdout] | [INFO] [stdout] 266 | fn impulse_decay(n: i32, N: i32, d: f32) -> f32 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/main.rs:356:35 [INFO] [stdout] | [INFO] [stdout] 356 | fn make_samples_feedback(f: F, N: i32, a: f32, d: i32) -> Vec [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/main.rs:367:26 [INFO] [stdout] | [INFO] [stdout] 367 | fn make_samples(f: F, N: i32) -> Vec [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rotate_about_Vec3` should have a snake case name [INFO] [stdout] --> src/vector.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn rotate_about_Vec3(&self, axis: Vec3, theta: f32) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `rotate_about_vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PI` in this scope [INFO] [stdout] --> src/vector.rs:150:64 [INFO] [stdout] | [INFO] [stdout] 150 | ((vec3(1.0, 0.0, 0.0).cartesian_to_spherical() + vec3(0.0, PI, 0.0)).spherical_to_cartesian().assert_approx_equals(vec3(-1.0, 0.0, 0.... [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [INFO] [stdout] | [INFO] [stdout] 2 + use std::f128::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use std::f16::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use std::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use std::f64::consts::PI; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PI` in this scope [INFO] [stdout] --> src/vector.rs:151:65 [INFO] [stdout] | [INFO] [stdout] 151 | ((vec3(1.0, 0.0, 0.0).cartesian_to_spherical() + vec3(0.0, -PI, 0.0)).spherical_to_cartesian().assert_approx_equals(vec3(-1.0, 0.0, 0... [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [INFO] [stdout] | [INFO] [stdout] 2 + use std::f128::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use std::f16::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use std::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use std::f64::consts::PI; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PI` in this scope [INFO] [stdout] --> src/vector.rs:152:68 [INFO] [stdout] | [INFO] [stdout] 152 | ((vec3(1.0, 0.0, 0.0).cartesian_to_spherical() + vec3(0.0, 2.0*PI, 0.0)).spherical_to_cartesian().assert_approx_equals(vec3(1.0, 0.0,... [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [INFO] [stdout] | [INFO] [stdout] 2 + use std::f128::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use std::f16::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use std::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use std::f64::consts::PI; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PI` in this scope [INFO] [stdout] --> src/vector.rs:153:64 [INFO] [stdout] | [INFO] [stdout] 153 | ((vec3(1.0, 0.0, 0.0).cartesian_to_spherical() + vec3(0.0, PI, 0.0)).spherical_to_cartesian().assert_approx_equals(vec3(-1.0, 0.0, 0.... [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [INFO] [stdout] | [INFO] [stdout] 2 + use std::f128::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use std::f16::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use std::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use std::f64::consts::PI; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WriteResult` in this scope [INFO] [stdout] --> src/main.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | fn bassslines() -> WriteResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use riff_wave::WriteResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PI` in this scope [INFO] [stdout] --> src/main.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | const FREQUENCY: f32 = 2.0 * PI * 50.0; // radian per second [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [INFO] [stdout] | [INFO] [stdout] 7 + use std::f128::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f16::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f64::consts::PI; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PI` in this scope [INFO] [stdout] --> src/main.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | phase += f * 2.0 * PI / SAMPLE_RATE as f32; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [INFO] [stdout] | [INFO] [stdout] 7 + use std::f128::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f16::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f64::consts::PI; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WriteResult` in this scope [INFO] [stdout] --> src/main.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | fn write_wave() -> WriteResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use riff_wave::WriteResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PI` in this scope [INFO] [stdout] --> src/main.rs:115:31 [INFO] [stdout] | [INFO] [stdout] 115 | const FREQUENCY: f32 = 2.0 * PI * 50.0; // radian per second [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [INFO] [stdout] | [INFO] [stdout] 7 + use std::f128::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f16::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f64::consts::PI; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PI` in this scope [INFO] [stdout] --> src/main.rs:130:28 [INFO] [stdout] | [INFO] [stdout] 130 | phase += f * 2.0 * PI / SAMPLE_RATE as f32; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [INFO] [stdout] | [INFO] [stdout] 7 + use std::f128::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f16::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f64::consts::PI; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PI` in this scope [INFO] [stdout] --> src/main.rs:132:32 [INFO] [stdout] | [INFO] [stdout] 132 | phase += f * 2.0 * PI / SAMPLE_RATE as f32; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [INFO] [stdout] | [INFO] [stdout] 7 + use std::f128::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f16::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f64::consts::PI; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WriteResult` in this scope [INFO] [stdout] --> src/main.rs:153:24 [INFO] [stdout] | [INFO] [stdout] 153 | fn decimate_white() -> WriteResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use riff_wave::WriteResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WriteResult` in this scope [INFO] [stdout] --> src/main.rs:177:28 [INFO] [stdout] | [INFO] [stdout] 177 | fn write_wave_biphase() -> WriteResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use riff_wave::WriteResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PI` in this scope [INFO] [stdout] --> src/main.rs:178:31 [INFO] [stdout] | [INFO] [stdout] 178 | const FREQUENCY: f32 = 2.0 * PI * 50.0; // radian per second [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [INFO] [stdout] | [INFO] [stdout] 7 + use std::f128::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f16::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f64::consts::PI; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PI` in this scope [INFO] [stdout] --> src/main.rs:195:33 [INFO] [stdout] | [INFO] [stdout] 195 | phase1 += f * 2.0 * PI / SAMPLE_RATE as f32; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [INFO] [stdout] | [INFO] [stdout] 7 + use std::f128::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f16::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f64::consts::PI; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PI` in this scope [INFO] [stdout] --> src/main.rs:198:33 [INFO] [stdout] | [INFO] [stdout] 198 | phase2 += f * 2.0 * PI / SAMPLE_RATE as f32; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [INFO] [stdout] | [INFO] [stdout] 7 + use std::f128::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f16::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f64::consts::PI; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WriteResult` in this scope [INFO] [stdout] --> src/main.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 212 | fn write_wave2() -> WriteResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use riff_wave::WriteResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PI` in this scope [INFO] [stdout] --> src/main.rs:213:31 [INFO] [stdout] | [INFO] [stdout] 213 | const FREQUENCY: f32 = 2.0 * PI * 50.0; // radian per second [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [INFO] [stdout] | [INFO] [stdout] 7 + use std::f128::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f16::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f64::consts::PI; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PI` in this scope [INFO] [stdout] --> src/main.rs:230:29 [INFO] [stdout] | [INFO] [stdout] 230 | 2.0 * f * 2.0 * PI / SAMPLE_RATE as f32 [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [INFO] [stdout] | [INFO] [stdout] 7 + use std::f128::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f16::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f64::consts::PI; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PI` in this scope [INFO] [stdout] --> src/main.rs:232:23 [INFO] [stdout] | [INFO] [stdout] 232 | f * 2.0 * PI / SAMPLE_RATE as f32 [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [INFO] [stdout] | [INFO] [stdout] 7 + use std::f128::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f16::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] 7 + use std::f64::consts::PI; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WriteResult` in this scope [INFO] [stdout] --> src/main.rs:303:28 [INFO] [stdout] | [INFO] [stdout] 303 | fn test_impulse_decay() -> WriteResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 + use riff_wave::WriteResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wavbook` (bin "wavbook" test) due to 22 previous errors [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "b8f87ccfa0bfb3769f3bdaf41b77ab3654ed2f00f3428506b661231070abaa5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8f87ccfa0bfb3769f3bdaf41b77ab3654ed2f00f3428506b661231070abaa5e", kill_on_drop: false }` [INFO] [stdout] b8f87ccfa0bfb3769f3bdaf41b77ab3654ed2f00f3428506b661231070abaa5e