[INFO] cloning repository https://github.com/tatjam/gnuradio-meta-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tatjam/gnuradio-meta-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftatjam%2Fgnuradio-meta-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftatjam%2Fgnuradio-meta-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e3e0650deccc6c59d13b00f782d56becfa0357bb [INFO] checking tatjam/gnuradio-meta-rs against master#9e293ae9f8abecb0be5105787d181518c9012a19 for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftatjam%2Fgnuradio-meta-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tatjam/gnuradio-meta-rs [INFO] finished tweaking git repo https://github.com/tatjam/gnuradio-meta-rs [INFO] tweaked toml for git repo https://github.com/tatjam/gnuradio-meta-rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tatjam/gnuradio-meta-rs on toolchain 9e293ae9f8abecb0be5105787d181518c9012a19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tatjam/gnuradio-meta-rs 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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytemuck v1.23.2 [INFO] [stderr] Downloaded az v1.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f971356ffe16d6abf14409abd5ca04819cc9ea70f28f58a367509af701141911 [INFO] running `Command { std: "docker" "start" "-a" "f971356ffe16d6abf14409abd5ca04819cc9ea70f28f58a367509af701141911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f971356ffe16d6abf14409abd5ca04819cc9ea70f28f58a367509af701141911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f971356ffe16d6abf14409abd5ca04819cc9ea70f28f58a367509af701141911", kill_on_drop: false }` [INFO] [stdout] f971356ffe16d6abf14409abd5ca04819cc9ea70f28f58a367509af701141911 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd4d1f17a15c3e6e04344206ef9f41bf232d71f23f5f07f1be6611733d50d4bf [INFO] running `Command { std: "docker" "start" "-a" "dd4d1f17a15c3e6e04344206ef9f41bf232d71f23f5f07f1be6611733d50d4bf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling fixed v1.29.0 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Checking gnuradio-meta v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `num_complex::Complex` [INFO] [stdout] --> src/core.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num_complex::Complex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `marker::PhantomData` [INFO] [stdout] --> src/header.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{any::TypeId, marker::PhantomData, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_complex::Complex` [INFO] [stdout] --> src/core.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num_complex::Complex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/core.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `marker::PhantomData` [INFO] [stdout] --> src/header.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{any::TypeId, marker::PhantomData, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/core.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | fn read_raw(reader: &mut impl Read, target: &mut [T]) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/core.rs:121:40 [INFO] [stdout] | [INFO] [stdout] 121 | fn read_raw(reader: &mut impl Read, target: &mut [T]) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/core.rs:240:32 [INFO] [stdout] | [INFO] [stdout] 240 | fn read_conv(&mut self, buf: &mut [T]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/core.rs:252:24 [INFO] [stdout] | [INFO] [stdout] 252 | fn seek(&mut self, pos: SeekFrom, preserve: SeekPreserve) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `preserve` [INFO] [stdout] --> src/core.rs:252:39 [INFO] [stdout] | [INFO] [stdout] 252 | fn seek(&mut self, pos: SeekFrom, preserve: SeekPreserve) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_preserve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos_seg` [INFO] [stdout] --> src/core.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | pos_seg: SeekFrom, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_seg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `preserve` [INFO] [stdout] --> src/core.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | preserve: SeekPreserve, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_preserve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/header.rs:173:37 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn converts_to_dtype(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/header.rs:177:38 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn read_from_bytes(&self, bytes: &[u8]) -> T { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample` [INFO] [stdout] --> src/header.rs:229:35 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn get_sample_time(&self, sample: i64) -> Timestamp { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte` [INFO] [stdout] --> src/header.rs:264:42 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn get_sample_pos_of_byte(&self, byte: u64) -> u64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_byte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `samp_rate` and `rx_time` are never read [INFO] [stdout] --> src/core.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct SampleMeta { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 63 | /// Sample rate of the data read [INFO] [stdout] 64 | samp_rate: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 65 | /// Reception time of the first sample read [INFO] [stdout] 66 | rx_time: Timestamp, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core.rs:280:8 [INFO] [stdout] | [INFO] [stdout] 279 | impl AttachedHeader { [INFO] [stdout] | -------------------------------------- associated function in this implementation [INFO] [stdout] 280 | fn new(file: T) -> AttachedHeader { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/core.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | fn read_raw(reader: &mut impl Read, target: &mut [T]) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/core.rs:121:40 [INFO] [stdout] | [INFO] [stdout] 121 | fn read_raw(reader: &mut impl Read, target: &mut [T]) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/core.rs:240:32 [INFO] [stdout] | [INFO] [stdout] 240 | fn read_conv(&mut self, buf: &mut [T]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/core.rs:252:24 [INFO] [stdout] | [INFO] [stdout] 252 | fn seek(&mut self, pos: SeekFrom, preserve: SeekPreserve) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `preserve` [INFO] [stdout] --> src/core.rs:252:39 [INFO] [stdout] | [INFO] [stdout] 252 | fn seek(&mut self, pos: SeekFrom, preserve: SeekPreserve) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_preserve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos_seg` [INFO] [stdout] --> src/core.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | pos_seg: SeekFrom, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_seg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `preserve` [INFO] [stdout] --> src/core.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | preserve: SeekPreserve, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_preserve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/core.rs:420:13 [INFO] [stdout] | [INFO] [stdout] 420 | let header = reader.get_last_read_header(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/header.rs:173:37 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn converts_to_dtype(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/header.rs:177:38 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn read_from_bytes(&self, bytes: &[u8]) -> T { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample` [INFO] [stdout] --> src/header.rs:229:35 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn get_sample_time(&self, sample: i64) -> Timestamp { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte` [INFO] [stdout] --> src/header.rs:264:42 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn get_sample_pos_of_byte(&self, byte: u64) -> u64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_byte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `samp_rate` and `rx_time` are never read [INFO] [stdout] --> src/core.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct SampleMeta { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 63 | /// Sample rate of the data read [INFO] [stdout] 64 | samp_rate: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 65 | /// Reception time of the first sample read [INFO] [stdout] 66 | rx_time: Timestamp, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.46s [INFO] running `Command { std: "docker" "inspect" "dd4d1f17a15c3e6e04344206ef9f41bf232d71f23f5f07f1be6611733d50d4bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd4d1f17a15c3e6e04344206ef9f41bf232d71f23f5f07f1be6611733d50d4bf", kill_on_drop: false }` [INFO] [stdout] dd4d1f17a15c3e6e04344206ef9f41bf232d71f23f5f07f1be6611733d50d4bf