[INFO] cloning repository https://github.com/rdeoux-arrive/onewire [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rdeoux-arrive/onewire" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frdeoux-arrive%2Fonewire", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frdeoux-arrive%2Fonewire'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d89d8fa50fecbff11570f7b93fbdc529e1a1fd50 [INFO] testing rdeoux-arrive/onewire against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frdeoux-arrive%2Fonewire" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rdeoux-arrive/onewire [INFO] finished tweaking git repo https://github.com/rdeoux-arrive/onewire [INFO] tweaked toml for git repo https://github.com/rdeoux-arrive/onewire written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rdeoux-arrive/onewire on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rdeoux-arrive/onewire already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded core-graphics v0.22.2 [INFO] [stderr] Downloaded gpu-descriptor v0.2.1 [INFO] [stderr] Downloaded ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Downloaded xdg v2.4.0 [INFO] [stderr] Downloaded pixels v0.7.0 [INFO] [stderr] Downloaded minimal-lexical v0.1.4 [INFO] [stderr] Downloaded mio-misc v1.2.1 [INFO] [stderr] Downloaded gif v0.11.3 [INFO] [stderr] Downloaded weezl v0.1.5 [INFO] [stderr] Downloaded wgpu-types v0.11.0 [INFO] [stderr] Downloaded libloading v0.7.1 [INFO] [stderr] Downloaded glow v0.11.0 [INFO] [stderr] Downloaded wgpu v0.11.0 [INFO] [stderr] Downloaded nom v7.0.0 [INFO] [stderr] Downloaded wgpu-core v0.11.1 [INFO] [stderr] Downloaded wgpu-hal v0.11.3 [INFO] [stderr] Downloaded ash v0.33.3+1.2.191 [INFO] [stderr] Downloaded winit v0.25.0 [INFO] [stderr] Downloaded naga v0.7.1 [INFO] [stderr] Downloaded profiling v1.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23a48a55a016fe83142528ceec97df402df681a69fd6645723219aedc64a8fb0 [INFO] running `Command { std: "docker" "start" "-a" "23a48a55a016fe83142528ceec97df402df681a69fd6645723219aedc64a8fb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23a48a55a016fe83142528ceec97df402df681a69fd6645723219aedc64a8fb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23a48a55a016fe83142528ceec97df402df681a69fd6645723219aedc64a8fb0", kill_on_drop: false }` [INFO] [stdout] 23a48a55a016fe83142528ceec97df402df681a69fd6645723219aedc64a8fb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0385a586474cb9089938cce92204b79d8e09c5a017a8647340924c35494c6350 [INFO] running `Command { std: "docker" "start" "-a" "0385a586474cb9089938cce92204b79d8e09c5a017a8647340924c35494c6350", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libloading v0.7.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling minimal-lexical v0.1.4 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling wgpu-core v0.11.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling gpu-descriptor v0.2.1 [INFO] [stderr] Compiling gpu-alloc v0.5.2 [INFO] [stderr] Compiling ash v0.33.3+1.2.191 [INFO] [stderr] Compiling wgpu-types v0.11.0 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling inplace_it v0.3.3 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling glow v0.11.0 [INFO] [stderr] Compiling arrayvec v0.7.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling profiling v1.0.3 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling xdg v2.4.0 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling wide v0.6.5 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling mio-misc v1.2.1 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling ultraviolet v0.8.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling pollster v0.2.4 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling naga v0.7.1 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wgpu-hal v0.11.3 [INFO] [stderr] Compiling wgpu v0.11.0 [INFO] [stderr] Compiling pixels v0.7.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling onewire v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `disable` [INFO] [stdout] --> src/view.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | #[cfg(disable)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(disable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(disable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/capture.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | Csv(csv::Error), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - Csv(csv::Error), [INFO] [stdout] 11 + Csv(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/capture.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | InvalidRecord(crate::sample::Error), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - InvalidRecord(crate::sample::Error), [INFO] [stdout] 13 + InvalidRecord(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sample.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | ParseFloat(ParseFloatError), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - ParseFloat(ParseFloatError), [INFO] [stdout] 10 + ParseFloat(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sample.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | OutOfBoundsTimestamp(f32), [INFO] [stdout] | -------------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - OutOfBoundsTimestamp(f32), [INFO] [stdout] 11 + OutOfBoundsTimestamp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sample.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | OutOfBoundsVoltage(f32), [INFO] [stdout] | ------------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 - OutOfBoundsVoltage(f32), [INFO] [stdout] 12 + OutOfBoundsVoltage(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/capture.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn slots<'a>(&'a self) -> Slots> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^--^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 53 | pub fn slots<'a>(&'a self) -> Slots<'a, core::slice::Iter<'a, Sample>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/capture.rs:59:35 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn bytes<'a>(&'a self) -> Bytes> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^--^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 59 | pub fn bytes<'a>(&'a self) -> Bytes<'a, core::slice::Iter<'a, Sample>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s [INFO] running `Command { std: "docker" "inspect" "0385a586474cb9089938cce92204b79d8e09c5a017a8647340924c35494c6350", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0385a586474cb9089938cce92204b79d8e09c5a017a8647340924c35494c6350", kill_on_drop: false }` [INFO] [stdout] 0385a586474cb9089938cce92204b79d8e09c5a017a8647340924c35494c6350 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be08b197203a5c1ae0977dd70e0389b0fb075ebf4d8ee03006686cd06aa204b3 [INFO] running `Command { std: "docker" "start" "-a" "be08b197203a5c1ae0977dd70e0389b0fb075ebf4d8ee03006686cd06aa204b3", kill_on_drop: false }` [INFO] [stderr] Compiling onewire v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `disable` [INFO] [stdout] --> src/view.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | #[cfg(disable)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(disable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(disable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/capture.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | Csv(csv::Error), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - Csv(csv::Error), [INFO] [stdout] 11 + Csv(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/capture.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | InvalidRecord(crate::sample::Error), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - InvalidRecord(crate::sample::Error), [INFO] [stdout] 13 + InvalidRecord(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sample.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | ParseFloat(ParseFloatError), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - ParseFloat(ParseFloatError), [INFO] [stdout] 10 + ParseFloat(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sample.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | OutOfBoundsTimestamp(f32), [INFO] [stdout] | -------------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - OutOfBoundsTimestamp(f32), [INFO] [stdout] 11 + OutOfBoundsTimestamp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sample.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | OutOfBoundsVoltage(f32), [INFO] [stdout] | ------------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 - OutOfBoundsVoltage(f32), [INFO] [stdout] 12 + OutOfBoundsVoltage(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/capture.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn slots<'a>(&'a self) -> Slots> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^--^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 53 | pub fn slots<'a>(&'a self) -> Slots<'a, core::slice::Iter<'a, Sample>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/capture.rs:59:35 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn bytes<'a>(&'a self) -> Bytes> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^--^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 59 | pub fn bytes<'a>(&'a self) -> Bytes<'a, core::slice::Iter<'a, Sample>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.49s [INFO] running `Command { std: "docker" "inspect" "be08b197203a5c1ae0977dd70e0389b0fb075ebf4d8ee03006686cd06aa204b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be08b197203a5c1ae0977dd70e0389b0fb075ebf4d8ee03006686cd06aa204b3", kill_on_drop: false }` [INFO] [stdout] be08b197203a5c1ae0977dd70e0389b0fb075ebf4d8ee03006686cd06aa204b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4cffaf6cee4e0db8e2a0580dd5b6c984bad79cb6dce9e2e1b05aefbbbaf3206d [INFO] running `Command { std: "docker" "start" "-a" "4cffaf6cee4e0db8e2a0580dd5b6c984bad79cb6dce9e2e1b05aefbbbaf3206d", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `disable` [INFO] [stderr] --> src/view.rs:65:11 [INFO] [stderr] | [INFO] [stderr] 65 | #[cfg(disable)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(disable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(disable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/capture.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | Csv(csv::Error), [INFO] [stderr] | --- ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 11 - Csv(csv::Error), [INFO] [stderr] 11 + Csv(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/capture.rs:13:19 [INFO] [stderr] | [INFO] [stderr] 13 | InvalidRecord(crate::sample::Error), [INFO] [stderr] | ------------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 13 - InvalidRecord(crate::sample::Error), [INFO] [stderr] 13 + InvalidRecord(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/sample.rs:10:16 [INFO] [stderr] | [INFO] [stderr] 10 | ParseFloat(ParseFloatError), [INFO] [stderr] | ---------- ^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 10 - ParseFloat(ParseFloatError), [INFO] [stderr] 10 + ParseFloat(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/sample.rs:11:26 [INFO] [stderr] | [INFO] [stderr] 11 | OutOfBoundsTimestamp(f32), [INFO] [stderr] | -------------------- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 11 - OutOfBoundsTimestamp(f32), [INFO] [stderr] 11 + OutOfBoundsTimestamp(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/sample.rs:12:24 [INFO] [stderr] | [INFO] [stderr] 12 | OutOfBoundsVoltage(f32), [INFO] [stderr] | ------------------ ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 12 - OutOfBoundsVoltage(f32), [INFO] [stderr] 12 + OutOfBoundsVoltage(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/capture.rs:53:35 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn slots<'a>(&'a self) -> Slots> { [INFO] [stderr] | -- ^^^^^^^^^^^^^^^^^^^^^^^^--^^^^^^^^^^ [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is named here [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 53 | pub fn slots<'a>(&'a self) -> Slots<'a, core::slice::Iter<'a, Sample>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/capture.rs:59:35 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn bytes<'a>(&'a self) -> Bytes> { [INFO] [stderr] | -- ^^^^^^^^^^^^^^^^^^^^^^^^--^^^^^^^^^^ [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is named here [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 59 | pub fn bytes<'a>(&'a self) -> Bytes<'a, core::slice::Iter<'a, Sample>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `onewire` (bin "onewire" test) generated 8 warnings (run `cargo fix --bin "onewire" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/onewire-6288cd82aa6a1e77) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test graphics::point::draw_alpha ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4cffaf6cee4e0db8e2a0580dd5b6c984bad79cb6dce9e2e1b05aefbbbaf3206d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cffaf6cee4e0db8e2a0580dd5b6c984bad79cb6dce9e2e1b05aefbbbaf3206d", kill_on_drop: false }` [INFO] [stdout] 4cffaf6cee4e0db8e2a0580dd5b6c984bad79cb6dce9e2e1b05aefbbbaf3206d