[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#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFallstop%2Fpicoscope-rust-capture-rate-test" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Fallstop/picoscope-rust-capture-rate-test on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-2/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3549afa6dd71c3ae66a355048ea4ff73f358d3e3438153b0deb7aee7b383461c [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" "3549afa6dd71c3ae66a355048ea4ff73f358d3e3438153b0deb7aee7b383461c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3549afa6dd71c3ae66a355048ea4ff73f358d3e3438153b0deb7aee7b383461c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3549afa6dd71c3ae66a355048ea4ff73f358d3e3438153b0deb7aee7b383461c", kill_on_drop: false }` [INFO] [stdout] 3549afa6dd71c3ae66a355048ea4ff73f358d3e3438153b0deb7aee7b383461c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--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] ca729a89673f22c9133def9ed4060cbad5194550992b871b6153e033fe83b0d1 [INFO] running `Command { std: "docker" "start" "-a" "ca729a89673f22c9133def9ed4060cbad5194550992b871b6153e033fe83b0d1", 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 syn v1.0.64 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling make-cmd v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking version-compare v0.0.10 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking c_vec v1.3.3 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling anyhow v1.0.39 [INFO] [stderr] Checking remove_dir_all v0.5.3 [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 regex v1.4.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [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] Compiling quote v1.0.9 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking directories v3.0.1 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling 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_chacha v0.3.0 [INFO] [stderr] Checking udev v0.2.0 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking crossbeam v0.8.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking double_decker v0.0.3 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking dialoguer v0.8.0 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking http_req v0.7.2 [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] Checking pico-common v0.1.4 [INFO] [stderr] Checking usb_enumeration v0.0.3 [INFO] [stderr] Compiling log-derive v0.3.2 [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-streaming v0.1.4 [INFO] [stderr] Checking pico-enumeration 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: `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: `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: 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: 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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "ca729a89673f22c9133def9ed4060cbad5194550992b871b6153e033fe83b0d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca729a89673f22c9133def9ed4060cbad5194550992b871b6153e033fe83b0d1", kill_on_drop: false }` [INFO] [stdout] ca729a89673f22c9133def9ed4060cbad5194550992b871b6153e033fe83b0d1