[INFO] cloning repository https://github.com/birktj/ais-decoder [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/birktj/ais-decoder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbirktj%2Fais-decoder", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbirktj%2Fais-decoder'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4834a22c016dea70c808b2a59288f667ce9e4a25 [INFO] checking birktj/ais-decoder against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbirktj%2Fais-decoder" "/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/birktj/ais-decoder on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/birktj/ais-decoder [INFO] finished tweaking git repo https://github.com/birktj/ais-decoder [INFO] tweaked toml for git repo https://github.com/birktj/ais-decoder written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/birktj/ais-decoder already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17832453acfdfdabecc9540fd583ee996ac4c0e992c549763e69b3b27d0f6b5a [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" "17832453acfdfdabecc9540fd583ee996ac4c0e992c549763e69b3b27d0f6b5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17832453acfdfdabecc9540fd583ee996ac4c0e992c549763e69b3b27d0f6b5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17832453acfdfdabecc9540fd583ee996ac4c0e992c549763e69b3b27d0f6b5a", kill_on_drop: false }` [INFO] [stdout] 17832453acfdfdabecc9540fd583ee996ac4c0e992c549763e69b3b27d0f6b5a [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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04383b0ce5bcb1111b09d2dae000ddfa79c84afbf799ad5798891a0e2152b13e [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" "04383b0ce5bcb1111b09d2dae000ddfa79c84afbf799ad5798891a0e2152b13e", kill_on_drop: false }` [INFO] [stderr] Checking gnuplot v0.0.26 [INFO] [stderr] Checking ais-decoder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Command`, `Stdio` [INFO] [stdout] --> src/main.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use std::process::{Command, Stdio}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Command`, `Stdio` [INFO] [stdout] --> src/main.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use std::process::{Command, Stdio}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clock` [INFO] [stdout] --> src/main.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | let mut clock = FunctionSignal::new(|x| if (x*9600.0) as i64 % 2 >= 1 {250.0} else {0.0}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clock` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | let mut signal = SampledSignal::from_iterator(50000.0, data); [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/main.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | let mut clock = FunctionSignal::new(|x| if (x*9600.0) as i64 % 2 >= 1 {250.0} else {0.0}); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | let mut ais_data = low_pass_iter(1.0, signal.sample_iter(1.0 / (9600.0 * 20.0))) [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_wav` [INFO] [stdout] --> src/main.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | fn from_wav(reader: hound::WavReader) -> SampledSignal> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_slice` [INFO] [stdout] --> src/main.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | fn from_slice<'a>(sample_rate: f64, slice: &'a [f64]) -> SampledSignal + 'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_owned` [INFO] [stdout] --> src/main.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | fn to_owned(self) -> SampledSignal> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `low_pass` [INFO] [stdout] --> src/main.rs:190:4 [INFO] [stdout] | [INFO] [stdout] 190 | fn low_pass(x: &[f32]) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `string` [INFO] [stdout] --> src/main.rs:257:8 [INFO] [stdout] | [INFO] [stdout] 257 | fn string(bytes: &[u8], start: usize, end: usize) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clock` [INFO] [stdout] --> src/main.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | let mut clock = FunctionSignal::new(|x| if (x*9600.0) as i64 % 2 >= 1 {250.0} else {0.0}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clock` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | let mut signal = SampledSignal::from_iterator(50000.0, data); [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/main.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | let mut clock = FunctionSignal::new(|x| if (x*9600.0) as i64 % 2 >= 1 {250.0} else {0.0}); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | let mut ais_data = low_pass_iter(1.0, signal.sample_iter(1.0 / (9600.0 * 20.0))) [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_wav` [INFO] [stdout] --> src/main.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | fn from_wav(reader: hound::WavReader) -> SampledSignal> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_slice` [INFO] [stdout] --> src/main.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | fn from_slice<'a>(sample_rate: f64, slice: &'a [f64]) -> SampledSignal + 'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_owned` [INFO] [stdout] --> src/main.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | fn to_owned(self) -> SampledSignal> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `low_pass` [INFO] [stdout] --> src/main.rs:190:4 [INFO] [stdout] | [INFO] [stdout] 190 | fn low_pass(x: &[f32]) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `string` [INFO] [stdout] --> src/main.rs:257:8 [INFO] [stdout] | [INFO] [stdout] 257 | fn string(bytes: &[u8], start: usize, end: usize) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.45s [INFO] running `Command { std: "docker" "inspect" "04383b0ce5bcb1111b09d2dae000ddfa79c84afbf799ad5798891a0e2152b13e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04383b0ce5bcb1111b09d2dae000ddfa79c84afbf799ad5798891a0e2152b13e", kill_on_drop: false }` [INFO] [stdout] 04383b0ce5bcb1111b09d2dae000ddfa79c84afbf799ad5798891a0e2152b13e