[INFO] cloning repository https://github.com/TrionProg/kurs_sp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TrionProg/kurs_sp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrionProg%2Fkurs_sp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrionProg%2Fkurs_sp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 642f9b16f43eb86b2430108242466e5a75fc9f2b [INFO] checking TrionProg/kurs_sp against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrionProg%2Fkurs_sp" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TrionProg/kurs_sp on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TrionProg/kurs_sp [INFO] finished tweaking git repo https://github.com/TrionProg/kurs_sp [INFO] tweaked toml for git repo https://github.com/TrionProg/kurs_sp written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/TrionProg/kurs_sp already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e5a59c6aa1407299ac7f569d2f0acfcfb25ebbb0afc80d51dcc29ff16c37267 [INFO] running `Command { std: "docker" "start" "-a" "7e5a59c6aa1407299ac7f569d2f0acfcfb25ebbb0afc80d51dcc29ff16c37267", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e5a59c6aa1407299ac7f569d2f0acfcfb25ebbb0afc80d51dcc29ff16c37267", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e5a59c6aa1407299ac7f569d2f0acfcfb25ebbb0afc80d51dcc29ff16c37267", kill_on_drop: false }` [INFO] [stdout] 7e5a59c6aa1407299ac7f569d2f0acfcfb25ebbb0afc80d51dcc29ff16c37267 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de040876dec5d2a470d998671a167f0ed67a795506e9b075ff9b937c2778164b [INFO] running `Command { std: "docker" "start" "-a" "de040876dec5d2a470d998671a167f0ed67a795506e9b075ff9b937c2778164b", kill_on_drop: false }` [INFO] [stderr] Checking kurs_sp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std` [INFO] [stdout] --> src/signal.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::N` [INFO] [stdout] --> src/signal.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::N; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand` [INFO] [stdout] --> src/float.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndependentSample`, `Range` [INFO] [stdout] --> src/float.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::distributions::{IndependentSample, Range}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::LEN` [INFO] [stdout] --> src/float.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use super::LEN; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `load_signal`, `write_signal` [INFO] [stdout] --> src/float.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use signal::{load_signal,write_signal}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand` [INFO] [stdout] --> src/fixed.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndependentSample`, `Range` [INFO] [stdout] --> src/fixed.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::distributions::{IndependentSample, Range}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::LEN` [INFO] [stdout] --> src/fixed.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use super::LEN; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `load_signal`, `write_signal` [INFO] [stdout] --> src/fixed.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use signal::{load_signal,write_signal}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std` [INFO] [stdout] --> src/signal.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::N` [INFO] [stdout] --> src/signal.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::N; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand` [INFO] [stdout] --> src/float.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndependentSample`, `Range` [INFO] [stdout] --> src/float.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::distributions::{IndependentSample, Range}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand` [INFO] [stdout] --> src/fixed.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndependentSample`, `Range` [INFO] [stdout] --> src/fixed.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::distributions::{IndependentSample, Range}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/float.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 20 | let mut H:[f32;N] = unsafe{std::mem::uninitialized()}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/fixed.rs:71:42 [INFO] [stdout] | [INFO] [stdout] 71 | let mut H:[i32;N] = unsafe{std::mem::uninitialized()}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/float.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 20 | let mut H:[f32;N] = unsafe{std::mem::uninitialized()}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/fixed.rs:71:42 [INFO] [stdout] | [INFO] [stdout] 71 | let mut H:[i32;N] = unsafe{std::mem::uninitialized()}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/signal.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let mut reader = BufReader::new(f); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/signal.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let mut reader = BufReader::new(f); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rand` [INFO] [stdout] --> src/signal.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn rand(i:usize) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `H` should have a snake case name [INFO] [stdout] --> src/float.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut H:[f32;N] = unsafe{std::mem::uninitialized()}; [INFO] [stdout] | ^ help: convert the identifier to snake case: `h` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `H` should have a snake case name [INFO] [stdout] --> src/float.rs:23:61 [INFO] [stdout] | [INFO] [stdout] 23 | H[k]=1.0/N as f32 * h.iter().enumerate().fold(0.0, |H, (n,h)| { [INFO] [stdout] | ^ help: convert the identifier to snake case: `h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `H` should have a snake case name [INFO] [stdout] --> src/fixed.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut H:[i32;N] = unsafe{std::mem::uninitialized()}; [INFO] [stdout] | ^ help: convert the identifier to snake case: `h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `divN16` should have a snake case name [INFO] [stdout] --> src/fixed.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let divN16=from12_to_16bit(to_12bit(1.0/N as f32)); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `div_n16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `H` should have a snake case name [INFO] [stdout] --> src/fixed.rs:77:45 [INFO] [stdout] | [INFO] [stdout] 77 | let b=h.iter().enumerate().fold(0, |H, (n,h)| { [INFO] [stdout] | ^ help: convert the identifier to snake case: `h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rand` [INFO] [stdout] --> src/signal.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn rand(i:usize) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_signal` [INFO] [stdout] --> src/signal.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn load_signal() -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cas` [INFO] [stdout] --> src/float.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn cas(x:f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dph` [INFO] [stdout] --> src/float.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn dph(h:&[f32]) -> [f32;N] { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_10bit` [INFO] [stdout] --> src/fixed.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn to_10bit(x:f32) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_12bit` [INFO] [stdout] --> src/fixed.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn to_12bit(x:f32) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_16bit` [INFO] [stdout] --> src/fixed.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn to_16bit(x:f32) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `from10_to_16bit` [INFO] [stdout] --> src/fixed.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn from10_to_16bit(x:i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `from12_to_16bit` [INFO] [stdout] --> src/fixed.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn from12_to_16bit(x:i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `from_16bit_to_float` [INFO] [stdout] --> src/fixed.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn from_16bit_to_float(x:i32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cas16` [INFO] [stdout] --> src/fixed.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn cas16(x:i32) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dph` [INFO] [stdout] --> src/fixed.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn dph(h:&[i32]) -> [i32;N] {//работает с 16 бит [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `H` should have a snake case name [INFO] [stdout] --> src/float.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut H:[f32;N] = unsafe{std::mem::uninitialized()}; [INFO] [stdout] | ^ help: convert the identifier to snake case: `h` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `H` should have a snake case name [INFO] [stdout] --> src/float.rs:23:61 [INFO] [stdout] | [INFO] [stdout] 23 | H[k]=1.0/N as f32 * h.iter().enumerate().fold(0.0, |H, (n,h)| { [INFO] [stdout] | ^ help: convert the identifier to snake case: `h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `H` should have a snake case name [INFO] [stdout] --> src/fixed.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut H:[i32;N] = unsafe{std::mem::uninitialized()}; [INFO] [stdout] | ^ help: convert the identifier to snake case: `h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `divN16` should have a snake case name [INFO] [stdout] --> src/fixed.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let divN16=from12_to_16bit(to_12bit(1.0/N as f32)); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `div_n16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `H` should have a snake case name [INFO] [stdout] --> src/fixed.rs:77:45 [INFO] [stdout] | [INFO] [stdout] 77 | let b=h.iter().enumerate().fold(0, |H, (n,h)| { [INFO] [stdout] | ^ help: convert the identifier to snake case: `h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "de040876dec5d2a470d998671a167f0ed67a795506e9b075ff9b937c2778164b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de040876dec5d2a470d998671a167f0ed67a795506e9b075ff9b937c2778164b", kill_on_drop: false }` [INFO] [stdout] de040876dec5d2a470d998671a167f0ed67a795506e9b075ff9b937c2778164b