[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-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-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/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-3/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] Downloading crates ... [INFO] [stderr] Downloaded abort_on_panic v2.0.0 [INFO] [stderr] Downloaded pico-sdk v0.1.4 [INFO] [stderr] Downloaded pico-download v0.1.4 [INFO] [stderr] Downloaded libffi v1.0.0 [INFO] [stderr] Downloaded udev v0.2.0 [INFO] [stderr] Downloaded signifix v0.10.1 [INFO] [stderr] Downloaded pico-driver v0.1.4 [INFO] [stderr] Downloaded http_req v0.7.2 [INFO] [stderr] Downloaded double_decker v0.0.3 [INFO] [stderr] Downloaded log-derive v0.3.2 [INFO] [stderr] Downloaded pico-enumeration v0.1.4 [INFO] [stderr] Downloaded usb_enumeration v0.0.3 [INFO] [stderr] Downloaded pico-streaming v0.1.4 [INFO] [stderr] Downloaded pico-device v0.1.4 [INFO] [stderr] Downloaded pico-common v0.1.4 [INFO] [stderr] Downloaded libffi-sys v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 0218508d4a0d8260414c4f702ef0c202a383d494b0de53f6f5daf1739d55e103 [INFO] running `Command { std: "docker" "start" "-a" "0218508d4a0d8260414c4f702ef0c202a383d494b0de53f6f5daf1739d55e103", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0218508d4a0d8260414c4f702ef0c202a383d494b0de53f6f5daf1739d55e103", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0218508d4a0d8260414c4f702ef0c202a383d494b0de53f6f5daf1739d55e103", kill_on_drop: false }` [INFO] [stdout] 0218508d4a0d8260414c4f702ef0c202a383d494b0de53f6f5daf1739d55e103 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] af0656c66c033c566d76e6c3196edaac39a2f8770dc83c44a1f569ef9161c2a1 [INFO] running `Command { std: "docker" "start" "-a" "af0656c66c033c566d76e6c3196edaac39a2f8770dc83c44a1f569ef9161c2a1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling make-cmd v0.1.0 [INFO] [stderr] Compiling abort_on_panic v2.0.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling c_vec v1.3.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling anyhow v1.0.39 [INFO] [stderr] Compiling zeroize v1.2.0 [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 memoffset v0.6.1 [INFO] [stderr] Compiling num-bigint v0.3.2 [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 instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling libffi-sys v1.1.0 [INFO] [stderr] Compiling regex v1.4.5 [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 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 err-derive v0.2.4 [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 console v0.14.1 [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 darling_core v0.10.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling 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] Compiling enum-iterator v0.6.0 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling signifix v0.10.1 [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 1m 05s [INFO] running `Command { std: "docker" "inspect" "af0656c66c033c566d76e6c3196edaac39a2f8770dc83c44a1f569ef9161c2a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af0656c66c033c566d76e6c3196edaac39a2f8770dc83c44a1f569ef9161c2a1", kill_on_drop: false }` [INFO] [stdout] af0656c66c033c566d76e6c3196edaac39a2f8770dc83c44a1f569ef9161c2a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 1735e98f9be38b31116eacef43c672f983bad20885d170819814a41e1ff13979 [INFO] running `Command { std: "docker" "start" "-a" "1735e98f9be38b31116eacef43c672f983bad20885d170819814a41e1ff13979", kill_on_drop: false }` [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 0.84s [INFO] running `Command { std: "docker" "inspect" "1735e98f9be38b31116eacef43c672f983bad20885d170819814a41e1ff13979", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1735e98f9be38b31116eacef43c672f983bad20885d170819814a41e1ff13979", kill_on_drop: false }` [INFO] [stdout] 1735e98f9be38b31116eacef43c672f983bad20885d170819814a41e1ff13979 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] c2b79d7c701717a2e5ce25c301258e980744ab1bc4eaea02e9a69aee4d2941cc [INFO] running `Command { std: "docker" "start" "-a" "c2b79d7c701717a2e5ce25c301258e980744ab1bc4eaea02e9a69aee4d2941cc", 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.07s [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" "c2b79d7c701717a2e5ce25c301258e980744ab1bc4eaea02e9a69aee4d2941cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2b79d7c701717a2e5ce25c301258e980744ab1bc4eaea02e9a69aee4d2941cc", kill_on_drop: false }` [INFO] [stdout] c2b79d7c701717a2e5ce25c301258e980744ab1bc4eaea02e9a69aee4d2941cc