[INFO] cloning repository https://github.com/schnommus/rust-fir [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/schnommus/rust-fir" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fschnommus%2Frust-fir", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fschnommus%2Frust-fir'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 82c71f2ec7814d186b5166e41999e0d2f228f2c5 [INFO] testing schnommus/rust-fir against try#d5830e3d3b571fe52cdf4b7b34be99be74dc65ea+target=i686-unknown-linux-musl for musl_1_2_upgrade_i686_unknown_linux_musl [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fschnommus%2Frust-fir" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/schnommus/rust-fir on toolchain d5830e3d3b571fe52cdf4b7b34be99be74dc65ea [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/schnommus/rust-fir [INFO] finished tweaking git repo https://github.com/schnommus/rust-fir [INFO] tweaked toml for git repo https://github.com/schnommus/rust-fir written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/schnommus/rust-fir 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" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82c6d8c67678716f28b0ec34dc8b3e9cd4f188d06f5ed706587907f61e71aae4 [INFO] running `Command { std: "docker" "start" "-a" "82c6d8c67678716f28b0ec34dc8b3e9cd4f188d06f5ed706587907f61e71aae4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82c6d8c67678716f28b0ec34dc8b3e9cd4f188d06f5ed706587907f61e71aae4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82c6d8c67678716f28b0ec34dc8b3e9cd4f188d06f5ed706587907f61e71aae4", kill_on_drop: false }` [INFO] [stdout] 82c6d8c67678716f28b0ec34dc8b3e9cd4f188d06f5ed706587907f61e71aae4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "build" "--frozen" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6b225855d5460a3c6a43a5845bb137b857b7c0c961baff3e300d70d215fe3c78 [INFO] running `Command { std: "docker" "start" "-a" "6b225855d5460a3c6a43a5845bb137b857b7c0c961baff3e300d70d215fe3c78", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Compiling cfg-if v0.1.3 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Compiling lazy_static v1.0.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling cc v1.0.17 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling byteorder v1.2.3 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling inflate v0.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling rand_core v0.2.0 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling rand v0.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling miniz-sys v0.1.10 [INFO] [stderr] Compiling rayon v1.0.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling flate2 v0.2.20 [INFO] [stderr] Compiling png v0.5.2 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling jpeg-decoder v0.1.14 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling image v0.10.4 [INFO] [stderr] Compiling raster v0.2.0 [INFO] [stderr] Compiling fir v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `intensity_filtered` [INFO] [stdout] --> src/main.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | let intensity_filtered = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intensity_filtered` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Rectangular` and `BlackmanHarris` are never constructed [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum WindowType { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 15 | Rectangular, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | Hamming, [INFO] [stdout] 17 | BlackmanHarris [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `HighPass`, `BandPass`, and `BandStop` are never constructed [INFO] [stdout] --> src/main.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 43 | enum FilterType { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 44 | LowPass(f64), [INFO] [stdout] 45 | HighPass(f64), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 46 | BandPass(f64, f64), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 47 | BandStop(f64, f64) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dft` is never used [INFO] [stdout] --> src/main.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn dft(x: &[f64], n_samples: usize) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `white_noise` is never used [INFO] [stdout] --> src/main.rs:120:4 [INFO] [stdout] | [INFO] [stdout] 120 | fn white_noise(n_samples: usize, amplitude: f64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Fs` should have an upper case name [INFO] [stdout] --> src/main.rs:131:7 [INFO] [stdout] | [INFO] [stdout] 131 | const Fs: f64 = 20e6; [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `FS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nyquist` should have an upper case name [INFO] [stdout] --> src/main.rs:132:7 [INFO] [stdout] | [INFO] [stdout] 132 | const nyquist: f64 = Fs/2.0; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `NYQUIST` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `n_lines` should have an upper case name [INFO] [stdout] --> src/main.rs:133:7 [INFO] [stdout] | [INFO] [stdout] 133 | const n_lines: i32 = 625; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `N_LINES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `n_columns` should have an upper case name [INFO] [stdout] --> src/main.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | const n_columns: i32 = 700; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `N_COLUMNS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `line_freq_hz` should have an upper case name [INFO] [stdout] --> src/main.rs:135:7 [INFO] [stdout] | [INFO] [stdout] 135 | const line_freq_hz: f64 = 15.625e3; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `LINE_FREQ_HZ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `frame_freq_hz` should have an upper case name [INFO] [stdout] --> src/main.rs:136:7 [INFO] [stdout] | [INFO] [stdout] 136 | const frame_freq_hz: f64 = 50.0; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `FRAME_FREQ_HZ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | raster::save(&self.canvas, "test_render.png"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.26s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6b225855d5460a3c6a43a5845bb137b857b7c0c961baff3e300d70d215fe3c78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b225855d5460a3c6a43a5845bb137b857b7c0c961baff3e300d70d215fe3c78", kill_on_drop: false }` [INFO] [stdout] 6b225855d5460a3c6a43a5845bb137b857b7c0c961baff3e300d70d215fe3c78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "test" "--frozen" "--no-run" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b42694e4ad9ef94eddb78833ba8f38f1d95417274d8f67fd0e5091add4a91f34 [INFO] running `Command { std: "docker" "start" "-a" "b42694e4ad9ef94eddb78833ba8f38f1d95417274d8f67fd0e5091add4a91f34", kill_on_drop: false }` [INFO] [stderr] Compiling fir v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `intensity_filtered` [INFO] [stdout] --> src/main.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | let intensity_filtered = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intensity_filtered` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Rectangular` and `BlackmanHarris` are never constructed [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum WindowType { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 15 | Rectangular, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | Hamming, [INFO] [stdout] 17 | BlackmanHarris [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `HighPass`, `BandPass`, and `BandStop` are never constructed [INFO] [stdout] --> src/main.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 43 | enum FilterType { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 44 | LowPass(f64), [INFO] [stdout] 45 | HighPass(f64), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 46 | BandPass(f64, f64), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 47 | BandStop(f64, f64) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dft` is never used [INFO] [stdout] --> src/main.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn dft(x: &[f64], n_samples: usize) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `white_noise` is never used [INFO] [stdout] --> src/main.rs:120:4 [INFO] [stdout] | [INFO] [stdout] 120 | fn white_noise(n_samples: usize, amplitude: f64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Fs` should have an upper case name [INFO] [stdout] --> src/main.rs:131:7 [INFO] [stdout] | [INFO] [stdout] 131 | const Fs: f64 = 20e6; [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `FS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nyquist` should have an upper case name [INFO] [stdout] --> src/main.rs:132:7 [INFO] [stdout] | [INFO] [stdout] 132 | const nyquist: f64 = Fs/2.0; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `NYQUIST` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `n_lines` should have an upper case name [INFO] [stdout] --> src/main.rs:133:7 [INFO] [stdout] | [INFO] [stdout] 133 | const n_lines: i32 = 625; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `N_LINES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `n_columns` should have an upper case name [INFO] [stdout] --> src/main.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | const n_columns: i32 = 700; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `N_COLUMNS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `line_freq_hz` should have an upper case name [INFO] [stdout] --> src/main.rs:135:7 [INFO] [stdout] | [INFO] [stdout] 135 | const line_freq_hz: f64 = 15.625e3; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `LINE_FREQ_HZ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `frame_freq_hz` should have an upper case name [INFO] [stdout] --> src/main.rs:136:7 [INFO] [stdout] | [INFO] [stdout] 136 | const frame_freq_hz: f64 = 50.0; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `FRAME_FREQ_HZ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | raster::save(&self.canvas, "test_render.png"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.46s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "b42694e4ad9ef94eddb78833ba8f38f1d95417274d8f67fd0e5091add4a91f34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b42694e4ad9ef94eddb78833ba8f38f1d95417274d8f67fd0e5091add4a91f34", kill_on_drop: false }` [INFO] [stdout] b42694e4ad9ef94eddb78833ba8f38f1d95417274d8f67fd0e5091add4a91f34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "test" "--frozen" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ff0aed361cd9be8f99a1a59d2f5cd19a3adbb3122b3620ea5c512f319ac157da [INFO] running `Command { std: "docker" "start" "-a" "ff0aed361cd9be8f99a1a59d2f5cd19a3adbb3122b3620ea5c512f319ac157da", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `intensity_filtered` [INFO] [stderr] --> src/main.rs:197:13 [INFO] [stderr] | [INFO] [stderr] 197 | let intensity_filtered = [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intensity_filtered` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variants `Rectangular` and `BlackmanHarris` are never constructed [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 14 | enum WindowType { [INFO] [stderr] | ---------- variants in this enum [INFO] [stderr] 15 | Rectangular, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 16 | Hamming, [INFO] [stderr] 17 | BlackmanHarris [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variants `HighPass`, `BandPass`, and `BandStop` are never constructed [INFO] [stderr] --> src/main.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 43 | enum FilterType { [INFO] [stderr] | ---------- variants in this enum [INFO] [stderr] 44 | LowPass(f64), [INFO] [stderr] 45 | HighPass(f64), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 46 | BandPass(f64, f64), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 47 | BandStop(f64, f64) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `dft` is never used [INFO] [stderr] --> src/main.rs:78:4 [INFO] [stderr] | [INFO] [stderr] 78 | fn dft(x: &[f64], n_samples: usize) -> Vec { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `white_noise` is never used [INFO] [stderr] --> src/main.rs:120:4 [INFO] [stderr] | [INFO] [stderr] 120 | fn white_noise(n_samples: usize, amplitude: f64) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `Fs` should have an upper case name [INFO] [stderr] --> src/main.rs:131:7 [INFO] [stderr] | [INFO] [stderr] 131 | const Fs: f64 = 20e6; [INFO] [stderr] | ^^ help: convert the identifier to upper case (notice the capitalization): `FS` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `nyquist` should have an upper case name [INFO] [stderr] --> src/main.rs:132:7 [INFO] [stderr] | [INFO] [stderr] 132 | const nyquist: f64 = Fs/2.0; [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper case: `NYQUIST` [INFO] [stderr] [INFO] [stderr] warning: constant `n_lines` should have an upper case name [INFO] [stderr] --> src/main.rs:133:7 [INFO] [stderr] | [INFO] [stderr] 133 | const n_lines: i32 = 625; [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper case: `N_LINES` [INFO] [stderr] [INFO] [stderr] warning: constant `n_columns` should have an upper case name [INFO] [stderr] --> src/main.rs:134:7 [INFO] [stderr] | [INFO] [stderr] 134 | const n_columns: i32 = 700; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper case: `N_COLUMNS` [INFO] [stderr] [INFO] [stderr] warning: constant `line_freq_hz` should have an upper case name [INFO] [stderr] --> src/main.rs:135:7 [INFO] [stderr] | [INFO] [stderr] 135 | const line_freq_hz: f64 = 15.625e3; [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `LINE_FREQ_HZ` [INFO] [stderr] [INFO] [stderr] warning: constant `frame_freq_hz` should have an upper case name [INFO] [stderr] --> src/main.rs:136:7 [INFO] [stderr] | [INFO] [stderr] 136 | const frame_freq_hz: f64 = 50.0; [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `FRAME_FREQ_HZ` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:223:9 [INFO] [stderr] | [INFO] [stderr] 223 | raster::save(&self.canvas, "test_render.png"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `fir` (bin "fir" test) generated 12 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/i686-unknown-linux-musl/debug/deps/fir-df2cdf632fe6cf0e) [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" "ff0aed361cd9be8f99a1a59d2f5cd19a3adbb3122b3620ea5c512f319ac157da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff0aed361cd9be8f99a1a59d2f5cd19a3adbb3122b3620ea5c512f319ac157da", kill_on_drop: false }` [INFO] [stdout] ff0aed361cd9be8f99a1a59d2f5cd19a3adbb3122b3620ea5c512f319ac157da