[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.62.0 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsteffensen%2Fsinus-synth" "/workspace/builds/worker-12/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/psteffensen/sinus-synth on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-12/source/Cargo.toml
[INFO] crate git repo https://github.com/psteffensen/sinus-synth already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ece5f50afffc2eb50971cd2603d8000d95cceffa949ba62d609621dfb735a889
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ece5f50afffc2eb50971cd2603d8000d95cceffa949ba62d609621dfb735a889", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ece5f50afffc2eb50971cd2603d8000d95cceffa949ba62d609621dfb735a889", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ece5f50afffc2eb50971cd2603d8000d95cceffa949ba62d609621dfb735a889", kill_on_drop: false }`
[INFO] [stdout] ece5f50afffc2eb50971cd2603d8000d95cceffa949ba62d609621dfb735a889
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e9f1dd7c0bc691bc50a2cec2dde28eb251f51acf1b39967661a9927e59e00d13
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "e9f1dd7c0bc691bc50a2cec2dde28eb251f51acf1b39967661a9927e59e00d13", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.45
[INFO] [stderr]    Compiling proc-macro2 v0.4.24
[INFO] [stderr]    Compiling khronos_api v3.0.0
[INFO] [stderr]    Compiling serde v1.0.82
[INFO] [stderr]    Compiling nix v0.12.0
[INFO] [stderr]    Compiling num-derive v0.2.3
[INFO] [stderr]    Compiling libloading v0.5.0
[INFO] [stderr]    Compiling log v0.4.6
[INFO] [stderr]    Compiling wayland-scanner v0.21.7
[INFO] [stderr]    Compiling stb_truetype v0.2.4
[INFO] [stderr]    Compiling crossbeam-utils v0.2.2
[INFO] [stderr]    Compiling deflate v0.7.19
[INFO] [stderr]    Compiling inflate v0.4.4
[INFO] [stderr]    Compiling smallvec v0.6.7
[INFO] [stderr]    Compiling ordered-float v1.0.1
[INFO] [stderr]    Compiling approx v0.3.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.3.1
[INFO] [stderr]    Compiling png v0.12.0
[INFO] [stderr]    Compiling rusttype v0.7.3
[INFO] [stderr]    Compiling crossbeam-deque v0.2.0
[INFO] [stderr]    Compiling gl_generator v0.10.0
[INFO] [stderr]    Compiling andrew v0.1.4
[INFO] [stderr]    Compiling piston2d-graphics v0.28.0
[INFO] [stderr]    Compiling dlib v0.4.1
[INFO] [stderr]    Compiling wayland-sys v0.21.7
[INFO] [stderr]    Compiling wayland-client v0.21.7
[INFO] [stderr]    Compiling wayland-protocols v0.21.7
[INFO] [stderr]    Compiling quote v0.6.10
[INFO] [stderr]    Compiling nix v0.11.0
[INFO] [stderr]    Compiling rand v0.5.5
[INFO] [stderr]    Compiling num_cpus v1.8.0
[INFO] [stderr]    Compiling rand v0.6.1
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling x11-dl v2.18.3
[INFO] [stderr]    Compiling syn v0.15.22
[INFO] [stderr]    Compiling rayon-core v1.4.1
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling parking_lot_core v0.3.1
[INFO] [stderr]    Compiling rayon v1.0.3
[INFO] [stderr]    Compiling gl v0.11.0
[INFO] [stderr]    Compiling glutin v0.19.0
[INFO] [stderr]    Compiling parking_lot v0.6.4
[INFO] [stderr]    Compiling jpeg-decoder v0.1.15
[INFO] [stderr]    Compiling wayland-commons v0.21.7
[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 smithay-client-toolkit v0.4.3
[INFO] [stderr]    Compiling pistoncore-input v0.23.0
[INFO] [stderr]    Compiling winit v0.18.0
[INFO] [stderr]    Compiling pistoncore-window v0.34.0
[INFO] [stderr]    Compiling piston2d-opengl_graphics v0.57.0
[INFO] [stderr]    Compiling pistoncore-event_loop v0.39.0
[INFO] [stderr]    Compiling piston v0.39.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: 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]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[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 is never read: `sound`
[INFO] [stdout]   --> src/main.rs:26:5
[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: field is never read: `num`
[INFO] [stdout]   --> src/main.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 |             num: usize,
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Connect` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/main.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout] 58 | #[derive(Clone, Debug)]
[INFO] [stdout]    |          ^^^^^  ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `from`
[INFO] [stdout]   --> src/main.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |             from: String,
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Connect` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/main.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout] 58 | #[derive(Clone, Debug)]
[INFO] [stdout]    |          ^^^^^  ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `to`
[INFO] [stdout]   --> src/main.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |             to: String,
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Connect` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/main.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout] 58 | #[derive(Clone, Debug)]
[INFO] [stdout]    |          ^^^^^  ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `pitch2freqFormula`
[INFO] [stdout]    --> src/main.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout] 172 |     fn pitch2freqFormula(pitch: u32) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `save_sound`
[INFO] [stdout]    --> src/main.rs:338:8
[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] [stdout] warning: 18 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1m 46s
[INFO] running `Command { std: "docker" "inspect" "e9f1dd7c0bc691bc50a2cec2dde28eb251f51acf1b39967661a9927e59e00d13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9f1dd7c0bc691bc50a2cec2dde28eb251f51acf1b39967661a9927e59e00d13", kill_on_drop: false }`
[INFO] [stdout] e9f1dd7c0bc691bc50a2cec2dde28eb251f51acf1b39967661a9927e59e00d13
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b717e159e121b5ad3e3059a212f90136ab81c9f8639b08a2a64d2076e8140e14
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "b717e159e121b5ad3e3059a212f90136ab81c9f8639b08a2a64d2076e8140e14", kill_on_drop: false }`
[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: 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]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[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 is never read: `sound`
[INFO] [stdout]   --> src/main.rs:26:5
[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: field is never read: `num`
[INFO] [stdout]   --> src/main.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 |             num: usize,
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Connect` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/main.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout] 58 | #[derive(Clone, Debug)]
[INFO] [stdout]    |          ^^^^^  ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `from`
[INFO] [stdout]   --> src/main.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |             from: String,
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Connect` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/main.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout] 58 | #[derive(Clone, Debug)]
[INFO] [stdout]    |          ^^^^^  ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `to`
[INFO] [stdout]   --> src/main.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |             to: String,
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Connect` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/main.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout] 58 | #[derive(Clone, Debug)]
[INFO] [stdout]    |          ^^^^^  ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `pitch2freqFormula`
[INFO] [stdout]    --> src/main.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout] 172 |     fn pitch2freqFormula(pitch: u32) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `save_sound`
[INFO] [stdout]    --> src/main.rs:338:8
[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] [stdout] warning: 18 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.25s
[INFO] [stderr]   Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/sinus_synth-b7ea1d73303f5e36)
[INFO] running `Command { std: "docker" "inspect" "b717e159e121b5ad3e3059a212f90136ab81c9f8639b08a2a64d2076e8140e14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b717e159e121b5ad3e3059a212f90136ab81c9f8639b08a2a64d2076e8140e14", kill_on_drop: false }`
[INFO] [stdout] b717e159e121b5ad3e3059a212f90136ab81c9f8639b08a2a64d2076e8140e14
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f838b6b1db5de96a377fa1c62528c349c2757ca996646b07643a9be21edf1265
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "f838b6b1db5de96a377fa1c62528c349c2757ca996646b07643a9be21edf1265", kill_on_drop: false }`
[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: 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]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[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 is never read: `sound`
[INFO] [stderr]   --> src/main.rs:26:5
[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: field is never read: `num`
[INFO] [stderr]   --> src/main.rs:60:13
[INFO] [stderr]    |
[INFO] [stderr] 60 |             num: usize,
[INFO] [stderr]    |             ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: `Connect` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/main.rs:58:10
[INFO] [stderr]    |
[INFO] [stderr] 58 | #[derive(Clone, Debug)]
[INFO] [stderr]    |          ^^^^^  ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `from`
[INFO] [stderr]   --> src/main.rs:61:13
[INFO] [stderr]    |
[INFO] [stderr] 61 |             from: String,
[INFO] [stderr]    |             ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: `Connect` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/main.rs:58:10
[INFO] [stderr]    |
[INFO] [stderr] 58 | #[derive(Clone, Debug)]
[INFO] [stderr]    |          ^^^^^  ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `to`
[INFO] [stderr]   --> src/main.rs:62:13
[INFO] [stderr]    |
[INFO] [stderr] 62 |             to: String,
[INFO] [stderr]    |             ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: `Connect` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/main.rs:58:10
[INFO] [stderr]    |
[INFO] [stderr] 58 | #[derive(Clone, Debug)]
[INFO] [stderr]    |          ^^^^^  ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `pitch2freqFormula`
[INFO] [stderr]    --> src/main.rs:172:8
[INFO] [stderr]     |
[INFO] [stderr] 172 |     fn pitch2freqFormula(pitch: u32) -> f64 {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `save_sound`
[INFO] [stderr]    --> src/main.rs:338:8
[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 18 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.22s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sinus_synth-b7ea1d73303f5e36)
[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" "f838b6b1db5de96a377fa1c62528c349c2757ca996646b07643a9be21edf1265", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f838b6b1db5de96a377fa1c62528c349c2757ca996646b07643a9be21edf1265", kill_on_drop: false }`
[INFO] [stdout] f838b6b1db5de96a377fa1c62528c349c2757ca996646b07643a9be21edf1265
