[INFO] cloning repository https://github.com/Fallstop/picoscope-rust-capture-rate-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Fallstop/picoscope-rust-capture-rate-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFallstop%2Fpicoscope-rust-capture-rate-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFallstop%2Fpicoscope-rust-capture-rate-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 49bab8b4845066fa0cf19a86d4db2dcbfdc38477 [INFO] testing Fallstop/picoscope-rust-capture-rate-test against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFallstop%2Fpicoscope-rust-capture-rate-test" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Fallstop/picoscope-rust-capture-rate-test on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Fallstop/picoscope-rust-capture-rate-test [INFO] finished tweaking git repo https://github.com/Fallstop/picoscope-rust-capture-rate-test [INFO] tweaked toml for git repo https://github.com/Fallstop/picoscope-rust-capture-rate-test written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/Fallstop/picoscope-rust-capture-rate-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b09f56dc5e2bc27475f2dc974bc5295f0a8ae6650463c782f5318706767f7fe7 [INFO] running `Command { std: "docker" "start" "-a" "b09f56dc5e2bc27475f2dc974bc5295f0a8ae6650463c782f5318706767f7fe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b09f56dc5e2bc27475f2dc974bc5295f0a8ae6650463c782f5318706767f7fe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b09f56dc5e2bc27475f2dc974bc5295f0a8ae6650463c782f5318706767f7fe7", kill_on_drop: false }` [INFO] [stdout] b09f56dc5e2bc27475f2dc974bc5295f0a8ae6650463c782f5318706767f7fe7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 41d0d9d77a439ab683dcf6c2e76f6a9621635ac928074d8799f547c0576bfc8d [INFO] running `Command { std: "docker" "start" "-a" "41d0d9d77a439ab683dcf6c2e76f6a9621635ac928074d8799f547c0576bfc8d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling abort_on_panic v2.0.0 [INFO] [stderr] Compiling c_vec v1.3.3 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling anyhow v1.0.39 [INFO] [stderr] Compiling zeroize v1.2.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling libffi-sys v1.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling crossbeam v0.8.0 [INFO] [stderr] Compiling double_decker v0.0.3 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling terminal_size v0.1.16 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling udev v0.2.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling directories v3.0.1 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling console v0.14.1 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling dialoguer v0.8.0 [INFO] [stderr] Compiling http_req v0.7.2 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling enum-iterator-derive v0.6.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling enum-iterator v0.6.0 [INFO] [stderr] Compiling signifix v0.10.1 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling log-derive v0.3.2 [INFO] [stderr] Compiling usb_enumeration v0.0.3 [INFO] [stderr] Compiling pico-common v0.1.4 [INFO] [stderr] Compiling libffi v1.0.0 [INFO] [stderr] Compiling pico-driver v0.1.4 [INFO] [stderr] Compiling pico-device v0.1.4 [INFO] [stderr] Compiling pico-download v0.1.4 [INFO] [stderr] Compiling pico-streaming v0.1.4 [INFO] [stderr] Compiling pico-enumeration v0.1.4 [INFO] [stderr] Compiling pico-sdk v0.1.4 [INFO] [stderr] Compiling picoscope-rust-capture-rate-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `avg_time_diff` [INFO] [stdout] --> src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let avg_time_diff = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_avg_time_diff` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `samples` [INFO] [stdout] --> src/main.rs:287:17 [INFO] [stdout] | [INFO] [stdout] 287 | let (_, samples, _, _) = data[0]; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_samples` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rate_calc` [INFO] [stdout] --> src/main.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | rate_calc: &RateCalc, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rate_calc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `queue` [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | queue: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `RateCalc` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Clone)] [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: `get_value` [INFO] [stdout] --> src/main.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get_value(&self, latest: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 06s [INFO] running `Command { std: "docker" "inspect" "41d0d9d77a439ab683dcf6c2e76f6a9621635ac928074d8799f547c0576bfc8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41d0d9d77a439ab683dcf6c2e76f6a9621635ac928074d8799f547c0576bfc8d", kill_on_drop: false }` [INFO] [stdout] 41d0d9d77a439ab683dcf6c2e76f6a9621635ac928074d8799f547c0576bfc8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 686cdb8c3224fbab6dafcde4876976541840b68be7ddf9837eaf9a6889ec8ed2 [INFO] running `Command { std: "docker" "start" "-a" "686cdb8c3224fbab6dafcde4876976541840b68be7ddf9837eaf9a6889ec8ed2", 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling picoscope-rust-capture-rate-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `avg_time_diff` [INFO] [stdout] --> src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let avg_time_diff = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_avg_time_diff` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `samples` [INFO] [stdout] --> src/main.rs:287:17 [INFO] [stdout] | [INFO] [stdout] 287 | let (_, samples, _, _) = data[0]; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_samples` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rate_calc` [INFO] [stdout] --> src/main.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | rate_calc: &RateCalc, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rate_calc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `queue` [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | queue: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `RateCalc` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Clone)] [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: `get_value` [INFO] [stdout] --> src/main.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get_value(&self, latest: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 13.69s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/picoscope_rust_capture_rate_test-3b589837fd1759b4) [INFO] running `Command { std: "docker" "inspect" "686cdb8c3224fbab6dafcde4876976541840b68be7ddf9837eaf9a6889ec8ed2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "686cdb8c3224fbab6dafcde4876976541840b68be7ddf9837eaf9a6889ec8ed2", kill_on_drop: false }` [INFO] [stdout] 686cdb8c3224fbab6dafcde4876976541840b68be7ddf9837eaf9a6889ec8ed2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f489220d609fcaca493aa7d9e722850f6fcbdfcac3f64c5d58246235db25a2d9 [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" "f489220d609fcaca493aa7d9e722850f6fcbdfcac3f64c5d58246235db25a2d9", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `avg_time_diff` [INFO] [stderr] --> src/main.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 81 | let avg_time_diff = 0; [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_avg_time_diff` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `samples` [INFO] [stderr] --> src/main.rs:287:17 [INFO] [stderr] | [INFO] [stderr] 287 | let (_, samples, _, _) = data[0]; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_samples` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rate_calc` [INFO] [stderr] --> src/main.rs:266:5 [INFO] [stderr] | [INFO] [stderr] 266 | rate_calc: &RateCalc, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rate_calc` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `queue` [INFO] [stderr] --> src/main.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | queue: Arc>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `RateCalc` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | #[derive(Clone)] [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: `get_value` [INFO] [stderr] --> src/main.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn get_value(&self, latest: usize) -> u64 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `picoscope-rust-capture-rate-test` (bin "picoscope-rust-capture-rate-test" test) generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/picoscope_rust_capture_rate_test-3b589837fd1759b4) [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" "f489220d609fcaca493aa7d9e722850f6fcbdfcac3f64c5d58246235db25a2d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f489220d609fcaca493aa7d9e722850f6fcbdfcac3f64c5d58246235db25a2d9", kill_on_drop: false }` [INFO] [stdout] f489220d609fcaca493aa7d9e722850f6fcbdfcac3f64c5d58246235db25a2d9