[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] checking Fallstop/picoscope-rust-capture-rate-test against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [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 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 134b9dc3b507e14330d5c5015418b7b721d2e6685fe0f1dca8ded5ae650fe4f7 [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" "134b9dc3b507e14330d5c5015418b7b721d2e6685fe0f1dca8ded5ae650fe4f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "134b9dc3b507e14330d5c5015418b7b721d2e6685fe0f1dca8ded5ae650fe4f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "134b9dc3b507e14330d5c5015418b7b721d2e6685fe0f1dca8ded5ae650fe4f7", kill_on_drop: false }` [INFO] [stdout] 134b9dc3b507e14330d5c5015418b7b721d2e6685fe0f1dca8ded5ae650fe4f7 [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=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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cea58a1cebcdb4b28dc7f630ba7d25c7ca24ba0185999edfec8fe4fed6476391 [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" "cea58a1cebcdb4b28dc7f630ba7d25c7ca24ba0185999edfec8fe4fed6476391", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling make-cmd v0.1.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking abort_on_panic v2.0.0 [INFO] [stderr] Checking c_vec v1.3.3 [INFO] [stderr] Checking version-compare v0.0.10 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling libffi-sys v1.1.0 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking terminal_size v0.1.16 [INFO] [stderr] Checking ring v0.16.20 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-queue v0.3.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking directories v3.0.1 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Checking udev v0.2.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking crossbeam v0.8.0 [INFO] [stderr] Checking double_decker v0.0.3 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking dialoguer v0.8.0 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking http_req v0.7.2 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling synstructure v0.12.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 darling_macro v0.10.2 [INFO] [stderr] Checking enum-iterator v0.6.0 [INFO] [stderr] Checking signifix v0.10.1 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Compiling log-derive v0.3.2 [INFO] [stderr] Checking pico-common v0.1.4 [INFO] [stderr] Checking usb_enumeration v0.0.3 [INFO] [stderr] Checking libffi v1.0.0 [INFO] [stderr] Checking pico-driver v0.1.4 [INFO] [stderr] Checking pico-device v0.1.4 [INFO] [stderr] Checking pico-download v0.1.4 [INFO] [stderr] Checking pico-enumeration v0.1.4 [INFO] [stderr] Checking pico-streaming v0.1.4 [INFO] [stderr] Checking pico-sdk v0.1.4 [INFO] [stderr] Checking 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: `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: `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: 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: 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] = note: `#[warn(dead_code)]` on by default [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "cea58a1cebcdb4b28dc7f630ba7d25c7ca24ba0185999edfec8fe4fed6476391", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cea58a1cebcdb4b28dc7f630ba7d25c7ca24ba0185999edfec8fe4fed6476391", kill_on_drop: false }` [INFO] [stdout] cea58a1cebcdb4b28dc7f630ba7d25c7ca24ba0185999edfec8fe4fed6476391