[INFO] fetching crate smartcast 0.1.1... [INFO] testing smartcast-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate smartcast 0.1.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate smartcast 0.1.1 [INFO] finished tweaking crates.io crate smartcast 0.1.1 [INFO] tweaked toml for crates.io crate smartcast 0.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate smartcast 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 235 packages to latest compatible versions [INFO] [stderr] Adding http v0.2.12 (available: v1.3.1) [INFO] [stderr] Adding indoc v1.0.9 (available: v2.0.6) [INFO] [stderr] Adding pretty_env_logger v0.4.0 (available: v0.5.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rcgen v0.8.14 (available: v0.14.5) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] [stderr] Adding serde-xml-rs v0.4.1 (available: v0.8.1) [INFO] [stderr] Adding warp v0.3.7 (available: v0.4.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded multer v2.1.0 [INFO] [stderr] Downloaded yasna v0.4.0 [INFO] [stderr] Downloaded indoc v1.0.9 [INFO] [stderr] Downloaded serde-xml-rs v0.4.1 [INFO] [stderr] Downloaded rcgen v0.8.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e0557b2b22f6ce4296ad546099475e7966acf8cc44615d9e5d6eab44164fe9c [INFO] running `Command { std: "docker" "start" "-a" "0e0557b2b22f6ce4296ad546099475e7966acf8cc44615d9e5d6eab44164fe9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e0557b2b22f6ce4296ad546099475e7966acf8cc44615d9e5d6eab44164fe9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e0557b2b22f6ce4296ad546099475e7966acf8cc44615d9e5d6eab44164fe9c", kill_on_drop: false }` [INFO] [stdout] 0e0557b2b22f6ce4296ad546099475e7966acf8cc44615d9e5d6eab44164fe9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d27e7bc479df255c00e94e28758f3bc72f1645d7aaf343e5411e2a5d14e4ab1 [INFO] running `Command { std: "docker" "start" "-a" "8d27e7bc479df255c00e94e28758f3bc72f1645d7aaf343e5411e2a5d14e4ab1", kill_on_drop: false }` [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde-xml-rs v0.4.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling smartcast v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/device/apps.rs:153:68 [INFO] [stdout] | [INFO] [stdout] 153 | self.apps = apps.iter_mut().fold(HashMap::new(), |mut map, mut app| { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `chipset` is never read [INFO] [stdout] --> src/device/info.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DeviceInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub(super) chipset: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeviceInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.60s [INFO] running `Command { std: "docker" "inspect" "8d27e7bc479df255c00e94e28758f3bc72f1645d7aaf343e5411e2a5d14e4ab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d27e7bc479df255c00e94e28758f3bc72f1645d7aaf343e5411e2a5d14e4ab1", kill_on_drop: false }` [INFO] [stdout] 8d27e7bc479df255c00e94e28758f3bc72f1645d7aaf343e5411e2a5d14e4ab1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9a0aeebdfa5b227263b7d9ab4eaca1462f05d835c195a8e5f4978d07371e239 [INFO] running `Command { std: "docker" "start" "-a" "d9a0aeebdfa5b227263b7d9ab4eaca1462f05d835c195a8e5f4978d07371e239", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling yasna v0.4.0 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/device/apps.rs:153:68 [INFO] [stdout] | [INFO] [stdout] 153 | self.apps = apps.iter_mut().fold(HashMap::new(), |mut map, mut app| { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `chipset` is never read [INFO] [stdout] --> src/device/info.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DeviceInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub(super) chipset: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeviceInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling rcgen v0.8.14 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling warp v0.3.7 [INFO] [stderr] Compiling smartcast v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `LIST_LEN` and `expected_slider_info` [INFO] [stdout] --> tests/support/mod.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | pub use simulated_device::{expected_slider_info, CodeSet, DeviceType, PortOption, LIST_LEN}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LIST_LEN` and `expected_slider_info` [INFO] [stdout] --> tests/support/mod.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | pub use simulated_device::{expected_slider_info, CodeSet, DeviceType, PortOption, LIST_LEN}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/device/apps.rs:153:68 [INFO] [stdout] | [INFO] [stdout] 153 | self.apps = apps.iter_mut().fold(HashMap::new(), |mut map, mut app| { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `settings_root` and `chipset` are never read [INFO] [stdout] --> src/device/info.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DeviceInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub(super) settings_root: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 18 | /// Device's chipset version [INFO] [stdout] 19 | pub(super) chipset: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeviceInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a method [INFO] [stdout] --> src/device/mod.rs:699:5 [INFO] [stdout] | [INFO] [stdout] 699 | pub fn manufacturer(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `smartcast` (lib test) due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "d9a0aeebdfa5b227263b7d9ab4eaca1462f05d835c195a8e5f4978d07371e239", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9a0aeebdfa5b227263b7d9ab4eaca1462f05d835c195a8e5f4978d07371e239", kill_on_drop: false }` [INFO] [stdout] d9a0aeebdfa5b227263b7d9ab4eaca1462f05d835c195a8e5f4978d07371e239