[INFO] fetching crate ads111x 0.1.0... [INFO] documenting ads111x-0.1.0 against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] extracting crate ads111x 0.1.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate ads111x 0.1.0 on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ads111x 0.1.0 [INFO] finished tweaking crates.io crate ads111x 0.1.0 [INFO] tweaked toml for crates.io crate ads111x 0.1.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aececf9124e97ffa470689ac6de0c41aa0445a82d5d1c08d5062fb1c0bb04f4f [INFO] running `Command { std: "docker" "start" "-a" "aececf9124e97ffa470689ac6de0c41aa0445a82d5d1c08d5062fb1c0bb04f4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aececf9124e97ffa470689ac6de0c41aa0445a82d5d1c08d5062fb1c0bb04f4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aececf9124e97ffa470689ac6de0c41aa0445a82d5d1c08d5062fb1c0bb04f4f", kill_on_drop: false }` [INFO] [stdout] aececf9124e97ffa470689ac6de0c41aa0445a82d5d1c08d5062fb1c0bb04f4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "RUSTDOCFLAGS=--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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a802abfe90fe80aa46b41d7ae5ade0a56cafbb1d0eeabbcbb9905191b69db314 [INFO] running `Command { std: "docker" "start" "-a" "a802abfe90fe80aa46b41d7ae5ade0a56cafbb1d0eeabbcbb9905191b69db314", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling semver v1.0.9 [INFO] [stderr] Compiling camino v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling pulldown-cmark v0.9.1 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Compiling skeptic v0.13.7 [INFO] [stderr] Compiling i2cdev v0.3.2 [INFO] [stderr] Checking ads111x v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Documenting ads111x v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `AIN0_AIN1` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:16:2 [INFO] [stdout] | [INFO] [stdout] 16 | AIN0_AIN1 = 0b000, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Ain0Ain1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AIN0_AIN1` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:16:2 [INFO] [stdout] | [INFO] [stdout] 16 | AIN0_AIN1 = 0b000, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Ain0Ain1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AIN0_AIN3` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:17:2 [INFO] [stdout] | [INFO] [stdout] 17 | AIN0_AIN3 = 0b001, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Ain0Ain3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AIN1_AIN3` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:18:2 [INFO] [stdout] | [INFO] [stdout] 18 | AIN1_AIN3 = 0b010, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Ain1Ain3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AIN2_AIN3` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 19 | AIN2_AIN3 = 0b011, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Ain2Ain3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AIN0_GND` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 20 | AIN0_GND = 0b100, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Ain0Gnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AIN1_GND` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:21:2 [INFO] [stdout] | [INFO] [stdout] 21 | AIN1_GND = 0b101, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Ain1Gnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AIN2_GND` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:22:2 [INFO] [stdout] | [INFO] [stdout] 22 | AIN2_GND = 0b110, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Ain2Gnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AIN3_GND` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:23:2 [INFO] [stdout] | [INFO] [stdout] 23 | AIN3_GND = 0b111, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Ain3Gnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FS_6_144V` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:29:2 [INFO] [stdout] | [INFO] [stdout] 29 | FS_6_144V = 0b000, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Fs6_144v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FS_4_096V` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:30:2 [INFO] [stdout] | [INFO] [stdout] 30 | FS_4_096V = 0b001, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Fs4_096v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FS_2_048V` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:31:2 [INFO] [stdout] | [INFO] [stdout] 31 | FS_2_048V = 0b010, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Fs2_048v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FS_1_024V` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:32:2 [INFO] [stdout] | [INFO] [stdout] 32 | FS_1_024V = 0b011, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Fs1_024v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FS_0_512V` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:33:2 [INFO] [stdout] | [INFO] [stdout] 33 | FS_0_512V = 0b100, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Fs0_512v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FS_0_256V` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:34:2 [INFO] [stdout] | [INFO] [stdout] 34 | FS_0_256V = 0b101, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Fs0_256v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DR_8SPS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:45:2 [INFO] [stdout] | [INFO] [stdout] 45 | DR_8SPS = 0b000, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Dr8sps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DR_16SPS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:46:2 [INFO] [stdout] | [INFO] [stdout] 46 | DR_16SPS = 0b001, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Dr16sps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DR_32SPS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:47:2 [INFO] [stdout] | [INFO] [stdout] 47 | DR_32SPS = 0b010, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Dr32sps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DR_64SPS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:48:2 [INFO] [stdout] | [INFO] [stdout] 48 | DR_64SPS = 0b011, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Dr64sps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DR_128SPS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:49:2 [INFO] [stdout] | [INFO] [stdout] 49 | DR_128SPS = 0b100, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Dr128sps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DR_250SPS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:50:2 [INFO] [stdout] | [INFO] [stdout] 50 | DR_250SPS = 0b101, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Dr250sps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DR_475SPS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:51:2 [INFO] [stdout] | [INFO] [stdout] 51 | DR_475SPS = 0b110, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Dr475sps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DR_860SPS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:52:2 [INFO] [stdout] | [INFO] [stdout] 52 | DR_860SPS = 0b111, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Dr860sps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AIN0_AIN3` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:17:2 [INFO] [stdout] | [INFO] [stdout] 17 | AIN0_AIN3 = 0b001, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Ain0Ain3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AIN1_AIN3` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:18:2 [INFO] [stdout] | [INFO] [stdout] 18 | AIN1_AIN3 = 0b010, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Ain1Ain3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AIN2_AIN3` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 19 | AIN2_AIN3 = 0b011, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Ain2Ain3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AIN0_GND` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 20 | AIN0_GND = 0b100, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Ain0Gnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AIN1_GND` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:21:2 [INFO] [stdout] | [INFO] [stdout] 21 | AIN1_GND = 0b101, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Ain1Gnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AIN2_GND` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:22:2 [INFO] [stdout] | [INFO] [stdout] 22 | AIN2_GND = 0b110, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Ain2Gnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AIN3_GND` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:23:2 [INFO] [stdout] | [INFO] [stdout] 23 | AIN3_GND = 0b111, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Ain3Gnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FS_6_144V` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:29:2 [INFO] [stdout] | [INFO] [stdout] 29 | FS_6_144V = 0b000, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Fs6_144v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FS_4_096V` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:30:2 [INFO] [stdout] | [INFO] [stdout] 30 | FS_4_096V = 0b001, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Fs4_096v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FS_2_048V` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:31:2 [INFO] [stdout] | [INFO] [stdout] 31 | FS_2_048V = 0b010, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Fs2_048v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FS_1_024V` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:32:2 [INFO] [stdout] | [INFO] [stdout] 32 | FS_1_024V = 0b011, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Fs1_024v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FS_0_512V` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:33:2 [INFO] [stdout] | [INFO] [stdout] 33 | FS_0_512V = 0b100, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Fs0_512v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FS_0_256V` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:34:2 [INFO] [stdout] | [INFO] [stdout] 34 | FS_0_256V = 0b101, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Fs0_256v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DR_8SPS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:45:2 [INFO] [stdout] | [INFO] [stdout] 45 | DR_8SPS = 0b000, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Dr8sps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DR_16SPS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:46:2 [INFO] [stdout] | [INFO] [stdout] 46 | DR_16SPS = 0b001, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Dr16sps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DR_32SPS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:47:2 [INFO] [stdout] | [INFO] [stdout] 47 | DR_32SPS = 0b010, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Dr32sps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DR_64SPS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:48:2 [INFO] [stdout] | [INFO] [stdout] 48 | DR_64SPS = 0b011, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Dr64sps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DR_128SPS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:49:2 [INFO] [stdout] | [INFO] [stdout] 49 | DR_128SPS = 0b100, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Dr128sps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DR_250SPS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:50:2 [INFO] [stdout] | [INFO] [stdout] 50 | DR_250SPS = 0b101, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Dr250sps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DR_475SPS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:51:2 [INFO] [stdout] | [INFO] [stdout] 51 | DR_475SPS = 0b110, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Dr475sps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DR_860SPS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:52:2 [INFO] [stdout] | [INFO] [stdout] 52 | DR_860SPS = 0b111, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Dr860sps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:94:3 [INFO] [stdout] | [INFO] [stdout] 94 | try!(ads111x.input_config()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:99:3 [INFO] [stdout] | [INFO] [stdout] 99 | try!(self.device.smbus_write_word_data(ADS111X_CONFIG_REGISTER, self.config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:105:3 [INFO] [stdout] | [INFO] [stdout] 105 | try!(self.device.write(&[ADS111X_CONVERSION_REGISTER])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:106:3 [INFO] [stdout] | [INFO] [stdout] 106 | try!(self.device.read(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | try!(self.input_config()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let raw = try!(self.read_conversion_register()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.06s [INFO] running `Command { std: "docker" "inspect" "a802abfe90fe80aa46b41d7ae5ade0a56cafbb1d0eeabbcbb9905191b69db314", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a802abfe90fe80aa46b41d7ae5ade0a56cafbb1d0eeabbcbb9905191b69db314", kill_on_drop: false }` [INFO] [stdout] a802abfe90fe80aa46b41d7ae5ade0a56cafbb1d0eeabbcbb9905191b69db314 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "RUSTC_BOOTSTRAP=1" "-e" "DOCS_RS=1" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "rustdoc" "--lib" "-Zrustdoc-map" "--frozen" "--message-format=json" "--" "-Z" "unstable-options" "--document-private-items", kill_on_drop: false }` [INFO] [stdout] fcc19ae8ea6f3813fb5572644281a6d908a1cd16ec49fca8115d1614ebaa2e90 [INFO] running `Command { std: "docker" "start" "-a" "fcc19ae8ea6f3813fb5572644281a6d908a1cd16ec49fca8115d1614ebaa2e90", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling semver v1.0.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling camino v1.0.9 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling pulldown-cmark v0.9.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Compiling skeptic v0.13.7 [INFO] [stderr] Compiling i2cdev v0.3.2 [INFO] [stderr] Documenting ads111x v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.78s [INFO] [stdout] warning: variant `AIN0_AIN1` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:16:2 [INFO] [stdout] | [INFO] [stdout] 16 | AIN0_AIN1 = 0b000, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Ain0Ain1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AIN0_AIN3` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:17:2 [INFO] [stdout] | [INFO] [stdout] 17 | AIN0_AIN3 = 0b001, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Ain0Ain3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AIN1_AIN3` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:18:2 [INFO] [stdout] | [INFO] [stdout] 18 | AIN1_AIN3 = 0b010, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Ain1Ain3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AIN2_AIN3` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 19 | AIN2_AIN3 = 0b011, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Ain2Ain3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AIN0_GND` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 20 | AIN0_GND = 0b100, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Ain0Gnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AIN1_GND` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:21:2 [INFO] [stdout] | [INFO] [stdout] 21 | AIN1_GND = 0b101, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Ain1Gnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AIN2_GND` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:22:2 [INFO] [stdout] | [INFO] [stdout] 22 | AIN2_GND = 0b110, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Ain2Gnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AIN3_GND` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:23:2 [INFO] [stdout] | [INFO] [stdout] 23 | AIN3_GND = 0b111, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Ain3Gnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FS_6_144V` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:29:2 [INFO] [stdout] | [INFO] [stdout] 29 | FS_6_144V = 0b000, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Fs6_144v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FS_4_096V` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:30:2 [INFO] [stdout] | [INFO] [stdout] 30 | FS_4_096V = 0b001, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Fs4_096v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FS_2_048V` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:31:2 [INFO] [stdout] | [INFO] [stdout] 31 | FS_2_048V = 0b010, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Fs2_048v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FS_1_024V` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:32:2 [INFO] [stdout] | [INFO] [stdout] 32 | FS_1_024V = 0b011, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Fs1_024v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FS_0_512V` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:33:2 [INFO] [stdout] | [INFO] [stdout] 33 | FS_0_512V = 0b100, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Fs0_512v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FS_0_256V` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:34:2 [INFO] [stdout] | [INFO] [stdout] 34 | FS_0_256V = 0b101, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Fs0_256v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DR_8SPS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:45:2 [INFO] [stdout] | [INFO] [stdout] 45 | DR_8SPS = 0b000, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Dr8sps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DR_16SPS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:46:2 [INFO] [stdout] | [INFO] [stdout] 46 | DR_16SPS = 0b001, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Dr16sps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DR_32SPS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:47:2 [INFO] [stdout] | [INFO] [stdout] 47 | DR_32SPS = 0b010, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Dr32sps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DR_64SPS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:48:2 [INFO] [stdout] | [INFO] [stdout] 48 | DR_64SPS = 0b011, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Dr64sps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DR_128SPS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:49:2 [INFO] [stdout] | [INFO] [stdout] 49 | DR_128SPS = 0b100, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Dr128sps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DR_250SPS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:50:2 [INFO] [stdout] | [INFO] [stdout] 50 | DR_250SPS = 0b101, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Dr250sps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DR_475SPS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:51:2 [INFO] [stdout] | [INFO] [stdout] 51 | DR_475SPS = 0b110, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Dr475sps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DR_860SPS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:52:2 [INFO] [stdout] | [INFO] [stdout] 52 | DR_860SPS = 0b111, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Dr860sps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fcc19ae8ea6f3813fb5572644281a6d908a1cd16ec49fca8115d1614ebaa2e90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcc19ae8ea6f3813fb5572644281a6d908a1cd16ec49fca8115d1614ebaa2e90", kill_on_drop: false }` [INFO] [stdout] fcc19ae8ea6f3813fb5572644281a6d908a1cd16ec49fca8115d1614ebaa2e90