[INFO] cloning repository https://github.com/psteffensen/sinus-synth
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/psteffensen/sinus-synth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsteffensen%2Fsinus-synth", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsteffensen%2Fsinus-synth'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b37f2d4c6809f90f0abc1ab22776663d68995ddb
[INFO] testing psteffensen/sinus-synth against 1.90.0 for beta-1.91-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsteffensen%2Fsinus-synth" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/psteffensen/sinus-synth
[INFO] finished tweaking git repo https://github.com/psteffensen/sinus-synth
[INFO] tweaked toml for git repo https://github.com/psteffensen/sinus-synth written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/psteffensen/sinus-synth on toolchain 1.90.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/psteffensen/sinus-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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pistoncore-glutin_window v0.51.1
[INFO] [stderr]   Downloaded pistoncore-input v0.23.0
[INFO] [stderr]   Downloaded pistoncore-window v0.34.0
[INFO] [stderr]   Downloaded piston-viewport v0.5.0
[INFO] [stderr]   Downloaded proc-macro2 v0.4.24
[INFO] [stderr]   Downloaded quote v0.6.10
[INFO] [stderr]   Downloaded pistoncore-event_loop v0.39.0
[INFO] [stderr]   Downloaded wayland-sys v0.21.7
[INFO] [stderr]   Downloaded smallvec v0.6.7
[INFO] [stderr]   Downloaded rusttype v0.7.3
[INFO] [stderr]   Downloaded rand_core v0.3.0
[INFO] [stderr]   Downloaded piston v0.39.0
[INFO] [stderr]   Downloaded gl v0.11.0
[INFO] [stderr]   Downloaded inflate v0.4.4
[INFO] [stderr]   Downloaded gif v0.10.1
[INFO] [stderr]   Downloaded piston2d-graphics v0.28.0
[INFO] [stderr]   Downloaded smithay-client-toolkit v0.4.3
[INFO] [stderr]   Downloaded nix v0.12.0
[INFO] [stderr]   Downloaded rand v0.6.1
[INFO] [stderr]   Downloaded nix v0.11.0
[INFO] [stderr]   Downloaded wayland-protocols v0.21.7
[INFO] [stderr]   Downloaded glutin v0.19.0
[INFO] [stderr]   Downloaded syn v0.15.22
[INFO] [stderr]   Downloaded cc v1.0.25
[INFO] [stderr]   Downloaded image v0.20.1
[INFO] [stderr]   Downloaded winit v0.18.0
[INFO] [stderr]   Downloaded piston2d-opengl_graphics v0.57.0
[INFO] [stderr]   Downloaded gleam v0.6.8
[INFO] [stderr]   Downloaded ordered-float v1.0.1
[INFO] [stderr]   Downloaded wayland-client v0.21.7
[INFO] [stderr]   Downloaded tiff v0.2.1
[INFO] [stderr]   Downloaded serde v1.0.82
[INFO] [stderr]   Downloaded libc v0.2.45
[INFO] [stderr]   Downloaded num-derive v0.2.3
[INFO] [stderr]   Downloaded byteorder v1.2.7
[INFO] [stderr]   Downloaded winapi-util v0.1.1
[INFO] [stderr]   Downloaded downcast-rs v1.0.3
[INFO] [stderr]   Downloaded wayland-scanner v0.21.7
[INFO] [stderr]   Downloaded cocoa v0.18.4
[INFO] [stderr]   Downloaded core-foundation v0.6.3
[INFO] [stderr]   Downloaded stb_truetype v0.2.4
[INFO] [stderr]   Downloaded andrew v0.1.4
[INFO] [stderr]   Downloaded rand_chacha v0.1.0
[INFO] [stderr]   Downloaded png v0.12.0
[INFO] [stderr]   Downloaded approx v0.3.0
[INFO] [stderr]   Downloaded wayland-commons v0.21.7
[INFO] [stderr]   Downloaded rand_xorshift v0.1.0
[INFO] [stderr]   Downloaded serde_derive v1.0.82
[INFO] [stderr]   Downloaded arrayvec v0.4.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 386c0cbd4c404eb9046b11ef4ea6ef846208d0b550c4ec11a64199f741ba2430
[INFO] running `Command { std: "docker" "start" "-a" "386c0cbd4c404eb9046b11ef4ea6ef846208d0b550c4ec11a64199f741ba2430", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "386c0cbd4c404eb9046b11ef4ea6ef846208d0b550c4ec11a64199f741ba2430", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "386c0cbd4c404eb9046b11ef4ea6ef846208d0b550c4ec11a64199f741ba2430", kill_on_drop: false }`
[INFO] [stdout] 386c0cbd4c404eb9046b11ef4ea6ef846208d0b550c4ec11a64199f741ba2430
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f2d83ba660fa9fc18c8dcda0a740256a922a84ed5303428981948777a21480fb
[INFO] running `Command { std: "docker" "start" "-a" "f2d83ba660fa9fc18c8dcda0a740256a922a84ed5303428981948777a21480fb", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling libc v0.2.45
[INFO] [stderr]    Compiling xml-rs v0.8.0
[INFO] [stderr]    Compiling byteorder v1.2.7
[INFO] [stderr]    Compiling proc-macro2 v0.4.24
[INFO] [stderr]    Compiling rand_core v0.3.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling cc v1.0.25
[INFO] [stderr]    Compiling khronos_api v3.0.0
[INFO] [stderr]    Compiling log v0.4.6
[INFO] [stderr]    Compiling arrayvec v0.4.8
[INFO] [stderr]    Compiling nix v0.11.0
[INFO] [stderr]    Compiling piston-viewport v0.5.0
[INFO] [stderr]    Compiling serde v1.0.82
[INFO] [stderr]    Compiling approx v0.3.0
[INFO] [stderr]    Compiling ordered-float v1.0.1
[INFO] [stderr]    Compiling rand_pcg v0.1.1
[INFO] [stderr]    Compiling rand_chacha v0.1.0
[INFO] [stderr]    Compiling stb_truetype v0.2.4
[INFO] [stderr]    Compiling rand v0.6.1
[INFO] [stderr]    Compiling rand_core v0.2.2
[INFO] [stderr]    Compiling parking_lot_core v0.3.1
[INFO] [stderr]    Compiling unreachable v1.0.0
[INFO] [stderr]    Compiling downcast-rs v1.0.3
[INFO] [stderr]    Compiling nix v0.12.0
[INFO] [stderr]    Compiling same-file v1.0.4
[INFO] [stderr]    Compiling stable_deref_trait v1.1.1
[INFO] [stderr]    Compiling smallvec v0.6.7
[INFO] [stderr]    Compiling owning_ref v0.4.0
[INFO] [stderr]    Compiling rand_xorshift v0.1.0
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling line_drawing v0.7.0
[INFO] [stderr]    Compiling xdg v2.2.0
[INFO] [stderr]    Compiling num-derive v0.2.3
[INFO] [stderr]    Compiling walkdir v2.2.7
[INFO] [stderr]    Compiling lock_api v0.1.5
[INFO] [stderr]    Compiling num-rational v0.2.1
[INFO] [stderr]    Compiling either v1.5.0
[INFO] [stderr]    Compiling rusttype v0.7.3
[INFO] [stderr]    Compiling crossbeam-epoch v0.3.1
[INFO] [stderr]    Compiling libloading v0.5.0
[INFO] [stderr]    Compiling deflate v0.7.19
[INFO] [stderr]    Compiling inflate v0.4.4
[INFO] [stderr]    Compiling rand v0.5.5
[INFO] [stderr]    Compiling num_cpus v1.8.0
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling wayland-scanner v0.21.7
[INFO] [stderr]    Compiling gl_generator v0.10.0
[INFO] [stderr]    Compiling andrew v0.1.4
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling quote v0.6.10
[INFO] [stderr]    Compiling dlib v0.4.1
[INFO] [stderr]    Compiling wayland-sys v0.21.7
[INFO] [stderr]    Compiling crossbeam-deque v0.2.0
[INFO] [stderr]    Compiling syn v0.15.22
[INFO] [stderr]    Compiling x11-dl v2.18.3
[INFO] [stderr]    Compiling gif v0.10.1
[INFO] [stderr]    Compiling png v0.12.0
[INFO] [stderr]    Compiling rayon-core v1.4.1
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling piston2d-graphics v0.28.0
[INFO] [stderr]    Compiling rayon v1.0.3
[INFO] [stderr]    Compiling parking_lot v0.6.4
[INFO] [stderr]    Compiling wayland-client v0.21.7
[INFO] [stderr]    Compiling wayland-protocols v0.21.7
[INFO] [stderr]    Compiling gl v0.11.0
[INFO] [stderr]    Compiling glutin v0.19.0
[INFO] [stderr]    Compiling wayland-commons v0.21.7
[INFO] [stderr]    Compiling jpeg-decoder v0.1.15
[INFO] [stderr]    Compiling serde_derive v1.0.82
[INFO] [stderr]    Compiling tiff v0.2.1
[INFO] [stderr]    Compiling image v0.20.1
[INFO] [stderr]    Compiling pistoncore-input v0.23.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.4.3
[INFO] [stderr]    Compiling piston2d-opengl_graphics v0.57.0
[INFO] [stderr]    Compiling pistoncore-window v0.34.0
[INFO] [stderr]    Compiling pistoncore-event_loop v0.39.0
[INFO] [stderr]    Compiling piston v0.39.0
[INFO] [stderr]    Compiling winit v0.18.0
[INFO] [stderr]    Compiling pistoncore-glutin_window v0.51.1
[INFO] [stderr]    Compiling sinus-synth v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/main.rs:99:55
[INFO] [stdout]    |
[INFO] [stdout] 99 |     fn open_sound(file_name: &str) -> std::io::Result<(String)> { 
[INFO] [stdout]    |                                                       ^      ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 99 -     fn open_sound(file_name: &str) -> std::io::Result<(String)> { 
[INFO] [stdout] 99 +     fn open_sound(file_name: &str) -> std::io::Result<String> { 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/main.rs:130:70
[INFO] [stdout]     |
[INFO] [stdout] 130 |                     let temp: Vec<&str> = params[9].trim().split(|x| (x == ' ')).collect();
[INFO] [stdout]     |                                                                      ^        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 130 -                     let temp: Vec<&str> = params[9].trim().split(|x| (x == ' ')).collect();
[INFO] [stdout] 130 +                     let temp: Vec<&str> = params[9].trim().split(|x| x == ' ').collect();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/main.rs:134:73
[INFO] [stdout]     |
[INFO] [stdout] 134 | ...                   let fraction: Vec<&str> = temp[1].split(|x| (x == '/')).collect();
[INFO] [stdout]     |                                                                   ^        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 134 -                             let fraction: Vec<&str> = temp[1].split(|x| (x == '/')).collect();
[INFO] [stdout] 134 +                             let fraction: Vec<&str> = temp[1].split(|x| x == '/').collect();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_name`
[INFO] [stdout]   --> src/main.rs:80:13
[INFO] [stdout]    |
[INFO] [stdout] 80 |         let file_name = "sound.sin";
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contents`
[INFO] [stdout]   --> src/main.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let contents = App::open_sound("sound_test.sin");
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size_usize`
[INFO] [stdout]    --> src/main.rs:100:13
[INFO] [stdout]     |
[INFO] [stdout] 100 |         let size_usize: usize = mem::size_of::<usize>();
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_size_usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `adsr`
[INFO] [stdout]    --> src/main.rs:113:17
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let mut adsr: [[f64; 4]; 1];
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_adsr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `seq`
[INFO] [stdout]    --> src/main.rs:119:17
[INFO] [stdout]     |
[INFO] [stdout] 119 |         let mut seq: [[f64; 2]; 2048];
[INFO] [stdout]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_seq`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `i` is never read
[INFO] [stdout]    --> src/main.rs:122:21
[INFO] [stdout]     |
[INFO] [stdout] 122 |             let mut i  = 1 as usize;
[INFO] [stdout]     |                     ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `i` is never read
[INFO] [stdout]    --> src/main.rs:160:21
[INFO] [stdout]     |
[INFO] [stdout] 160 | ...   i = params[1].trim().parse::<usize>().unwrap(); // number. Trim takes away white spaces, parse parses to f64 and unwrap unwraps fro...
[INFO] [stdout]     |       ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/main.rs:364:124
[INFO] [stdout]     |
[INFO] [stdout] 364 | ..., wave: f64, pi: f64, pitch: f64, x: u32, y: u32, rotate: u32) {
[INFO] [stdout]     |                                      ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/main.rs:364:132
[INFO] [stdout]     |
[INFO] [stdout] 364 | ...f64, pi: f64, pitch: f64, x: u32, y: u32, rotate: u32) {
[INFO] [stdout]     |                                      ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rotate`
[INFO] [stdout]    --> src/main.rs:364:140
[INFO] [stdout]     |
[INFO] [stdout] 364 | ... pitch: f64, x: u32, y: u32, rotate: u32) {
[INFO] [stdout]     |                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sound` is never read
[INFO] [stdout]   --> src/main.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct App {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     sound: [[f64; 4];64],
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Connect` is never constructed
[INFO] [stdout]   --> src/main.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 59 | struct Connect {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `pitch2freqFormula` and `save_sound` are never used
[INFO] [stdout]    --> src/main.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout]  66 | impl App {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 172 |     fn pitch2freqFormula(pitch: u32) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 338 |     fn save_sound(&self, file_name: &str) -> std::io::Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `pitch2freqFormula` should have a snake case name
[INFO] [stdout]    --> src/main.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout] 172 |     fn pitch2freqFormula(pitch: u32) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pitch2freq_formula`
[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 31.79s
[INFO] running `Command { std: "docker" "inspect" "f2d83ba660fa9fc18c8dcda0a740256a922a84ed5303428981948777a21480fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2d83ba660fa9fc18c8dcda0a740256a922a84ed5303428981948777a21480fb", kill_on_drop: false }`
[INFO] [stdout] f2d83ba660fa9fc18c8dcda0a740256a922a84ed5303428981948777a21480fb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 38cde5ba19da0ada5deb54869d690cc7c38c336b99e74e69d08da12571d96aeb
[INFO] running `Command { std: "docker" "start" "-a" "38cde5ba19da0ada5deb54869d690cc7c38c336b99e74e69d08da12571d96aeb", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling sinus-synth v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/main.rs:99:55
[INFO] [stdout]    |
[INFO] [stdout] 99 |     fn open_sound(file_name: &str) -> std::io::Result<(String)> { 
[INFO] [stdout]    |                                                       ^      ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 99 -     fn open_sound(file_name: &str) -> std::io::Result<(String)> { 
[INFO] [stdout] 99 +     fn open_sound(file_name: &str) -> std::io::Result<String> { 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/main.rs:130:70
[INFO] [stdout]     |
[INFO] [stdout] 130 |                     let temp: Vec<&str> = params[9].trim().split(|x| (x == ' ')).collect();
[INFO] [stdout]     |                                                                      ^        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 130 -                     let temp: Vec<&str> = params[9].trim().split(|x| (x == ' ')).collect();
[INFO] [stdout] 130 +                     let temp: Vec<&str> = params[9].trim().split(|x| x == ' ').collect();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/main.rs:134:73
[INFO] [stdout]     |
[INFO] [stdout] 134 | ...                   let fraction: Vec<&str> = temp[1].split(|x| (x == '/')).collect();
[INFO] [stdout]     |                                                                   ^        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 134 -                             let fraction: Vec<&str> = temp[1].split(|x| (x == '/')).collect();
[INFO] [stdout] 134 +                             let fraction: Vec<&str> = temp[1].split(|x| x == '/').collect();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_name`
[INFO] [stdout]   --> src/main.rs:80:13
[INFO] [stdout]    |
[INFO] [stdout] 80 |         let file_name = "sound.sin";
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contents`
[INFO] [stdout]   --> src/main.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let contents = App::open_sound("sound_test.sin");
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size_usize`
[INFO] [stdout]    --> src/main.rs:100:13
[INFO] [stdout]     |
[INFO] [stdout] 100 |         let size_usize: usize = mem::size_of::<usize>();
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_size_usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `adsr`
[INFO] [stdout]    --> src/main.rs:113:17
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let mut adsr: [[f64; 4]; 1];
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_adsr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `seq`
[INFO] [stdout]    --> src/main.rs:119:17
[INFO] [stdout]     |
[INFO] [stdout] 119 |         let mut seq: [[f64; 2]; 2048];
[INFO] [stdout]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_seq`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `i` is never read
[INFO] [stdout]    --> src/main.rs:122:21
[INFO] [stdout]     |
[INFO] [stdout] 122 |             let mut i  = 1 as usize;
[INFO] [stdout]     |                     ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `i` is never read
[INFO] [stdout]    --> src/main.rs:160:21
[INFO] [stdout]     |
[INFO] [stdout] 160 | ...   i = params[1].trim().parse::<usize>().unwrap(); // number. Trim takes away white spaces, parse parses to f64 and unwrap unwraps fro...
[INFO] [stdout]     |       ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/main.rs:364:124
[INFO] [stdout]     |
[INFO] [stdout] 364 | ..., wave: f64, pi: f64, pitch: f64, x: u32, y: u32, rotate: u32) {
[INFO] [stdout]     |                                      ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/main.rs:364:132
[INFO] [stdout]     |
[INFO] [stdout] 364 | ...f64, pi: f64, pitch: f64, x: u32, y: u32, rotate: u32) {
[INFO] [stdout]     |                                      ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rotate`
[INFO] [stdout]    --> src/main.rs:364:140
[INFO] [stdout]     |
[INFO] [stdout] 364 | ... pitch: f64, x: u32, y: u32, rotate: u32) {
[INFO] [stdout]     |                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sound` is never read
[INFO] [stdout]   --> src/main.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct App {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     sound: [[f64; 4];64],
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Connect` is never constructed
[INFO] [stdout]   --> src/main.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 59 | struct Connect {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `pitch2freqFormula` and `save_sound` are never used
[INFO] [stdout]    --> src/main.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout]  66 | impl App {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 172 |     fn pitch2freqFormula(pitch: u32) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 338 |     fn save_sound(&self, file_name: &str) -> std::io::Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `pitch2freqFormula` should have a snake case name
[INFO] [stdout]    --> src/main.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout] 172 |     fn pitch2freqFormula(pitch: u32) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pitch2freq_formula`
[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.64s
[INFO] running `Command { std: "docker" "inspect" "38cde5ba19da0ada5deb54869d690cc7c38c336b99e74e69d08da12571d96aeb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38cde5ba19da0ada5deb54869d690cc7c38c336b99e74e69d08da12571d96aeb", kill_on_drop: false }`
[INFO] [stdout] 38cde5ba19da0ada5deb54869d690cc7c38c336b99e74e69d08da12571d96aeb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 828210ad02ce2296f0683498c698a0139d76e045ec3526d573216baba60996b2
[INFO] running `Command { std: "docker" "start" "-a" "828210ad02ce2296f0683498c698a0139d76e045ec3526d573216baba60996b2", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]   --> src/main.rs:99:55
[INFO] [stderr]    |
[INFO] [stderr] 99 |     fn open_sound(file_name: &str) -> std::io::Result<(String)> { 
[INFO] [stderr]    |                                                       ^      ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 99 -     fn open_sound(file_name: &str) -> std::io::Result<(String)> { 
[INFO] [stderr] 99 +     fn open_sound(file_name: &str) -> std::io::Result<String> { 
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around closure body
[INFO] [stderr]    --> src/main.rs:130:70
[INFO] [stderr]     |
[INFO] [stderr] 130 |                     let temp: Vec<&str> = params[9].trim().split(|x| (x == ' ')).collect();
[INFO] [stderr]     |                                                                      ^        ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 130 -                     let temp: Vec<&str> = params[9].trim().split(|x| (x == ' ')).collect();
[INFO] [stderr] 130 +                     let temp: Vec<&str> = params[9].trim().split(|x| x == ' ').collect();
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around closure body
[INFO] [stderr]    --> src/main.rs:134:73
[INFO] [stderr]     |
[INFO] [stderr] 134 | ...                   let fraction: Vec<&str> = temp[1].split(|x| (x == '/')).collect();
[INFO] [stderr]     |                                                                   ^        ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 134 -                             let fraction: Vec<&str> = temp[1].split(|x| (x == '/')).collect();
[INFO] [stderr] 134 +                             let fraction: Vec<&str> = temp[1].split(|x| x == '/').collect();
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `file_name`
[INFO] [stderr]   --> src/main.rs:80:13
[INFO] [stderr]    |
[INFO] [stderr] 80 |         let file_name = "sound.sin";
[INFO] [stderr]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `contents`
[INFO] [stderr]   --> src/main.rs:81:13
[INFO] [stderr]    |
[INFO] [stderr] 81 |         let contents = App::open_sound("sound_test.sin");
[INFO] [stderr]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `size_usize`
[INFO] [stderr]    --> src/main.rs:100:13
[INFO] [stderr]     |
[INFO] [stderr] 100 |         let size_usize: usize = mem::size_of::<usize>();
[INFO] [stderr]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_size_usize`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `adsr`
[INFO] [stderr]    --> src/main.rs:113:17
[INFO] [stderr]     |
[INFO] [stderr] 113 |         let mut adsr: [[f64; 4]; 1];
[INFO] [stderr]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_adsr`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `seq`
[INFO] [stderr]    --> src/main.rs:119:17
[INFO] [stderr]     |
[INFO] [stderr] 119 |         let mut seq: [[f64; 2]; 2048];
[INFO] [stderr]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_seq`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `i` is never read
[INFO] [stderr]    --> src/main.rs:122:21
[INFO] [stderr]     |
[INFO] [stderr] 122 |             let mut i  = 1 as usize;
[INFO] [stderr]     |                     ^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `i` is never read
[INFO] [stderr]    --> src/main.rs:160:21
[INFO] [stderr]     |
[INFO] [stderr] 160 | ...   i = params[1].trim().parse::<usize>().unwrap(); // number. Trim takes away white spaces, parse parses to f64 and unwrap unwraps fro...
[INFO] [stderr]     |       ^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]    --> src/main.rs:364:124
[INFO] [stderr]     |
[INFO] [stderr] 364 | ..., wave: f64, pi: f64, pitch: f64, x: u32, y: u32, rotate: u32) {
[INFO] [stderr]     |                                      ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `y`
[INFO] [stderr]    --> src/main.rs:364:132
[INFO] [stderr]     |
[INFO] [stderr] 364 | ...f64, pi: f64, pitch: f64, x: u32, y: u32, rotate: u32) {
[INFO] [stderr]     |                                      ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `rotate`
[INFO] [stderr]    --> src/main.rs:364:140
[INFO] [stderr]     |
[INFO] [stderr] 364 | ... pitch: f64, x: u32, y: u32, rotate: u32) {
[INFO] [stderr]     |                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotate`
[INFO] [stderr] 
[INFO] [stderr] warning: field `sound` is never read
[INFO] [stderr]   --> src/main.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub struct App {
[INFO] [stderr]    |            --- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 26 |     sound: [[f64; 4];64],
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Connect` is never constructed
[INFO] [stderr]   --> src/main.rs:59:8
[INFO] [stderr]    |
[INFO] [stderr] 59 | struct Connect {
[INFO] [stderr]    |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `pitch2freqFormula` and `save_sound` are never used
[INFO] [stderr]    --> src/main.rs:172:8
[INFO] [stderr]     |
[INFO] [stderr]  66 | impl App {
[INFO] [stderr]     | -------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 172 |     fn pitch2freqFormula(pitch: u32) -> f64 {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 338 |     fn save_sound(&self, file_name: &str) -> std::io::Result<()> {
[INFO] [stderr]     |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `pitch2freqFormula` should have a snake case name
[INFO] [stderr]    --> src/main.rs:172:8
[INFO] [stderr]     |
[INFO] [stderr] 172 |     fn pitch2freqFormula(pitch: u32) -> f64 {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pitch2freq_formula`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `sinus-synth` (bin "sinus-synth" test) generated 17 warnings (run `cargo fix --bin "sinus-synth" --tests` to apply 3 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sinus_synth-1efc7796b9781f77)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "828210ad02ce2296f0683498c698a0139d76e045ec3526d573216baba60996b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "828210ad02ce2296f0683498c698a0139d76e045ec3526d573216baba60996b2", kill_on_drop: false }`
[INFO] [stdout] 828210ad02ce2296f0683498c698a0139d76e045ec3526d573216baba60996b2
