[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 1.55.0 for beta-1.56-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFallstop%2Fpicoscope-rust-capture-rate-test" "/workspace/builds/worker-118/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-118/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Fallstop/picoscope-rust-capture-rate-test on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-118/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" "+1.55.0" "fetch" "--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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded abort_on_panic v2.0.0 [INFO] [stderr] Downloaded libffi v1.0.0 [INFO] [stderr] Downloaded udev v0.2.0 [INFO] [stderr] Downloaded libffi-sys v1.1.0 [INFO] [stderr] Downloaded log-derive v0.3.2 [INFO] [stderr] Downloaded pico-driver v0.1.4 [INFO] [stderr] Downloaded pico-enumeration v0.1.4 [INFO] [stderr] Downloaded pico-device v0.1.4 [INFO] [stderr] Downloaded pico-streaming v0.1.4 [INFO] [stderr] Downloaded pico-download v0.1.4 [INFO] [stderr] Downloaded signifix v0.10.1 [INFO] [stderr] Downloaded usb_enumeration v0.0.3 [INFO] [stderr] Downloaded pico-sdk v0.1.4 [INFO] [stderr] Downloaded double_decker v0.0.3 [INFO] [stderr] Downloaded pico-common v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e31819e2c774051cf9f54ff81077722727ea294eaa1b8d7e25589c0da6468b9 [INFO] running `Command { std: "docker" "start" "-a" "8e31819e2c774051cf9f54ff81077722727ea294eaa1b8d7e25589c0da6468b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e31819e2c774051cf9f54ff81077722727ea294eaa1b8d7e25589c0da6468b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e31819e2c774051cf9f54ff81077722727ea294eaa1b8d7e25589c0da6468b9", kill_on_drop: false }` [INFO] [stdout] 8e31819e2c774051cf9f54ff81077722727ea294eaa1b8d7e25589c0da6468b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95716b4c35d24609abdc928ae78e260bdfe85ff8d9d891af01ef614d5adf5481 [INFO] running `Command { std: "docker" "start" "-a" "95716b4c35d24609abdc928ae78e260bdfe85ff8d9d891af01ef614d5adf5481", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling 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] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling make-cmd v0.1.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling abort_on_panic v2.0.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling c_vec v1.3.3 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling anyhow v1.0.39 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling zeroize v1.2.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling libffi-sys v1.1.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling lock_api v0.4.2 [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-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] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling terminal_size v0.1.16 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling console v0.14.1 [INFO] [stderr] Compiling directories v3.0.1 [INFO] [stderr] Compiling udev v0.2.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling crossbeam v0.8.0 [INFO] [stderr] Compiling double_decker v0.0.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling dialoguer v0.8.0 [INFO] [stderr] Compiling num v0.3.1 [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 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] Compiling enum-iterator v0.6.0 [INFO] [stderr] Compiling signifix v0.10.1 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling log-derive v0.3.2 [INFO] [stderr] Compiling thiserror v1.0.24 [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: 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 2m 32s [INFO] running `Command { std: "docker" "inspect" "95716b4c35d24609abdc928ae78e260bdfe85ff8d9d891af01ef614d5adf5481", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95716b4c35d24609abdc928ae78e260bdfe85ff8d9d891af01ef614d5adf5481", kill_on_drop: false }` [INFO] [stdout] 95716b4c35d24609abdc928ae78e260bdfe85ff8d9d891af01ef614d5adf5481 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 606895bb75ee99d34140302ad651bb3af95dac6d1e47f9ff53deab0679303151 [INFO] running `Command { std: "docker" "start" "-a" "606895bb75ee99d34140302ad651bb3af95dac6d1e47f9ff53deab0679303151", 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] 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: 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 test [unoptimized + debuginfo] target(s) in 1.12s [INFO] running `Command { std: "docker" "inspect" "606895bb75ee99d34140302ad651bb3af95dac6d1e47f9ff53deab0679303151", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "606895bb75ee99d34140302ad651bb3af95dac6d1e47f9ff53deab0679303151", kill_on_drop: false }` [INFO] [stdout] 606895bb75ee99d34140302ad651bb3af95dac6d1e47f9ff53deab0679303151 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] be3dc39e142f7da5cfc351e4c8fd9b9680eded38e20f26a70778d3d501c37af4 [INFO] running `Command { std: "docker" "start" "-a" "be3dc39e142f7da5cfc351e4c8fd9b9680eded38e20f26a70778d3d501c37af4", 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: 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] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `picoscope-rust-capture-rate-test` (bin "picoscope-rust-capture-rate-test" test) generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/picoscope_rust_capture_rate_test-f07d4e920897ff05) [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" "be3dc39e142f7da5cfc351e4c8fd9b9680eded38e20f26a70778d3d501c37af4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be3dc39e142f7da5cfc351e4c8fd9b9680eded38e20f26a70778d3d501c37af4", kill_on_drop: false }` [INFO] [stdout] be3dc39e142f7da5cfc351e4c8fd9b9680eded38e20f26a70778d3d501c37af4